Ports "Renames is_hot and is_sharp to get_temperature and get_sharpness"
This commit is contained in:
@@ -43,10 +43,10 @@
|
||||
PlasmaBurn(exposed_temperature)
|
||||
|
||||
/turf/open/floor/mineral/plasma/attackby(obj/item/W, mob/user, params)
|
||||
if(W.is_hot() > 300)//If the temperature of the object is over 300, then ignite
|
||||
if(W.get_temperature() > 300)//If the temperature of the object is over 300, then ignite
|
||||
message_admins("Plasma flooring was ignited by [ADMIN_LOOKUPFLW(user)] in [ADMIN_VERBOSEJMP(src)]")
|
||||
log_game("Plasma flooring was ignited by [key_name(user)] in [AREACOORD(src)]")
|
||||
ignite(W.is_hot())
|
||||
ignite(W.get_temperature())
|
||||
return
|
||||
..()
|
||||
|
||||
|
||||
@@ -94,10 +94,10 @@
|
||||
canSmoothWith = list(/turf/closed/wall/mineral/plasma, /obj/structure/falsewall/plasma)
|
||||
|
||||
/turf/closed/wall/mineral/plasma/attackby(obj/item/W, mob/user, params)
|
||||
if(W.is_hot() > 300)//If the temperature of the object is over 300, then ignite
|
||||
if(W.get_temperature() > 300)//If the temperature of the object is over 300, then ignite
|
||||
message_admins("Plasma wall ignited by [ADMIN_LOOKUPFLW(user)] in [ADMIN_VERBOSEJMP(src)]")
|
||||
log_game("Plasma wall ignited by [key_name(user)] in [AREACOORD(src)]")
|
||||
ignite(W.is_hot())
|
||||
ignite(W.get_temperature())
|
||||
return
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user