mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
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:
@@ -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()
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user