Skip to content

Commit

Permalink
Widespread Attribute Chems Reagent Update [DONE?] (#2035)
Browse files Browse the repository at this point in the history
Widespread Attribute Chems Reagent Update

Widespread Attribute Chems Reagent Update

Attribute Increasing Reagents

This is a attempt to make food more interesting for agents. In order to prevent a all around buff the chems react with eachother to form a detrimental chemical.
  • Loading branch information
InsightfulParasite authored Apr 22, 2024
1 parent 7503484 commit e2bf523
Show file tree
Hide file tree
Showing 19 changed files with 276 additions and 13 deletions.
Binary file modified ModularTegustation/Teguicons/tegu_effects10x10.dmi
Binary file not shown.
18 changes: 18 additions & 0 deletions ModularTegustation/fishing/code/fish/LC13_fish/freshwater_fish.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
stable_population = 2
microwaved_type = null
fillet_type = /obj/item/food/canned
food_reagents = list(
/datum/reagent/consumable/nutriment/organ_tissue = 3,
/datum/reagent/consumable/nutriment/vile_fluid = 1,
/datum/reagent/abnormality/bittersyrup = 1,
)

/obj/item/food/fish/fresh_water/northernpike
name = "northern pike"
Expand All @@ -40,6 +45,12 @@
sprite_height = 8
average_size = 50
average_weight = 6803
food_reagents = list(
/datum/reagent/consumable/nutriment/protein = 2,
/datum/reagent/consumable/nutriment/organ_tissue = 1,
/datum/reagent/consumable/nutriment/vile_fluid = 2,
/datum/reagent/abnormality/bittersyrup = 4,
)

/obj/item/food/fish/fresh_water/yin
name = "yin carp"
Expand All @@ -50,6 +61,12 @@
sprite_height = 8
average_size = 50
average_weight = 6803
food_reagents = list(
/datum/reagent/consumable/nutriment/protein = 2,
/datum/reagent/consumable/nutriment/organ_tissue = 1,
/datum/reagent/consumable/nutriment/vile_fluid = 2,
/datum/reagent/abnormality/tastesyrup = 4,
)

/obj/item/food/fish/fresh_water/mosb
name = "mountain of smiling fish"
Expand All @@ -64,6 +81,7 @@
average_weight = 16000
food_reagents = list(
/datum/reagent/medicine/mental_stabilizator = 2,
/datum/reagent/abnormality/heartysyrup = 4,
/datum/reagent/consumable/nutriment/vile_fluid = 6,
)
fillet_type = /obj/item/food/meat/slab/human/mutant/zombie //zombi meat
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@
food_reagents = list(
/datum/reagent/consumable/nutriment/protein = 1,
/datum/reagent/consumable/nutriment/organ_tissue = 1,
/datum/reagent/consumable/salt = 8,
/datum/reagent/abnormality/bittersyrup = 4,
/datum/reagent/consumable/salt = 4,
)
56 changes: 56 additions & 0 deletions ModularTegustation/tegu_chemistry/recipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,59 @@
mix_message = "The mixture laughs at you mockingly."
required_temp = 420
mix_sound = 'sound/items/SitcomLaugh1.ogg'

//LC13 Mixtures
/datum/chemical_reaction/odisone
results = list(/datum/reagent/abnormality/odisone = 1)
required_reagents = list(/datum/reagent/abnormality/focussyrup = 1, /datum/reagent/abnormality/violence = 1)
mix_message = "The mixture gives off a spicy odor."

/datum/chemical_reaction/gaspilleur
results = list(/datum/reagent/abnormality/gaspilleur = 1)
required_reagents = list(/datum/reagent/abnormality/focussyrup = 1, /datum/reagent/abnormality/nutrition = 1)
mix_message = "The mixture produces a rancid smell."
/*
/datum/chemical_reaction/sange_rau
results = list(/datum/reagent/abnormality/sange_rau = 1)
required_reagents = list(/datum/reagent/abnormality/tastesyrup = 1, /datum/reagent/abnormality/amusement = 1)
mix_message = "The mixture produces fumes that smell like suffocating under a lovers kiss."
*/

/datum/chemical_reaction/culpusumidus
results = list(/datum/reagent/abnormality/culpusumidus = 1)
required_reagents = list(/datum/reagent/abnormality/tastesyrup = 1, /datum/reagent/abnormality/woe = 1)
required_catalysts = list(/datum/reagent/water = 1)
mix_message = "The mixture gives off a odor of soggy bread."

/datum/chemical_reaction/serelam
results = list(/datum/reagent/abnormality/serelam = 1)
required_reagents = list(/datum/reagent/abnormality/bittersyrup = 1, /datum/reagent/abnormality/tastesyrup = 1)
mix_message = "The mixture starts to swirl around."

/datum/chemical_reaction/nepenthe
results = list(/datum/reagent/abnormality/nepenthe = 1)
required_reagents = list(/datum/reagent/abnormality/bittersyrup = 1, /datum/reagent/abnormality/consensus = 1)
mix_message = "The mixture gives off a flowery odor."

/datum/chemical_reaction/piedrabital
results = list(/datum/reagent/abnormality/piedrabital = 1)
required_reagents = list(/datum/reagent/abnormality/heartysyrup = 1, /datum/reagent/abnormality/cleanliness = 1)
mix_message = "The mixture becomes chunky."

/datum/chemical_reaction/dyscrasone
results = list(/datum/reagent/abnormality/dyscrasone = 2)
required_reagents = list(/datum/reagent/abnormality/heartysyrup = 1, /datum/reagent/abnormality/odisone = 1)
mix_message = "The mixture starts sizzling."

/*
* Bad Reactions
* These reactions are for when two chemicals are a little too overpowered when mixed together
* and one of the ways to prevent people getting dosed up on 4 of the best chemicals is to make
* those chemicals mix into something gross. Think of depressents with stimulants or those weird
* internet challenges where they mix foods.
*/

/datum/chemical_reaction/serelam_bad_react1
results = list(/datum/reagent/yuck = 1)
required_reagents = list(/datum/reagent/abnormality/serelam = 5, /datum/reagent/abnormality/culpusumidus = 5)

9 changes: 5 additions & 4 deletions ModularTegustation/tegufood.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@
/obj/item/food/cookie/sugar/pbird
desc = "A sweet cookie shaped like a cute little bird."
icon_state = "sugarcookie_pbird"
food_reagents = list(/datum/reagent/consumable/nutriment = 2, /datum/reagent/abnormality/heartysyrup = 1)

/obj/item/food/cake/bbird
name = "Big Bird cake"
desc = "A cake that seems like it's watching you."
icon_state = "bbcake"
food_reagents = list(/datum/reagent/consumable/nutriment = 20, /datum/reagent/consumable/nutriment/vitamin = 5)
food_reagents = list(/datum/reagent/consumable/nutriment = 20, /datum/reagent/consumable/nutriment/vitamin = 5, /datum/reagent/abnormality/tastesyrup = 3)
tastes = list("cake" = 1, "vigilance" = 1)
foodtypes = GRAIN | DAIRY

Expand All @@ -60,7 +61,7 @@
name = "Judgement sundae"
desc = "A sweet, sweet serving of justice."
icon_state = "sundae" //PLACEHOLDER
food_reagents = list(/datum/reagent/consumable/nutriment = 6, /datum/reagent/consumable/banana = 5, /datum/reagent/consumable/nutriment/vitamin = 2)
food_reagents = list(/datum/reagent/consumable/nutriment = 6, /datum/reagent/consumable/banana = 5, /datum/reagent/consumable/nutriment/vitamin = 2, /datum/reagent/abnormality/focussyrup = 5)
tastes = list("judgement" = 1, "paranoia" = 1)
foodtypes = DAIRY | SUGAR

Expand All @@ -79,7 +80,7 @@
name = "Apocalypse trifle"
desc = "A huge serving of monstrously good cake, custard, and forest fruit."
icon_state = "apoctrifle"
food_reagents = list(/datum/reagent/consumable/nutriment = 15, /datum/reagent/consumable/sugar = 5)
food_reagents = list(/datum/reagent/abnormality/tastesyrup = 9, /datum/reagent/abnormality/focussyrup = 9, /datum/reagent/abnormality/heartysyrup = 9, /datum/reagent/consumable/nutriment = 15, /datum/reagent/consumable/sugar = 5)
tastes = list("cake" = 3, "custard" = 3, "fresh fruit" = 3, "fear" = 1)
foodtypes = DAIRY | SUGAR | FRUIT

Expand Down Expand Up @@ -143,7 +144,7 @@
name = "sweeper soup"
desc = "Liquid sweeper in a bowl made of its own shell."
icon_state = "redbeetsoup" //PLACEHOLDER
food_reagents = list(/datum/reagent/consumable/nutriment/protein = 6, /datum/reagent/blood = 10)
food_reagents = list(/datum/reagent/consumable/nutriment/protein = 6, /datum/reagent/blood = 10, /datum/reagent/abnormality/heartysyrup = 2)
tastes = list("something metallic" = 1)
foodtypes = MEAT

Expand Down
23 changes: 23 additions & 0 deletions code/datums/status_effects/debuffs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1168,3 +1168,26 @@
src.apply_status_effect(/datum/status_effect/stacking/lc_burn, stacks)
else
B.add_stacks(stacks)

/datum/status_effect/display/dyscrasone_withdrawl
id = "dyscrasone_withdrawl"
status_type = STATUS_EFFECT_UNIQUE
duration = 15 SECONDS
alert_type = null
display_name = "sadface_all_stats"

/datum/status_effect/display/dyscrasone_withdrawl/on_apply()
. = ..()
var/mob/living/carbon/human/L = owner
L.adjust_attribute_buff(FORTITUDE_ATTRIBUTE, -25)
L.adjust_attribute_buff(PRUDENCE_ATTRIBUTE, -25)
L.adjust_attribute_buff(TEMPERANCE_ATTRIBUTE, -25)
L.adjust_attribute_buff(JUSTICE_ATTRIBUTE, -25)

/datum/status_effect/display/dyscrasone_withdrawl/on_remove()
var/mob/living/carbon/human/L = owner
L.adjust_attribute_buff(FORTITUDE_ATTRIBUTE, 25)
L.adjust_attribute_buff(PRUDENCE_ATTRIBUTE, 25)
L.adjust_attribute_buff(TEMPERANCE_ATTRIBUTE, 25)
L.adjust_attribute_buff(JUSTICE_ATTRIBUTE, 25)
return ..()
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
)
work_damage_amount = 5
work_damage_type = WHITE_DAMAGE
chem_type = /datum/reagent/abnormality/abno_oil

