Ports "Renames is_hot and is_sharp to get_temperature and get_sharpness"
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
to_chat(user, "<span class='notice'>You fill [src] with [trans] units of the contents of [target].</span>")
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/attackby(obj/item/I, mob/user, params)
|
||||
var/hotness = I.is_hot()
|
||||
var/hotness = I.get_temperature()
|
||||
if(hotness && reagents)
|
||||
reagents.expose_temperature(hotness)
|
||||
to_chat(user, "<span class='notice'>You heat [name] with [I]!</span>")
|
||||
|
||||
@@ -455,7 +455,7 @@
|
||||
..()
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/bottle/molotov/attackby(obj/item/I, mob/user, params)
|
||||
if(I.is_hot() && !active)
|
||||
if(I.get_temperature() && !active)
|
||||
active = 1
|
||||
var/message = "[ADMIN_LOOKUP(user)] has primed a [name] for detonation at [ADMIN_VERBOSEJMP(user)]."
|
||||
GLOB.bombers += message
|
||||
|
||||
Reference in New Issue
Block a user