Update glass.dm
This commit is contained in:
@@ -89,15 +89,9 @@
|
||||
|
||||
/obj/item/reagent_containers/glass/attackby(obj/item/I, mob/user, params)
|
||||
var/hotness = I.is_hot()
|
||||
if(hotness)
|
||||
var/added_heat = (hotness / 100) //ishot returns a temperature
|
||||
if(reagents)
|
||||
if(reagents.chem_temp < hotness) //can't be heated to be hotter than the source
|
||||
reagents.chem_temp += added_heat
|
||||
to_chat(user, "<span class='notice'>You heat [src] with [I].</span>")
|
||||
reagents.handle_reactions()
|
||||
else
|
||||
to_chat(user, "<span class='warning'>[src] is already hotter than [I]!</span>")
|
||||
if(hotness && reagents)
|
||||
reagents.expose_temperature(hotness)
|
||||
to_chat(user, "<span class='notice'>You heat [name] with [I]!</span>")
|
||||
|
||||
if(istype(I, /obj/item/reagent_containers/food/snacks/egg)) //breaking eggs
|
||||
var/obj/item/reagent_containers/food/snacks/egg/E = I
|
||||
@@ -403,4 +397,4 @@
|
||||
|
||||
/obj/item/reagent_containers/glass/beaker/large/bromine
|
||||
name = "bromine beaker"
|
||||
list_reagents = list("bromine" = 50)
|
||||
list_reagents = list("bromine" = 50)
|
||||
|
||||
Reference in New Issue
Block a user