ego_list = list(
/datum/ego_datum/weapon/noise,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
)
work_damage_amount = 5
work_damage_type = WHITE_DAMAGE
chem_type = /datum/reagent/abnormality/violence

ego_list = list(
/datum/ego_datum/weapon/horn,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
)
work_damage_amount = 8
work_damage_type = WHITE_DAMAGE
chem_type = /datum/reagent/abnormality/woe
max_boxes = 14

ego_list = list(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
)
work_damage_amount = 7
work_damage_type = RED_DAMAGE
chem_type = /datum/reagent/abnormality/abno_oil

ego_list = list(
/datum/ego_datum/weapon/sanitizer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
)
work_damage_amount = 5
work_damage_type = RED_DAMAGE
chem_type = /datum/reagent/abnormality/violence

ego_list = list(
/datum/ego_datum/weapon/daredevil,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
start_qliphoth = 3
work_damage_amount = 5 //Calculated later
work_damage_type = WHITE_DAMAGE
chem_type = /datum/reagent/abnormality/woe
pixel_x = -32
base_pixel_x = -32

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@
)
work_damage_amount = 6
work_damage_type = RED_DAMAGE

/*
* This is related to abnochem where a chemical can be harvested from abnormalities.
* This is more for general flavor and will be randomly filled if left empty.
* I placed this here because i felt like violence makes the most sense.
*/
chem_type = /datum/reagent/abnormality/violence

