Occupational Corruption Device (#51884)

About The Pull Request

Adds a new traitor item exclusive to Heads of Personnel and Quartermasters that triggers a bureaucratic error
Why It's Good For The Game

Adds a new method for traitors to cause indirect havoc to the station at large
Changelog

cl
add: Added a new traitor item for HoP and QM, the OCD
/cl
This commit is contained in:
Orchian
2020-07-07 10:53:21 +12:00
committed by GitHub
parent b604761801
commit d04c6f488d
3 changed files with 20 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
/obj/item/devices/ocd_device
name = "Occupational Corruption Device"
desc = "When you need to make the lives of new-hires that much more confusing, think OCD."
icon = 'icons/obj/device.dmi'
icon_state = "gangtool-white"
/obj/item/devices/ocd_device/attack_self(mob/user)
var/datum/round_event/bureaucratic_error/event = new()
event.start()
deadchat_broadcast("<span class='bold'> An OCD has been activated! </span>")
qdel(src)
+8
View File
@@ -1924,6 +1924,14 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
item = /obj/item/autosurgeon/syndicate/laser_arm
restricted_roles = list("Roboticist", "Research Director")
/datum/uplink_item/role_restricted/ocd_device
name = "Organic Resources Disturbance Inducer"
desc = "A device that raises hell in organic resources indirectly. Single use."
cost = 2
limited_stock = 1
item = /obj/item/devices/ocd_device
restricted_roles = list("Head of Personnel", "Quartermaster")
// Pointless
/datum/uplink_item/badass
category = "(Pointless) Badassery"
+1
View File
@@ -1034,6 +1034,7 @@
#include "code\game\objects\items\devices\lightreplacer.dm"
#include "code\game\objects\items\devices\megaphone.dm"
#include "code\game\objects\items\devices\multitool.dm"
#include "code\game\objects\items\devices\ocd.dm"
#include "code\game\objects\items\devices\paicard.dm"
#include "code\game\objects\items\devices\pipe_painter.dm"
#include "code\game\objects\items\devices\polycircuit.dm"