Fixes heat sources not igniting things

This commit is contained in:
Denton
2018-12-02 19:06:20 +01:00
parent eadf663f1c
commit 877d3cea69
10 changed files with 12 additions and 12 deletions
@@ -30,20 +30,20 @@
playsound(src, "sparks", 100, TRUE)
var/turf/T = loc
if(isturf(T))
T.hotspot_expose(300,5)
T.hotspot_expose(1000,100)
QDEL_IN(src, 20)
/obj/effect/particle_effect/sparks/Destroy()
var/turf/T = loc
if(isturf(T))
T.hotspot_expose(300,1)
T.hotspot_expose(1000,100)
return ..()
/obj/effect/particle_effect/sparks/Move()
..()
var/turf/T = loc
if(isturf(T))
T.hotspot_expose(300,1)
T.hotspot_expose(1000,100)
/datum/effect_system/spark_spread
effect_type = /obj/effect/particle_effect/sparks
+1 -1
View File
@@ -603,7 +603,7 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
if(success)
location = get_turf(M)
if(isturf(location))
location.hotspot_expose(flame_heat, 1)
location.hotspot_expose(flame_heat, 5)
/obj/item/proc/ignition_effect(atom/A, mob/user)
if(is_hot())
+1 -1
View File
@@ -130,7 +130,7 @@
if(isOn())
use(1)
var/turf/location = get_turf(user)
location.hotspot_expose(550, 10, 1)
location.hotspot_expose(700, 50, 1)
if(get_fuel() <= 0)
set_light(0)
+1 -1
View File
@@ -111,7 +111,7 @@
playsound(src, 'sound/effects/comfyfire.ogg',50,0, 0, 1)
var/turf/T = get_turf(src)
T.hotspot_expose(500, 5)
T.hotspot_expose(700, 5)
update_icon()
adjust_light()