mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Addition: Security Gun Vendor Circuit (#7678)
* Adds Gun Vendor Circuit This adds a circuit for the weapons vendor * Update code/game/objects/structures/crates_lockers/closets/secure/security.dm Co-authored-by: AxieTheAxolotl <86872535+axietheaxolotl@users.noreply.github.com> Co-authored-by: AxieTheAxolotl <86872535+axietheaxolotl@users.noreply.github.com>
This commit is contained in:
co-authored by
AxieTheAxolotl
parent
9f62ebf78a
commit
2f6aa64b75
@@ -138,6 +138,7 @@
|
||||
new /obj/item/flashlight/seclite(src)
|
||||
new /obj/item/clothing/gloves/krav_maga/sec/peacekeeper(src) //SKYRAT EDIT CHANGE - SEC_HAUL
|
||||
new /obj/item/door_remote/head_of_security(src)
|
||||
new /obj/item/circuitboard/machine/gun_vendor(src) // SKYRAT EDIT CHANGE
|
||||
|
||||
/obj/structure/closet/secure_closet/security
|
||||
name = "security officer's locker"
|
||||
|
||||
@@ -9,9 +9,18 @@
|
||||
icon = 'modular_skyrat/modules/sec_haul/icons/guns/gunsets.dmi'
|
||||
icon_state = "gunvend"
|
||||
use_power = NO_POWER_USE
|
||||
circuit = /obj/item/circuitboard/machine/gun_vendor
|
||||
max_integrity = 2000
|
||||
density = TRUE
|
||||
|
||||
/obj/item/circuitboard/machine/gun_vendor
|
||||
name = "Weapons Dispenser (Machine Board)"
|
||||
icon_state = "circuit_map"
|
||||
build_path = /obj/machinery/gun_vendor
|
||||
req_components = list(
|
||||
/obj/item/stock_parts/manipulator = 2,
|
||||
/obj/item/stock_parts/capacitor = 2)
|
||||
|
||||
/obj/structure/gun_vendor/wrench_act(mob/living/user, obj/item/item)
|
||||
default_unfasten_wrench(user, item, 120)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user