Skip to content

Commit

Permalink
(*)booster enzyme now exothermic and depletes faster.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmunora committed Dec 1, 2021
1 parent 27cf45d commit 2a453e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/modules/chemistry/Reagents-Misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1063,15 +1063,16 @@ datum
fluid_b = 192
transparency = 255
viscosity = 0.15
depletion_rate = 1
var/static/list/booster_enzyme_reagents_to_check = list("charcoal","synaptizine","styptic_powder","teporone","salbutamol","methamphetamine","omnizine","perfluorodecalin","penteticacid","oculine","epinephrine","mannitol","synthflesh", "saline", "anti_rad", "salicylic_acid", "menthol", "silver_sulfadiazine"/*,"coffee", "sugar", "espresso", "energydrink", "ephedrine", "crank"*/) //these last ones are probably an awful idea. Uncomment to buff booster a decent amount

on_mob_life(var/mob/M, var/mult = 1)
for (var/i = 1, i <= booster_enzyme_reagents_to_check.len, i++)
var/check_amount = holder.get_reagent_amount(booster_enzyme_reagents_to_check[i])
if (check_amount && check_amount < 18)
var/amt = min(2 * mult, 20-check_amount)
holder.add_reagent(booster_enzyme_reagents_to_check[i], amt)
holder.add_reagent("enzymatic_leftovers", amt/2)
var/amt = min(1 * mult, 20-check_amount)
holder.add_reagent(booster_enzyme_reagents_to_check[i], amt, temp_new = holder.total_temperature + 20)
holder.add_reagent("enzymatic_leftovers", amt/2, temp_new = holder.total_temperature + 20)
..()
return

Expand Down Expand Up @@ -1340,6 +1341,7 @@ datum
fluid_b = 19
transparency = 255
depletion_rate = 0.01
heat_capacity = 200

// used to make fake initropidril
eyeofnewt
Expand Down
3 changes: 3 additions & 0 deletions strings/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

(t)wed dec 01 21
(u)Tarmunora
(e)⚖|balance
(*)booster enzyme now exothermic and depletes faster.
(u)Gannets
(p)6843
(e)🎨|sprites
Expand Down

0 comments on commit 2a453e4

Please sign in to comment.