Fixes outdoor platings

Phororeagent fixes
This commit is contained in:
Repede
2019-12-09 12:04:41 -05:00
parent 78d8e0ae65
commit 0159234240
4 changed files with 337 additions and 332 deletions

View File

@@ -407,7 +407,7 @@
movement_cost = 0 movement_cost = 0
/turf/simulated/floor/outdoors/snow/plating /turf/simulated/floor/outdoors/snow/plating
name = "snowy playing" name = "snowy plating"
icon_state = "snowyplating" icon_state = "snowyplating"
initial_flooring = /decl/flooring/snow/plating initial_flooring = /decl/flooring/snow/plating
movement_cost = 0 movement_cost = 0

View File

@@ -213,6 +213,10 @@ var/induromol_code = rand(1, 50)
M << "<BR>" M << "<BR>"
break break
/obj/item/weapon/reagent_containers/glass/beaker/lovepotion
name = "beaker (amorapotio)"
prefill = list("amorapotio" = 60)
/datum/reagent/phororeagent/nasty /datum/reagent/phororeagent/nasty
id = "nasty" id = "nasty"
name = "Nasty" name = "Nasty"

View File

@@ -157,6 +157,7 @@
/datum/reagents/proc/del_reagent(var/id) /datum/reagents/proc/del_reagent(var/id)
for(var/datum/reagent/current in reagent_list) for(var/datum/reagent/current in reagent_list)
if (current.id == id) if (current.id == id)
current.on_remove(my_atom) //YW Edit: Calls on_remove before the last of the thing is done, used in phorochemistry
reagent_list -= current reagent_list -= current
qdel(current) qdel(current)
update_total() update_total()

File diff suppressed because it is too large Load Diff