Adds a new security bounty and tweaks existing security bounties. (#55952)

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
This commit is contained in:
ArcaneMusic
2021-01-09 14:23:30 -05:00
committed by GitHub
parent f0501a9014
commit 92902a798e
15 changed files with 335 additions and 213 deletions
+46
View File
@@ -56,3 +56,49 @@
forgedseal = C.crayon_color
to_chat(user, "<span class='notice'>You forge the official seal with a [C.crayon_color] crayon. No one will notice... right?</span>")
update_icon()
/obj/item/inspector
name = "in-spect scanner"
desc = "Cental commmand issued inspection device. Does company grade station inspection protocols when activated, and prints encripted sheets of paper regarding the mainenance of the station. Hard to Replace."
icon = 'icons/obj/device.dmi'
icon_state = "inspector"
worn_icon_state = "salestagger"
inhand_icon_state = "electronic"
throwforce = 0
w_class = WEIGHT_CLASS_TINY
throw_range = 1
throw_speed = 1
/obj/item/inspector/attack(mob/living/M, mob/living/user)
. = ..()
print_report()
/obj/item/inspector/attack_self(mob/user)
. = ..()
print_report()
///Prints out a report for bounty purposes, and plays a short audio blip.
/obj/item/inspector/proc/print_report()
// Create our report
var/obj/item/report/slip = new(get_turf(src))
slip.scanned_area = get_area(src)
playsound(src, 'sound/items/biddledeep.ogg', 50, FALSE)
/obj/item/report
name = "encrypted station inspection"
desc = "Contains detailed information about the station's current status, too bad you can't really read it. You can almost make out some of the words..."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "slipfull"
///What area the inspector scanned when the report was made. Used to verify the security bounty.
var/area/scanned_area
/obj/item/report/examine_more(mob/user)
. = ..()
var/list/msg = list("<span class='notice'><i>You examine [src] closer, and note the following...</i></span>")
if(scanned_area?.name)
msg += "\the [src] contains data on [scanned_area.name]."
else if(scanned_area)
msg += "\the [src] contains data on an vague area on station, you should throw it away."
else
msg += "Wait a minute, this thing's blank! You should throw it away."
return msg
+1
View File
@@ -1,5 +1,6 @@
/obj/item/restraints
breakouttime = 600
dye_color = DYE_PRISONER
/obj/item/restraints/suicide_act(mob/living/carbon/user)
user.visible_message("<span class='suicide'>[user] is strangling [user.p_them()]self with [src]! It looks like [user.p_theyre()] trying to commit suicide!</span>")