Floor tile placement and backend logic (#18228)

* tiletweak

* Update turfs.dm
This commit is contained in:
Cameron Lennox
2025-08-12 12:55:51 +02:00
committed by GitHub
parent af2adf2d75
commit fa69608e18
2 changed files with 27 additions and 25 deletions
+5 -2
View File
@@ -44,19 +44,22 @@
. += "Use a welder on it to repair the damage."
else
. += "Use a crowbar on it to remove it."
. += "If using a crowbar and holding a floor tile in your offhand, you will automatically replace the floor with that tile."
. += "If using a floor tile on the floor with a crowbar in your offhand, you will automatically replace the floor with that tile."
else if(flooring)
if(flooring.flags & TURF_IS_FRAGILE)
. += "You can use a crowbar on it to remove it, but this will destroy it!"
else if(flooring.flags & TURF_REMOVE_CROWBAR)
. += "Use a crowbar on it to remove it."
. += "If using a crowbar and holding a floor tile in your offhand, you will automatically replace the floor with that tile."
. += "If using a floor tile on the floor with a crowbar in your offhand, you will automatically replace the floor with that tile."
if(flooring.flags & TURF_REMOVE_SCREWDRIVER)
. += "Use a screwdriver on it to remove it."
. += "If using a floor tile on the floor with a screwdriver in your offhand, you will automatically replace the floor with that tile."
if(flooring.flags & TURF_REMOVE_WRENCH)
. += "Use a wrench on it to remove it."
. += "If using a floor tile on the floor with a wrench in your offhand, you will automatically replace the floor with that tile."
if(flooring.flags & TURF_REMOVE_SHOVEL)
. += "Use a shovel on it to remove it."
. += "If using a floor tile on the floor with a shovel in your offhand, you will automatically replace the floor with that tile."
/turf/simulated/floor/outdoors/snow/get_description_interaction()
. = ..()