makes benches a subtype of tables

This commit is contained in:
SinTwo
2016-06-29 17:52:27 -04:00
parent c7db22b985
commit a7aa2a7f33
7 changed files with 26 additions and 351 deletions

View File

@@ -26,6 +26,8 @@
var/list/connections = list("nw0", "ne0", "sw0", "se0")
var/item_place = 1 //allows items to be placed on the table, but not on benches.
/obj/structure/table/proc/update_material()
var/old_maxhealth = maxhealth
if(!material)
@@ -217,7 +219,7 @@
// Returns the material to set the table to.
/obj/structure/table/proc/common_material_remove(mob/user, material/M, delay, what, type_holding, sound)
if(!M.stack_type)
user << "<span class='warning'>You are unable to remove the [what] from this table!</span>"
user << "<span class='warning'>You are unable to remove the [what] from this [src]!</span>"
return M
if(manipulating) return M