Skip to content

Commit

Permalink
messes with dummy code actually
Browse files Browse the repository at this point in the history
  • Loading branch information
Paxilmaniac committed Nov 29, 2024
1 parent d05db1b commit 30da20b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/human/dummy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ INITIALIZE_IMMEDIATE(/mob/living/carbon/human/dummy)
target.dna.features["tail_cat"] = get_consistent_feature_entry(SSaccessories.tails_list_felinid) // it's a lie
target.dna.features["tail_lizard"] = get_consistent_feature_entry(SSaccessories.tails_list_lizard)
target.dna.features["tail_monkey"] = get_consistent_feature_entry(SSaccessories.tails_list_monkey)
target.dna.features["tail_other"] = get_consistent_feature_entry(SSaccessories.tails_list_doppler_debug) // DOPPLER EDIT ADDITION - SEE modular_doppler/modular_customization/preferences/tail.dm
target.dna.features["pod_hair"] = get_consistent_feature_entry(SSaccessories.pod_hair_list)
target.dna.features["caps"] = get_consistent_feature_entry(SSaccessories.caps_list)
target.dna.initialize_dna(create_mutation_blocks = FALSE, randomize_features = FALSE)
Expand Down
19 changes: 19 additions & 0 deletions modular_doppler/modular_customization/preferences/tail.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
var/list/tails_list_synth
var/list/tails_list_humanoid
var/list/tails_list_alien
/// Used solely so tails behave in consistent test dummies
var/list/tails_list_doppler_debug

/datum/controller/subsystem/accessories/setup_lists()
. = ..()
Expand All @@ -23,6 +25,23 @@
tails_list_synth = init_sprite_accessory_subtypes(/datum/sprite_accessory/tails/cybernetic)["default_sprites"]
tails_list_humanoid = init_sprite_accessory_subtypes(/datum/sprite_accessory/tails/humanoid)["default_sprites"]
tails_list_alien = init_sprite_accessory_subtypes(/datum/sprite_accessory/tails/alien)["default_sprites"]
// Consistent test dummy tails list
// If this is still here, add any new doppler tails lists to this or CI will wig out
var/list/lists_for_tails = list(
tails_list_dog,
tails_list_fox,
tails_list_bunny,
tails_list_mouse,
tails_list_bird,
tails_list_deer,
tails_list_bug,
tails_list_synth,
tails_list_humanoid,
tails_list_alien,
)
for(var/list/tail_list as anything in lists_for_tails)
for(var/tail_accessory as anything in tail_list)
tails_list_doppler_debug += tail_accessory

/datum/dna
/// This variable is read by the regenerate_organs() proc to know what organ subtype to give
Expand Down

0 comments on commit 30da20b

Please sign in to comment.