Wooden_Wall
icon = 'turfs.dmi'
icon_state = "weakwall"
opacity = 1
density = 1
var
health = 5
Click()
if(usr.hand1 == "")
if(src.health > 0)
src.health -= 1
usr << "The [src]'s health is now [health]"
if(src.health == 0)
del(src)
usr << "Your broke [src]!"
view() << "[usr] has broken [src]!"
Wooden_Floor
icon = 'turfs.dmi'
icon_state = "weakfloor"
var
health = 5
Click()
if(usr.hand1 == "")
if(src.health > 0)
src.health -= 1
usr << "The [src]'s health is now [health]"
view() << "Bang!"
if(src.health == 0)
del(src)
new /turf/Dirt(loc)
usr << "Your broke [src]!"
view() << "[usr] has broken [src]!"
Problem description: When I place a wooden wall on top of the wooden floor and break the wall, the floor goes with it. Any fix to removing a certain turf?