Final tweaks to recipe availability and material inheritance.

This commit is contained in:
Zuhayr
2015-05-17 18:22:21 +09:30
parent ed34aa2466
commit 8ce787ef68
12 changed files with 151 additions and 108 deletions
+10 -1
View File
@@ -41,9 +41,12 @@
opacity = 0
else
opacity = 1
if(material.products_need_process())
processing_objects |= src
update_nearby_tiles(need_rebuild=1)
/obj/structure/simple_door/Destroy()
processing_objects -= src
update_nearby_tiles()
..()
@@ -137,7 +140,7 @@
else if(istype(W,/obj/item/weapon/weldingtool))
var/obj/item/weapon/weldingtool/WT = W
if(material.ignition_point && WT.remove_fuel(0, user))
TemperatureAct(100)
TemperatureAct(150)
else
attack_hand(user)
return
@@ -165,6 +168,12 @@
CheckHardness()
return
/obj/structure/simple_door/process()
if(!material.radioactivity)
return
for(var/mob/living/L in range(1,src))
L.apply_effect(round(material.radioactivity/3),IRRADIATE,0)
/obj/structure/simple_door/iron/New(var/newloc,var/material_name)
..(newloc, "iron")