Skip to content

Commit

Permalink
Family Heirloom Tweaks (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
xPokee authored Apr 19, 2024
1 parent 2dac8b9 commit cf29e97
Showing 1 changed file with 10 additions and 41 deletions.
51 changes: 10 additions & 41 deletions code/datums/traits/negative.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,54 +59,23 @@ GLOBAL_LIST_EMPTY(family_heirlooms)
/datum/quirk/family_heirloom/on_spawn()
var/mob/living/carbon/human/H = quirk_holder
var/obj/item/heirloom_type
switch(quirk_holder.mind.assigned_role)
if("Scribe")
heirloom_type = pick(/obj/item/trash/f13/electronic/toaster, /obj/item/screwdriver/crude, /obj/item/toy/tragicthegarnering)
if("Knight")
heirloom_type = /obj/item/gun/ballistic/automatic/toy/pistol
if("BoS Off-Duty")
heirloom_type = /obj/item/toy/figure/borg
if("Sheriff")
heirloom_type = /obj/item/clothing/accessory/medal/silver
if("Deputy")
heirloom_type = /obj/item/clothing/accessory/medal/bronze_heart
if("Texarkana Trade Worker")
heirloom_type = /obj/item/coin/plasma
if("Town Doctor")
heirloom_type = pick(/obj/item/clothing/neck/stethoscope,/obj/item/toy/tragicthegarnering)
if("Senior Doctor")
heirloom_type = pick(/obj/item/toy/nuke, /obj/item/wrench/medical, /obj/item/clothing/neck/tie/horrible)
if("Prime Legionnaire")
heirloom_type = pick(/obj/item/melee/onehanded/machete, /obj/item/melee/onehanded/club/warclub, /obj/item/clothing/accessory/talisman, /obj/item/toy/plush/mr_buckety)
if("Recruit Legionnaire")
heirloom_type = pick(/obj/item/melee/onehanded/machete, /obj/item/melee/onehanded/club/warclub, /obj/item/clothing/accessory/talisman,/obj/item/clothing/accessory/skullcodpiece/fake)
if("Den Mob Boss")
heirloom_type = /obj/item/lighter/gold
if("Den Doctor")
heirloom_type = /obj/item/card/id/dogtag/MDfakepermit
if("Farmer")
heirloom_type = pick(/obj/item/hatchet, /obj/item/shovel/spade, /obj/item/toy/plush/beeplushie)
if("Janitor")
heirloom_type = /obj/item/mop
if("Security Officer")
heirloom_type = /obj/item/clothing/accessory/medal/silver/valor
if("Scientist")
heirloom_type = /obj/item/toy/plush/slimeplushie
if("Assistant")
heirloom_type = /obj/item/clothing/gloves/cut/family
if("Chaplain")
heirloom_type = /obj/item/camera/spooky/family
if("Captain")
heirloom_type = /obj/item/clothing/accessory/medal/gold/captain/family
if(quirk_holder.mind.assigned_role)
if(quirk_holder.mind.assigned_role in list("Head Paladin", "Paladin", "Head Knight", "Senior Knight", "Knight", "Senior Scribe", "Scribe", "Initiate"))
heirloom_type = pick(/obj/item/card/id/rusted/brokenholodog, /obj/item/trash/f13/electronic/toaster)
if(quirk_holder.mind.assigned_role in list("NCR Captain", "NCR Lieutenant", "NCR Veteran Ranger", "NCR Brahmin Baron", "NCR Ranger", "NCR Heavy Trooper", "NCR Sergeant", "NCR Corporal", "NCR Conscript ", "NCR Trooper", "NCR Military Police", "NCR Rear Echelon"))
heirloom_type = pick(/obj/item/melee/onehanded/knife/bayonet, /obj/item/lighter, /obj/item/toy/cards/deck, /obj/item/card/id/rusted)
if(quirk_holder.mind.assigned_role in list("Legion Centurion", "Legion Orator", "Legion Veteran Decanus", "Legion Prime Decanus", "Legion Recruit Decanus", "Legion Vexillarius", "Legion Explorer", "Veteran Legionnaire", "Prime Legionnaire", "Recruit Legionnaire", "Legion Slavemaster"))
heirloom_type = pick(/obj/item/melee/onehanded/machete, /obj/item/melee/onehanded/club/warclub, /obj/item/card/id/rusted/rustedmedallion, /obj/item/clothing/accessory/talisman,/obj/item/clothing/accessory/skullcodpiece/fake, /obj/item/warpaint_bowl)
if(!heirloom_type)
heirloom_type = pick(
/obj/item/toy/cards/deck,
/obj/item/lighter,
/obj/item/card/id/rusted,
/obj/item/card/id/rusted/fadedvaultid,
/obj/item/card/id/rusted/rustedmedallion,
/obj/item/card/id/rusted/brokenholodog,
/obj/item/card/id/rusted/brokenholodog/enclave,
/obj/item/clothing/gloves/ring/silver,
/obj/item/toy/figure/detective,
/obj/item/toy/tragicthegarnering,
)
heirloom = new heirloom_type(get_turf(quirk_holder))
GLOB.family_heirlooms += heirloom
Expand Down

0 comments on commit cf29e97

Please sign in to comment.