mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 23:14:18 +01:00
Converts Reagents to Typepaths and Centralises Reagent Spawning (#9140)
Converts reagents to use typepaths instead of IDs.
Centralises reagent spawning in a lot of places to use reagents_to_add instead of a variety of custom methods or initialise overrides.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
. = ..()
|
||||
world_phylactery += src
|
||||
create_reagents(120)
|
||||
reagents.add_reagent("undead_ichor", 120)
|
||||
reagents.add_reagent(/datum/reagent/toxin/undead, 120)
|
||||
|
||||
/obj/item/phylactery/Destroy()
|
||||
to_chat(lich, "<span class='danger'>Your phylactery was destroyed, your soul is cast into the abyss as your immortality vanishes away!</span>")
|
||||
|
||||
Reference in New Issue
Block a user