Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into firstaid
  • Loading branch information
AMcilraith committed Nov 23, 2024
2 parents 1798b17 + ad6f990 commit bf56cff
Show file tree
Hide file tree
Showing 144 changed files with 1,229 additions and 295 deletions.
7 changes: 7 additions & 0 deletions code/__DEFINES/genetics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,18 @@
#define MUTATION_CAT_EYES /datum/genetics/mutation/cat_eyes
#define MUTATION_REGENERATION /datum/genetics/mutation/hyperion
#define MUTATION_RAD_PROTECTION /datum/genetics/mutation/rad_protection
#define MUTATION_PUNCH /datum/genetics/mutation/punch
//Blood Increasers
#define MUTATION_BLOOD_BANK /datum/genetics/mutation/blood_bank
#define MUTATION_BLOOD_RIVER /datum/genetics/mutation/blood_river
#define MUTATION_BLOOD_LAKE /datum/genetics/mutation/blood_lake
#define MUTATION_BLOOD_SEA /datum/genetics/mutation/blood_sea
#define MUTATION_BLOOD_TEMPLE /datum/genetics/mutation/blood_temple
#define MUTATION_VAMPIRE /datum/genetics/mutation/vampire
//Genes that directly decrease instability
#define MUTATION_GENE_MENDING /datum/genetics/mutation/gene_mending
#define MUTATION_GENE_MENDING_H /datum/genetics/mutation/gene_mending_h
#define MUTATION_GENE_MENDING_R /datum/genetics/mutation/gene_mending_r

#define MUTATION_SEASONED_MIND /datum/genetics/mutation/seasoned_mind
#define MUTATION_SHOCK_LESS /datum/genetics/mutation/shock_less
Expand All @@ -76,6 +81,7 @@
#define MUTATION_NO_BREATHE /datum/genetics/mutation/disability/nobreathe
#define MUTATION_HULK /datum/genetics/mutation/disability/hulk
#define MUTATION_FRIENDLY /datum/genetics/mutation/friendly
#define MUTATION_MINER_SIGHT /datum/genetics/mutation/miner_sight
//^^^ All mutations!


Expand Down Expand Up @@ -118,6 +124,7 @@
#define SHOCK_LESS 13
#define VAMPIRE 14
#define PAIN_LESS 15
#define MINING 16


//Thresholds for mutagenic Destabilization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@
#define GUN_UPGRADE_DAMAGE_CLONE "clone_damage"
#define GUN_UPGRADE_DAMAGE_HALLOSS "hallucination_damage"
#define GUN_UPGRADE_DAMAGE_RADIATION "radiation_damage"
#define GUN_UPGRADE_MELEEDAMAGE "melee_damage"
#define GUN_UPGRADE_MELEEPENETRATION "melee_penetration"
#define GUN_UPGRADE_MELEE_DAMAGE_ADDITIVE "melee_damage_additive"

#define GUN_UPGRADE_OFFSET "offset" //Constant offset, in degrees
#define GUN_UPGRADE_ZOOM "zoom"
Expand All @@ -90,6 +93,7 @@
#define GUN_UPGRADE_AUTOEJECT "autoeject"
#define GUN_UPGRADE_CELLMINUS "small cell adapter"
#define GUN_UPGRADE_THERMAL "thermal scope"
#define GUN_UPGRADE_BAYONET "bayonet"
#define GUN_UPGRADE_DNALOCK "biocoded"
#define GUN_UPGRADE_FOREGRIP "foregrip"
#define GUN_UPGRADE_BIPOD "bipod"
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/perks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
#define PERK_NO_OBFUSCATION /datum/perk/no_obfuscation //isekai perk?
#define PERK_BLOOD_LUST /datum/perk/blood_lust
#define PERK_NATURAL_STYLE /datum/perk/natural_style
#define PERK_MAP_MAKER /datum/perk/map_maker

