Removes the ability to disassemble and unwrench the donksoft vendor in the syndie research base. (#22566)

* No more vendor theft.

* Moveable version created.

* Makes code not hacky

* Contra review
This commit is contained in:
Silverplate
2023-10-12 16:10:45 +01:00
committed by GitHub
parent e467332ab6
commit 42e06fcfbb
2 changed files with 19 additions and 3 deletions
@@ -1577,15 +1577,13 @@
/turf/simulated/floor/plating,
/area/ruin/unpowered/syndicate_space_base/engineering)
"rp" = (
/obj/machinery/economy/vending/toyliberationstation{
req_access_txt = "150"
},
/obj/structure/cable{
d1 = 1;
d2 = 2;
icon_state = "1-2";
tag = ""
},
/obj/machinery/economy/vending/toyliberationstation/secured,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "brown"
+18
View File
@@ -179,3 +179,21 @@
armor = list(MELEE = 100, BULLET = 100, LASER = 100, ENERGY = 100, BOMB = 0, RAD = 0, FIRE = 100, ACID = 50)
resistance_flags = FIRE_PROOF
/obj/machinery/economy/vending/toyliberationstation/secured
/obj/machinery/economy/vending/toyliberationstation/secured/crowbar_act(mob/user, obj/item/I)
if(tilted)
to_chat(user, "<span class='warning'>The fastening bolts aren't on the ground, you'll need to right it first!</span>")
return
if(!I.use_tool(src, user, 0, volume = 0))
return
to_chat(user, "<span class='warning'>You are unable to remove the electronics from the vendor!</span>")
/obj/machinery/economy/vending/toyliberationstation/secured/wrench_act(mob/user, obj/item/I)
if(tilted)
to_chat(user, "<span class='warning'>The fastening bolts aren't on the ground, you'll need to right it first!</span>")
return
if(!I.use_tool(src, user, 0, volume = 0))
return
to_chat(user, "<span class='warning'>You are unable to loosen the bolts!</span>")