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:
Alberyk
2017-05-20 00:38:59 +03:00
committed by skull132
parent 3dc10cdf2f
commit aadd7fe9df
6 changed files with 82 additions and 65 deletions
+4
View File
@@ -94,6 +94,8 @@
var/scan_id = 1
var/obj/item/weapon/coin/coin
var/datum/wires/vending/wires = null
var/can_move = 1 //if you can wrench the machine out of place
/obj/machinery/vending/Initialize()
. = ..()
@@ -228,6 +230,8 @@
nanomanager.update_uis(src)
return
else if(istype(W, /obj/item/weapon/wrench))
if(!can_move)
return
playsound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)
if(anchored)
user.visible_message("[user] begins unsecuring \the [src] from the floor.", "You start unsecuring \the [src] from the floor.")
+6 -1
View File
@@ -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