#define PERK_REZ_SICKNESS /datum/perk/rezsickness
#define PERK_REZ_SICKNESS_SEVERE /datum/perk/rezsickness/severe
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/projectile_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@
#define SLOT_UNDERBARREL "underbarrel"
#define SLOT_MECHANICS "mechanics"
#define SLOT_MAGWELL "magwell"

3 changes: 3 additions & 0 deletions code/_onclick/hud/screen_objects/base_screen_objects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
icon_state = "actionA"
screen_loc = "8,1:13"
var/minloc = "7,2:13"
var/ErisOptimized_minloc
layer = ABOVE_HUD_LAYER
plane = ABOVE_HUD_PLANE

Expand All @@ -162,6 +163,8 @@
if(M.client && M.get_active_hand() == owner)
if(M.client.prefs.UI_compact_style)
screen_loc = minloc
if(M.defaultHUD == "ErisOptimized" && ErisOptimized_minloc)
screen_loc = ErisOptimized_minloc
else
screen_loc = initial(screen_loc)

Expand Down
4 changes: 4 additions & 0 deletions code/datums/autolathe/guns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@
name = "NM 7.62x39mm \"Copperhead\" rifle"
build_path = /obj/item/gun/projectile/automatic/mamba/copperhead

/datum/design/autolathe/gun/viper
name = "NM 7.62x39mm \"Viper\" DMR"
build_path = /obj/item/gun/projectile/automatic/mamba/viper

/datum/design/autolathe/gun/python
name = "NM 7.62x39mm \"Python\" heavy sniper"
build_path = /obj/item/gun/projectile/automatic/mamba/python
Expand Down
112 changes: 112 additions & 0 deletions code/datums/datum_hud_alt.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/datum/hud/human/optimized
name = "ErisOptimized"
icon = 'icons/mob/screen/ErisStyleHolo.dmi'
//Xbags, Ybags for space_orient_objs
//Others for slot_orient_objs
MinStyleFlag = TRUE //We *are* the optimized verson
StorageData = list(
"Xspace" = 4.5*32, //in pixels
"Yspace" = 1.5*32, //in pixels
"ColCount" = 7,
)


HUDoverlays = list(
"flash" = list("type" = /obj/screen/full_1_tile_overlay, "loc" = "WEST,SOUTH-1 to EAST+1,NORTH", "minloc" = "WEST,SOUTH to EAST,NORTH", "icon_state" = "blank"),
"pain" = list("type" = /obj/screen/full_1_tile_overlay, "loc" = "WEST,SOUTH-1 to EAST+1,NORTH", "minloc" = "WEST,SOUTH to EAST,NORTH", "icon_state" = "blank"),
"drugeffect" = list("type" = /obj/screen/drugoverlay, "loc" = "WEST,SOUTH-1 to EAST+1,NORTH", "minloc" = "WEST,SOUTH to EAST,NORTH", "icon_state" = "blank"),

"damageoverlay" = list("type" = /obj/screen/damageoverlay, "loc" = "1,1:-32", "icon" = 'icons/mob/screen1_full.dmi'),
"glassesoverlay" = list("type" = /obj/screen/glasses_overlay, "loc" = "1,1:-32", "icon_state" = "blank"),
)

