[MIRROR] Floor tile placement and backend logic (#11397)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-12 21:29:01 +02:00
committed by GitHub
co-authored by Cameron Lennox
parent 1fb6eaa4a8
commit face63240a
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()
. = ..()