mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-31 09:09:49 +01:00
[MIRROR] Floor tile placement and backend logic (#11397)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
1fb6eaa4a8
commit
face63240a
@@ -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()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user