mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Makes the spawn area more greytide proof (#2299)
-banners, vending machines, plants and chairs can't be moved or dismantled in the spawn area -added access to some airlocks and buttons where it was missing -fixed messed up windows near the lift in the main station level -added some webbings around the ert and merc areas
This commit is contained in:
@@ -39,4 +39,9 @@
|
||||
anchored = 0
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 75, 1)
|
||||
user.visible_message("[user.name] unsecures [src.name] reinforcing bolts from the floor.", "You unsecure [src.name] from the floor.", "You hear a ratchet")
|
||||
return
|
||||
return
|
||||
|
||||
/obj/structure/banner/unmovable
|
||||
|
||||
/obj/structure/banner/unmovable/attackby(obj/item/W, mob/user)
|
||||
return
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
var/material/material
|
||||
var/material/padding_material
|
||||
var/base_icon = "bed"
|
||||
var/can_dismantle = 1
|
||||
|
||||
/obj/structure/bed/Initialize(mapload, var/new_material, var/new_padding_material)
|
||||
. = ..()
|
||||
@@ -88,9 +89,10 @@
|
||||
|
||||
/obj/structure/bed/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if(istype(W, /obj/item/weapon/wrench))
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
dismantle()
|
||||
qdel(src)
|
||||
if(can_dismantle)
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
dismantle()
|
||||
qdel(src)
|
||||
else if(istype(W,/obj/item/stack))
|
||||
if(padding_material)
|
||||
user << "\The [src] is already padded."
|
||||
|
||||
@@ -212,3 +212,5 @@
|
||||
/obj/structure/bed/chair/wood/wings
|
||||
icon_state = "wooden_chair_wings"
|
||||
|
||||
/obj/structure/bed/chair/unmovable
|
||||
can_dismantle = 0
|
||||
|
||||
Reference in New Issue
Block a user