mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
Tweak floor tile replacement and add missing catwalk sprite (#21607)
* Cat. * Cat.
This commit is contained in:
@@ -168,7 +168,7 @@ GLOBAL_LIST_INIT(icons_to_ignore_at_floor_init, list("damaged1","damaged2","dama
|
||||
if(..())
|
||||
return TRUE
|
||||
|
||||
if(intact && istype(C, /obj/item/stack/tile))
|
||||
if((intact || transparent_floor) && istype(C, /obj/item/stack/tile))
|
||||
try_replace_tile(C, user, params)
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -121,6 +121,12 @@
|
||||
/turf/simulated/floor/transparent/glass/can_lay_cable()
|
||||
return FALSE // this turf isn't "intact" but you also can't lay cable on it
|
||||
|
||||
/turf/simulated/floor/transparent/glass/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
|
||||
var/obj/item/thing = user.get_inactive_hand()
|
||||
if(!thing || !prying_tool_list.Find(thing.tool_behaviour))
|
||||
return
|
||||
to_chat(user, "<span class='danger'>You need to hold two sheets of metal to dismantle \the [src]!</span>")
|
||||
|
||||
/turf/simulated/floor/transparent/glass/reinforced
|
||||
name = "reinforced glass floor"
|
||||
desc = "Jump on it, it can cope. Promise..."
|
||||
|
||||
Reference in New Issue
Block a user