fixed floorlayer compile errors, added can_burn to wood floors (#18)

Fixes some compile errors with the floor layer, and adds the can_burn tag to wooden floors. For some reason tiles had it and wood didnt
This commit is contained in:
NanakoAC
2016-11-21 12:48:28 +02:00
committed by skull132
parent 8181c3e15d
commit 36399d3cb9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -84,9 +84,9 @@
var/turf/simulated/floor/T = new_turf
if(!T.is_plating())
if(!T.broken && !T.burnt)
new T.floor_type(T)
new T.flooring.build_type()
T.make_plating()
return !new_turf.intact
return T.is_plating()
return 0
/obj/machinery/floorlayer/proc/TakeNewStack()
+1 -1
View File
@@ -143,7 +143,7 @@ var/list/flooring_types
damage_temperature = T0C+200
descriptor = "planks"
build_type = /obj/item/stack/tile/wood
flags = TURF_CAN_BREAK | TURF_IS_FRAGILE | TURF_REMOVE_SCREWDRIVER
flags = TURF_CAN_BREAK | TURF_IS_FRAGILE | TURF_REMOVE_SCREWDRIVER | TURF_CAN_BURN
/decl/flooring/reinforced
name = "reinforced floor"