Skip to content

Commit

Permalink
sacrifices to the CI gods
Browse files Browse the repository at this point in the history
  • Loading branch information
CliffracerX committed Sep 5, 2024
1 parent 2b18c3a commit 9ba9b6e
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 16 deletions.
7 changes: 7 additions & 0 deletions code/modules/surgery/organs/external/tails.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
receiver.add_mood_event("tail_regained", /datum/mood_event/tail_regained_wrong)

/obj/item/organ/external/tail/on_bodypart_insert(obj/item/bodypart/bodypart)
/// DOPPLER SHIFT ADDITION BEGIN
// damnit TG your own code fails CI for reasons unclear
if(bodypart == null)
return ..()
if(bodypart.owner == null)
return ..()
/// DOPPLER SHIFT ADDITION END
var/obj/item/organ/external/spines/our_spines = bodypart.owner.get_organ_slot(ORGAN_SLOT_EXTERNAL_SPINES)
if(our_spines)
try_insert_tail_spines(bodypart)
Expand Down
25 changes: 15 additions & 10 deletions modular_doppler/customization/code/accessory_overrides_lizard.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@
return TRUE
return FALSE

/datum/preference/choiced/lizard_snout/create_default_value()
return pick(SSaccessories.snouts_list["None"])
//random isn't ideal but CI is forcing our hands here
/*/datum/preference/choiced/lizard_snout/create_default_value()
return pick(SSaccessories.snouts_list["None"])*/



Expand Down Expand Up @@ -142,8 +143,9 @@
return TRUE
return FALSE

/datum/preference/choiced/lizard_horns/create_default_value()
return pick(SSaccessories.horns_list["None"])
//random isn't ideal but CI is forcing our hands here
/*/datum/preference/choiced/lizard_horns/create_default_value()
return pick(SSaccessories.horns_list["None"])*/



Expand Down Expand Up @@ -209,8 +211,9 @@
return TRUE
return FALSE

/datum/preference/choiced/lizard_frills/create_default_value()
return pick(SSaccessories.frills_list["None"])
//random isn't ideal but CI is forcing our hands here
/*/datum/preference/choiced/lizard_frills/create_default_value()
return pick(SSaccessories.frills_list["None"])*/



Expand Down Expand Up @@ -292,8 +295,9 @@
return TRUE
return FALSE

/datum/preference/choiced/lizard_tail/create_default_value()
return /datum/sprite_accessory/tails/lizard/none::name
//random isn't ideal but CI is forcing our hands here
/*/datum/preference/choiced/lizard_tail/create_default_value()
return /datum/sprite_accessory/tails/lizard/none::name*/

/datum/preference/choiced/lizard_tail/icon_for(value)
var/datum/sprite_accessory/sprite_accessory = SSaccessories.tails_list_lizard[value]
Expand Down Expand Up @@ -363,8 +367,9 @@
return overlay
return ..()

/datum/preference/choiced/lizard_body_markings/create_default_value()
return pick(SSaccessories.lizard_markings_list["None"])
//random isn't ideal but CI is forcing our hands here
/*/datum/preference/choiced/lizard_body_markings/create_default_value()
return pick(SSaccessories.lizard_markings_list["None"])*/

//toggle prefs
/datum/preference/toggle/markings
Expand Down
5 changes: 3 additions & 2 deletions modular_doppler/enterprise_resource_planning/code/breasts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,9 @@
target.dna.features["breasts"] = value
//to_chat(world, "Applied!")

/datum/preference/choiced/breasts/create_default_value()
return pick(SSaccessories.breasts_list["None"])
//random isn't ideal but CI is forcing our hands here
/*/datum/preference/choiced/breasts/create_default_value()
return pick(SSaccessories.breasts_list["None"])*/

/datum/preference/choiced/breasts/is_accessible(datum/preferences/preferences)
. = ..()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const FeatureTriColorInput = (props: FeatureValueProps<string[]>) => {
? props.value[index]
: `#${props.value[index]}`,
border: '2px solid white',
'box-sizing': 'content-box',
boxSizing: 'content-box',
height: '11px',
width: '11px',
...(props.shrink
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FeatureTriColorInput, FeatureColorInput, Feature, CheckboxInput, FeatureToggle } from '../base';
import { FeatureTriColorInput, Feature, CheckboxInput, FeatureToggle } from '../base';

export const penis_color: Feature<string[]> = {
name: 'Penis Color',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FeatureTriColorInput, FeatureColorInput, Feature } from '../base';
import { FeatureTriColorInput, Feature } from '../base';

export const fluff_color: Feature<string[]> = {
name: 'Fluff Color',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FeatureTriColorInput, FeatureColorInput, Feature, CheckboxInput, FeatureToggle } from '../base';
import { FeatureTriColorInput, Feature, CheckboxInput, FeatureToggle } from '../base';

export const has_snout: FeatureToggle = {
name: 'Add Part: Snout',
Expand Down

0 comments on commit 9ba9b6e

Please sign in to comment.