//shows in chat when the creature is defeated. Default is "stops moving".
death_message = "falls over."
//Phrases that the creature will emote randomly based on speak chance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

work_damage_amount = 7
work_damage_type = WHITE_DAMAGE
chem_type = /datum/reagent/abnormality/woe
start_qliphoth = 2
var/scream_range = 10
var/scream_damage = 45
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
start_qliphoth = 4
work_damage_amount = 6
work_damage_type = WHITE_DAMAGE
chem_type = /datum/reagent/abnormality/woe
ego_list = list(
/datum/ego_datum/weapon/solitude,
/datum/ego_datum/armor/solitude,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
is_flying_animal = TRUE
work_damage_amount = 6
work_damage_type = WHITE_DAMAGE
chem_type = /datum/reagent/abnormality/woe

ego_list = list(
/datum/ego_datum/weapon/sorrow,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
)
work_damage_amount = 6
work_damage_type = RED_DAMAGE
chem_type = /datum/reagent/abnormality/woe
damage_coeff = list(RED_DAMAGE = 0.5, WHITE_DAMAGE = 2, BLACK_DAMAGE = 1, PALE_DAMAGE = 2)
faction = list("hostile")
can_breach = TRUE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
)
work_damage_amount = 2
work_damage_type = RED_DAMAGE
chem_type = /datum/reagent/blood
damage_coeff = list(RED_DAMAGE = 0.5, WHITE_DAMAGE = 1.5, BLACK_DAMAGE = 1, PALE_DAMAGE = 1)
can_breach = TRUE
start_qliphoth = 1
Expand Down
Loading

0 comments on commit e2bf523

Please sign in to comment.