Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 5c82c6f

Browse files
authored
attachment kit (#22931)
1 parent edcc0b0 commit 5c82c6f

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

code/game/objects/items/storage/uplink_kits.dm

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,3 +915,12 @@
915915
var/obj/item/bodybag/environmental/prisoner/syndicate/pbag = new(src)
916916
var/obj/item/syndicate_prisoner_remote/remote = new(src)
917917
remote.bag = pbag
918+
919+
/obj/item/storage/box/syndie_kit/attachments
920+
real_name = "attachment kit"
921+
922+
/obj/item/storage/box/syndie_kit/attachments/PopulateContents()
923+
new /obj/item/attachment/scope/holo(src)
924+
new /obj/item/attachment/scope/infrared(src)
925+
new /obj/item/attachment/grip/vertical(src)
926+
new /obj/item/attachment/laser_sight(src)

code/modules/uplink/uplink_items.dm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,23 +2079,33 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
20792079
item = /obj/item/storage/box/syndie_kit/prisonerbag
20802080
cost = 2
20812081

2082+
/datum/uplink_item/device_tools/holo_sight
2083+
name = "Attachment Kit"
2084+
desc = "A box of attachments to be used on any common firearm. Use a screwdriver to remove attachments."
2085+
item = /obj/item/storage/box/syndie_kit/attachments
2086+
cost = 1
2087+
exclude_antags = list(ROLE_OPERATIVE, ROLE_CLOWNOP)
2088+
20822089
/datum/uplink_item/device_tools/holo_sight
20832090
name = "Holographic Sight"
20842091
desc = "A high-tech holographic sight that improves the aim of the weapon it's attached to."
20852092
item = /obj/item/attachment/scope/holo
20862093
cost = 2
2094+
include_antags = list(ROLE_OPERATIVE, ROLE_CLOWNOP)
20872095

20882096
/datum/uplink_item/device_tools/vert_grip
20892097
name = "Vertical Grip"
20902098
desc = "A vertical foregrip that reduces the shock of firing a weapon. Extra handy for higher recoil guns like the sniper rifle."
20912099
item = /obj/item/attachment/grip/vertical
20922100
cost = 2
2101+
include_antags = list(ROLE_OPERATIVE, ROLE_CLOWNOP)
20932102

20942103
/datum/uplink_item/device_tools/laser_sight
20952104
name = "Laser Sight"
20962105
desc = "An aesthetic laser sight that improves your accuracy and shows you where you're aiming."
20972106
item = /obj/item/attachment/laser_sight
20982107
cost = 2
2108+
include_antags = list(ROLE_OPERATIVE, ROLE_CLOWNOP)
20992109

21002110
/datum/uplink_item/device_tools/mechpilotguide
21012111
name = "Mech Piloting for Dummies"

0 commit comments

Comments
 (0)