Move heirloom lists to relevant files
Port of the current TG heirloom system. Heirlooms are now stored in job_types and species_types instead of a global list. Items used as heirlooms match their modern TG counterparts when possible. Also fixes the ancient first aid kit, which is used for a heirloom.
This commit is contained in:
@@ -231,6 +231,9 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
|
||||
///For custom overrides for species ass images
|
||||
var/icon/ass_image
|
||||
|
||||
/// List of family heirlooms this species can get with the family heirloom quirk. List of types.
|
||||
var/list/family_heirlooms
|
||||
|
||||
///////////
|
||||
// PROCS //
|
||||
///////////
|
||||
|
||||
@@ -24,3 +24,7 @@
|
||||
allowed_limb_ids = list("insect","apid","moth","moth_not_greyscale")
|
||||
|
||||
eye_type = "insect"
|
||||
|
||||
family_heirlooms = list(
|
||||
/obj/item/flashlight/lantern/heirloom_moth
|
||||
)
|
||||
|
||||
@@ -20,6 +20,11 @@ GLOBAL_LIST_INIT(dwarf_last, world.file2list("strings/names/dwarf_last.txt")) //
|
||||
species_language_holder = /datum/language_holder/dwarf
|
||||
species_category = SPECIES_CATEGORY_BASIC //a kind of human
|
||||
|
||||
family_heirlooms = list(
|
||||
// Dwarves get a dwarf mug as their heirloom (normal container but has manly dorf icon)
|
||||
/obj/item/reagent_containers/food/drinks/dwarf_mug
|
||||
)
|
||||
|
||||
/mob/living/carbon/human/species/dwarf //species admin spawn path
|
||||
race = /datum/species/dwarf //and the race the path is set to.
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
wagging_type = "mam_waggingtail"
|
||||
species_category = SPECIES_CATEGORY_FURRY
|
||||
ass_image = 'icons/ass/asscat.png'
|
||||
family_heirlooms = list(/obj/item/toy/cattoy)
|
||||
|
||||
/datum/species/human/felinid/on_species_gain(mob/living/carbon/C, datum/species/old_species, pref_load)
|
||||
if(ishuman(C))
|
||||
|
||||
@@ -37,6 +37,11 @@
|
||||
species_category = SPECIES_CATEGORY_ROBOT
|
||||
wings_icons = SPECIES_WINGS_ROBOT
|
||||
|
||||
family_heirlooms = list(
|
||||
// Gives a broken powercell for flavor text!
|
||||
/obj/item/stock_parts/cell/family
|
||||
)
|
||||
|
||||
var/datum/action/innate/monitor_change/screen
|
||||
|
||||
/datum/species/ipc/on_species_gain(mob/living/carbon/human/C)
|
||||
|
||||
@@ -34,6 +34,10 @@
|
||||
ass_image = 'icons/ass/assslime.png'
|
||||
blacklisted_quirks = list(/datum/quirk/glass_bones)
|
||||
|
||||
family_heirlooms = list(
|
||||
/obj/item/toy/plush/slimeplushie
|
||||
)
|
||||
|
||||
/datum/species/jelly/on_species_loss(mob/living/carbon/C)
|
||||
C.faction -= "slime"
|
||||
if(ishuman(C))
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
|
||||
ass_image = 'icons/ass/asslizard.png'
|
||||
|
||||
family_heirlooms = list(
|
||||
/obj/item/toy/plush/lizardplushie
|
||||
)
|
||||
|
||||
/datum/species/lizard/random_name(gender,unique,lastname)
|
||||
if(unique)
|
||||
return random_unique_lizard_name(gender)
|
||||
|
||||
@@ -36,3 +36,8 @@
|
||||
wagging_type = "mam_waggingtail"
|
||||
species_category = SPECIES_CATEGORY_ROBOT
|
||||
wings_icons = SPECIES_WINGS_ROBOT
|
||||
|
||||
family_heirlooms = list(
|
||||
// They're also robots
|
||||
/obj/item/stock_parts/cell/family
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user