mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Unfuckies pod blood (#72323)
I broke it in #72220 Thanks to @Fikou for catching this list(variable = 0.1) doesnt work on byond, so I last-minute improvised and changed it to list("[variable]" = 0.1), using a string instead of a typepath. I already tested it thoroughly so decided it was probably good without thinking of it anymore 🆑 fix: fixes pod blood I swear /🆑 Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
@@ -205,10 +205,11 @@
|
||||
podman.set_cloned_appearance()
|
||||
|
||||
//Get the most plentiful reagent, if there's none: get water
|
||||
var/most_plentiful_reagent = list(/datum/reagent/water = 0)
|
||||
var/list/most_plentiful_reagent = list(/datum/reagent/water = 0)
|
||||
for(var/reagent in reagents_add)
|
||||
if(reagents_add[reagent] > most_plentiful_reagent[most_plentiful_reagent[1]])
|
||||
most_plentiful_reagent = list("[reagent]" = reagents_add[reagent])
|
||||
most_plentiful_reagent.Cut()
|
||||
most_plentiful_reagent[reagent] = reagents_add[reagent]
|
||||
|
||||
podman.dna.species.exotic_blood = most_plentiful_reagent[1]
|
||||
investigate_log("[key_name(mind)] cloned as a podman via [src] in [parent]", INVESTIGATE_BOTANY)
|
||||
|
||||
Reference in New Issue
Block a user