/* !!!! IF YOU WANT TO ADD A VERB TO THIS - ADD ITS NAME TO code\modules\mob\living\carbon\human\species\species_hud.dm
PLEASE DON'T REPEAT MY MISTAKES, I'VE WASTED HOURS OF MY LIFE ON THIS - Kegdo 2022*/
HUDneed = list(
//status
"nutrition" = list("type" = /obj/screen/nutrition, "loc" = "EAST+1,4.6", "background" = "back17"),
"neural system accumulation" = list("type" = /obj/screen/nsa, "loc" = "EAST+1,5", "background" = "back17"),
"body temperature" = list("type" = /obj/screen/bodytemp, "loc" = "EAST+1,5.4", "background" = "back17"),
"health" = list("type" = /obj/screen/health, "loc" = "EAST+1,5.8", "background" = "back1"),
"sanity" = list("type" = /obj/screen/sanity, "loc" = "EAST+1,6.8", "background" = "back1"),
"oxygen" = list("type" = /obj/screen/oxygen, "loc" = "EAST+1:1,7.8", "background" = "back18"),
"fire" = list("type" = /obj/screen/fire, "loc" = "16.46:1,7.8", "background" = "back18"),
"pressure" = list("type" = /obj/screen/pressure, "loc" = "16:1,8.27", "background" = "back18"),
"toxin" = list("type" = /obj/screen/toxin, "loc" = "16.46:1,8.27", "background" = "back18"),
"internal" = list("type" = /obj/screen/internal, "loc" = "16,8.75", "background" = "back15"),
//corner buttons
//"jump" = list("type" = /obj/screen/jump, "loc" = "EAST+1,BOTTOM+1:-6", "minloc" = "RIGHT,3:-6", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back17-1"),
"look up" = list("type" = /obj/screen/look_up, "loc" = "16,2.83", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back17-1"),
"throw" = list("type" = /obj/screen/HUDthrow, "loc" = "16,1.35", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back17-1"),
"pull" = list("type" = /obj/screen/pull, "loc" = "16,2.47", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back17-1"),
"drop" = list("type" = /obj/screen/drop, "loc" = "16,0.96", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back17-1"),
"resist" = list("type" = /obj/screen/resist, "loc" = "16,2.1", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back17-1"),
"rest" = list("type" = /obj/screen/rest, "loc" = "16,3.22", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back17-1"),
"block" = list("type" = /obj/screen/block, "loc" = "16,1.71", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back17-1"),
"move intent" = list("type" = /obj/screen/mov_intent, "loc" = "EAST,BOTTOM", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1"),
"implant bionics" = list("type" = /obj/screen/implant_bionics, "loc" = "EAST-2,BOTTOM-1", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back13"),
"craft menu" = list("type" = /obj/screen/craft_menu, "loc" = "EAST-2:16,BOTTOM", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back13"),
"wield" = list("type" = /obj/screen/wield, "loc" = "13,0", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back13"),
"intent" = list("type" = /obj/screen/intent, "loc" = "EAST-1,BOTTOM", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1"),
"damage zone" = list("type" = /obj/screen/zone_sel, "loc" = "EAST+1,BOTTOM", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1"),
//hand buttons
"equip" = list("type" = /obj/screen/equip, "loc" = "8,1", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back14-l"),
"swap hand" = list("type" = /obj/screen/swap, "loc" = "8,1", "hideflag" = TOGGLE_BOTTOM_FLAG),
"right arm bionics" = list("type" = /obj/screen/bionics/r_arm, "loc" = "7:19,1", "background" = "back16"),
"left arm bionics" = list("type" = /obj/screen/bionics/l_arm, "loc" = "10,1", "background" = "back16"),

"toggle inventory" = list("type" = /obj/screen/toggle_invetory, "loc" = "2,0", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1", "minloc" = "16,15"),
"action palette" = list("type" = /obj/screen/action_palette, "loc" = "16,9.25")
)

slot_data = list (
"Uniform" = list("loc" = "2,1", "state" = "center", "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1", "minloc" = "1,0"),
"Suit" = list("loc" = "3,1", "state" = "equip", "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1", "minloc" = "3,0"),
"Mask" = list("loc" = "3,2", "state" = "mask", "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1", "minloc" = "12,0"),
"Gloves" = list("loc" = "4,1", "state" = "gloves", "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1", "minloc" = "16,12"),
"Glasses" = list("loc" = "2,2", "state" = "glasses", "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1", "minloc" = "16,11"),
"Left Ear" = list("loc" = "4,2", "state" = "ears0", "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1", "minloc" = "16,14"),
"Right Ear" = list("loc" = "4,3", "state" = "ears1", "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1", "minloc" = "16,3.6"),
"Hat" = list("loc" = "3,3", "state" = "hair", "hideflag" = TOGGLE_INVENTORY_FLAG, "background" = "back1", "minloc" = "16,13"),
"Shoes" = list("loc" = "3,0", "state" = "shoes", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1", "minloc" = "2,0"),
"Suit Storage" = list("loc" = "4,0", "state" = "suit-belt","hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1"),
"Back" = list("loc" = "5,0", "state" = "back", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1", "minloc" = "6,0"),
"ID" = list("loc" = "11,0", "state" = "id", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1"),
"Left Pocket" = list("loc" = "10,0", "state" = "pocket_l", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1"),
"Right Pocket" = list("loc" = "7,0", "state" = "pocket_r", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1"),
"Belt" = list("loc" = "6,0", "state" = "belt", "hideflag" = TOGGLE_BOTTOM_FLAG, "background" = "back1", "minloc" = "5,0"),
"Left Hand" = list("loc" = "9,0", "state" = "hand-l", "hideflag" = TOGGLE_BOTTOM_FLAG, "type" = /obj/screen/inventory/hand, "background" = "back1"),
"Right Hand" = list("loc" = "8,0", "state" = "hand-r", "hideflag" = TOGGLE_BOTTOM_FLAG, "type" = /obj/screen/inventory/hand, "background" = "back1")
)

HUDfrippery = list(
list("loc" = "1,0", "icon_state" = "frame0-3", "hideflag" = TOGGLE_BOTTOM_FLAG),
list("loc" = "1,0", "icon_state" = "frame3-4", "hideflag" = TOGGLE_BOTTOM_FLAG),
list("loc" = "1,1", "icon_state" = "frame2-2", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "1,2", "icon_state" = "frame2-3", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "1,3", "icon_state" = "frame2-1", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "1,1", "icon_state" = "frame1-3", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "1,2", "icon_state" = "frame1-7", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "1,3", "icon_state" = "frame1-5", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "5,1", "icon_state" = "frame1-2", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "5,2", "icon_state" = "frame1-6", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "5,3", "icon_state" = "frame1-4", "hideflag" = TOGGLE_INVENTORY_FLAG),
list("loc" = "8,1:13", "icon_state" = "frame1-8", "hideflag" = TOGGLE_BOTTOM_FLAG),
list("loc" = "9,1:13", "icon_state" = "frame1-1", "hideflag" = TOGGLE_BOTTOM_FLAG),
list("loc" = "12,0", "icon_state" = "frame3-2", "hideflag" = TOGGLE_BOTTOM_FLAG),
list("loc" = "12,0", "icon_state" = "frame0-2", "hideflag" = TOGGLE_BOTTOM_FLAG),
list("loc" = "12,0", "icon_state" = "frame0-3", "hideflag" = TOGGLE_BOTTOM_FLAG),
list("loc" = "EAST+1,3.6", "icon_state" = "frame1-1"),
list("loc" = "EAST+1,3.6", "icon_state" = "frame3-3"),
list("loc" = "EAST+1,3.6", "icon_state" = "frame0-4"),
list("loc" = "16,10", "icon_state" = "frame3-1")
)
//list("loc" = "2,3", "icon_state" = "block", "hideflag" = TOGGLE_INVENTORY_FLAG),


/datum/hud/human/optimized/New()
..()

/datum/interface/ghost_Eris/optimized
mobtype = /mob/observer/ghost
styleName = "ErisOptimized"
2 changes: 1 addition & 1 deletion code/datums/outfits/jobs/ghostroles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

)

/decl/hierarchy/outfit/sri_ert
/decl/hierarchy/outfit/si_ert
name = "Ethics Committee investigator"
l_ear = /obj/item/device/radio/headset/heads/rd
mask = /obj/item/clothing/mask/gas
Expand Down
2 changes: 0 additions & 2 deletions code/datums/outfits/jobs/science.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
pda_slot = slot_r_store
id_type = /obj/item/card/id/dkgrey
pda_type = /obj/item/modular_computer/pda/science/roboticist
backpack_contents = list(/obj/item/hydrogen_fuel_cell = 1)
l_pocket = /obj/item/device/robotanalyzer

/decl/hierarchy/outfit/job/science/roboticist/New()
..()
Expand Down
Loading

0 comments on commit bf56cff

Please sign in to comment.