plushmium: the fermichem that creates sentient plushies (#12450)
* create plushie mob and chem * better plush * sentience * fixes * more fixes * spelling error * okay this works better * more work on sentiency * fixes * further fixes * revert plush storage changes, add splash effect * fix icons * undo a change that i guess isnt needed * remove spaces * plushies are now space immune * make warning text more clear * dont give them more health than bears? * give them 0/1 stamina damage * bugfix * squeak when attacked * small refactor
This commit is contained in:
committed by
GitHub
parent
26ef2c6812
commit
3692323615
@@ -436,13 +436,13 @@ GLOBAL_LIST_INIT(valid_plushie_paths, valid_plushie_paths())
|
||||
/obj/item/toy/plush/random/Initialize()
|
||||
var/newtype
|
||||
var/list/snowflake_list = CONFIG_GET(keyed_list/snowflake_plushies)
|
||||
|
||||
|
||||
/// If there are no snowflake plushies we'll default to base plush, so we grab from the valid list
|
||||
if (snowflake_list.len)
|
||||
newtype = prob(CONFIG_GET(number/snowflake_plushie_prob)) ? /obj/item/toy/plush/random_snowflake : pick(GLOB.valid_plushie_paths)
|
||||
else
|
||||
else
|
||||
newtype = pick(GLOB.valid_plushie_paths)
|
||||
|
||||
|
||||
new newtype(loc)
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user