mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
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:
@@ -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"
|
||||
|
||||
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user