mirror of
https://github.com/goonstation/goonstation-2020.git
synced 2026-07-12 23:52:20 +01:00
334 lines
15 KiB
Plaintext
334 lines
15 KiB
Plaintext
|
|
/* -------------------- Security -------------------- */
|
|
|
|
/obj/item/storage/box/handcuff_kit
|
|
name = "spare handcuff box"
|
|
icon_state = "handcuff"
|
|
desc = "A box filled with handcuffs for your arresting needs. Or whatever."
|
|
spawn_contents = list(/obj/item/handcuffs = 7)
|
|
|
|
/obj/item/storage/box/id_kit
|
|
name = "spare ID box"
|
|
icon_state = "id"
|
|
desc = "A box filled with blank ID cards for new crewmembers or crewmembers who have lost theirs."
|
|
spawn_contents = list(/obj/item/card/id = 7)
|
|
|
|
/obj/item/storage/box/evidence
|
|
name = "evidence box"
|
|
icon_state = "evidence"
|
|
desc = "A box for collecting forensics evidence."
|
|
|
|
/* Phased out with the forensic scanner overhaul. Was useless anyway (Convair880).
|
|
/obj/item/storage/box/fcard_kit
|
|
name = "fingerprint card box"
|
|
icon_state = "id"
|
|
spawn_contents = list(/obj/item/f_card = 7)
|
|
*/
|
|
|
|
// For sec officers and the HoS. Really love spawning with a full backpack (Convair880).
|
|
/obj/item/storage/box/security_starter_kit
|
|
name = "security starter kit"
|
|
icon_state = "handcuff"
|
|
desc = "Essential security supplies. Keep out of reach of the clown."
|
|
spawn_contents = list(/obj/item/handcuffs = 3,\
|
|
/obj/item/ammo/power_cell/med_power,\
|
|
/obj/item/device/flash,\
|
|
/obj/item/instrument/whistle)
|
|
|
|
/* -------------------- Guns & Ammo -------------------- */
|
|
|
|
/obj/item/storage/box/revolver
|
|
name = "revolver box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing a syndicate revolver and ammo."
|
|
// cogwerks - i think the ammo boxes are dumb, giving the starting box more ammo
|
|
spawn_contents = list(/obj/item/gun/kinetic/revolver,\
|
|
/obj/item/ammo/bullets/a357 = 3,\
|
|
/obj/item/ammo/bullets/a357/AP = 2)
|
|
|
|
/obj/item/storage/box/detectivegun
|
|
name = ".38 revolver box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing a .38 caliber revolver and ammunition."
|
|
// Reduced the amount of ammo. The detective had four lethal and five stun speedloaders total in his closet, perhaps a bit too much (Convair880).
|
|
spawn_contents = list(/obj/item/gun/kinetic/detectiverevolver,\
|
|
/obj/item/ammo/bullets/a38 = 2,\
|
|
/obj/item/ammo/bullets/a38/stun = 2)
|
|
|
|
/obj/item/storage/box/ak47 // cogwerks, terrorism update
|
|
name = "rifle box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing a syndicate rifle and some ammo."
|
|
// this might be a terrible idea giving them so much ammo, but whatevs
|
|
spawn_contents = list(/obj/item/gun/kinetic/ak47,\
|
|
/obj/item/ammo/bullets/ak47 = 2)
|
|
|
|
/obj/item/storage/box/pistol
|
|
name = "suppressed pistol box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing a sneaky pistol and some ammo."
|
|
// this might be a terrible idea giving them so much ammo, but whatevs
|
|
spawn_contents = list(/obj/item/gun/kinetic/silenced_22,\
|
|
/obj/item/ammo/bullets/bullet_22 = 3)
|
|
|
|
/obj/item/storage/box/derringer
|
|
name = "derringer box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing a derringer and some ammo."
|
|
spawn_contents = list(/obj/item/gun/kinetic/derringer,\
|
|
/obj/item/ammo/bullets/derringer = 4)
|
|
|
|
/obj/item/storage/box/shotgun
|
|
name = "shotgun box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing a high-powered shotgun and some ammo."
|
|
spawn_contents = list(/obj/item/gun/kinetic/spacker,\
|
|
/obj/item/ammo/bullets/a12 = 4)
|
|
|
|
/obj/item/storage/box/revolver_ammo
|
|
name = "revolver ammo box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing armour-piercing (AP) revolver rounds."
|
|
spawn_contents = list(/obj/item/ammo/bullets/a357/AP = 3)
|
|
|
|
/obj/item/storage/box/revolver_ammo2
|
|
name = "revolver ammo box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing standard revolver rounds."
|
|
spawn_contents = list(/obj/item/ammo/bullets/a357 = 3)
|
|
|
|
/obj/item/storage/box/ammo38AP // 2 TC for 1 speedloader was very poor value compared to other guns and traitor items in general (Convair880).
|
|
name = ".38 AP ammo box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing a couple of AP speedloaders for a .38 Special revolver."
|
|
spawn_contents = list(/obj/item/ammo/bullets/a38/AP = 3)
|
|
|
|
/obj/item/storage/box/flaregun // For surplus crates (Convair880).
|
|
name = "flare gun box"
|
|
icon_state = "revolver"
|
|
desc = "A box containing a flare gun and spare ammo."
|
|
spawn_contents = list(/obj/item/gun/kinetic/flaregun,\
|
|
/obj/item/ammo/bullets/flare)
|
|
|
|
/* -------------------- Grenades -------------------- */
|
|
|
|
/obj/item/storage/box/flashbang_kit
|
|
name = "flashbang box"
|
|
desc = "<FONT color=red><B>WARNING: Do not use without reading these preautions!</B></FONT><br><B>These devices are extremely dangerous and can cause blindness or deafness if used incorrectly.</B><br>The chemicals contained in these devices have been tuned for maximal effectiveness and due to<br>extreme safety precuaiotn shave been incased in a tamper-proof pack. DO NOT ATTEMPT TO OPEN<br>FLASH WARNING: Do not use continually. Excercise extreme care when detonating in closed spaces.<br> Make attemtps not to detonate withing range of 2 meters of the intended target. It is imperative<br> that the targets visit a medical professional after usage. Damage to eyes increases extremely per<br> use and according to range. Glasses with flash resistant filters DO NOT always work on high powered<br> flash devices such as this. <B>EXERCISE CAUTION REGARDLESS OF CIRCUMSTANCES</B><br>SOUND WARNING: Do not use continually. Visit a medical professional if hearing is lost.<br> There is a slight chance per use of complete deafness. Exercise caution and restraint.<br>STUN WARNING: If the intended or unintended target is too close to detonation the resulting sound<br> and flash have been known to cause extreme sensory overload resulting in temporary<br> incapacitation.<br><B>DO NOT USE CONTINUALLY</B><br>Operating Directions:<br> 1. Pull detonnation pin. <B>ONCE THE PIN IS PULLED THE GRENADE CAN NOT BE DISARMED!</B><br> 2. Throw grenade. <B>NEVER HOLD A LIVE FLASHBANG</B><br> 3. The grenade will detonste 10 seconds hafter being primed. <B>EXCERCISE CAUTION</B><br> -<B>Never prime another grenade until after the first is detonated</B><br>Note: Usage of this pyrotechnic device without authorization is an extreme offense and can<br>result in severe punishment upwards of <B>10 years in prison per use</B>.<br><br>Default 3 second wait till from prime to detonation. This can be switched with a screwdriver<br>to 10 seconds.<br><br>Copyright of Nanotrasen Industries- Military Armnaments Division<br>This device was created by Nanotrasen Labs a member of the Expert Advisor Corporation"
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/chem_grenade/flashbang = 7)
|
|
|
|
/obj/item/storage/box/emp_kit
|
|
name = "\improper EMP grenade box"
|
|
desc = "A box with 5 EMP grenades."
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/old_grenade/emp = 5)
|
|
|
|
/obj/item/storage/box/stinger_kit
|
|
name = "stinger grenade box"
|
|
desc = "<FONT color=red><B>WARNING: Do not use without reading these preautions!</B></FONT><br><B>These devices are extremely dangerous and can cause limbs to experience severe damage!</B><br>Excercise extreme care when detonating in closed spaces.<br> Make an attempt to not to detonate closer than 2 meters of the intended target. It is imperative<br> that the targets visit a medical professional after usage. <B>EXERCISE CAUTION REGARDLESS OF CIRCUMSTANCES</B><br>Operating Directions:<br> 1. Pull detonnation pin. <B>ONCE THE PIN IS PULLED THE GRENADE CAN NOT BE DISARMED!</B><br> 2. Throw grenade. <br> 3. The grenade will detonate 3 seconds after being primed. <br><B>Never prime another grenade until after the first is detonated</B><br>Default 3 second wait till from prime to detonation. This can be switched with a screwdriver to 6 seconds.<br>Copyright of Nanotrasen Industries- Military Armnaments Division"
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/old_grenade/stinger = 7)
|
|
|
|
/obj/item/storage/box/tactical_kit // cogwerks - tactical as heck
|
|
name = "tactical grenade box"
|
|
desc = "A box of assorted special-ops grenades."
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/chem_grenade/incendiary = 2,\
|
|
/obj/item/chem_grenade/shock,\
|
|
/obj/item/old_grenade/smoke = 1,\
|
|
/obj/item/old_grenade/stinger/frag,\
|
|
/obj/item/chem_grenade/flashbang,\
|
|
/obj/item/old_grenade/gravaton)
|
|
|
|
/obj/item/storage/box/f_grenade_kit
|
|
name = "cleaner grenade box"
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/chem_grenade/fcleaner = 5)
|
|
|
|
/obj/item/storage/box/grenade_fuses
|
|
name = "grenade fuse box"
|
|
desc = "Contains fuses for constructing grenades."
|
|
icon_state = "grenade_fuses"
|
|
spawn_contents = list(/obj/item/grenade_fuse = 7)
|
|
|
|
/obj/item/storage/box/grenade_starter_kit
|
|
name = "grenade starter kit"
|
|
icon_state = "flashbang"
|
|
desc = "Contains grenade cases and fuses for creating grenades."
|
|
spawn_contents = list(/obj/item/grenade_fuse = 3,\
|
|
/obj/item/chem_grenade = 3)
|
|
|
|
/obj/item/storage/box/sonic_grenade_kit
|
|
name = "sonic grenade kit"
|
|
icon_state = "flashbang"
|
|
desc = "Contains five (5) sonic grenades, and a set of earplugs. Wear the earplugs before arming the grenades."
|
|
spawn_contents = list(/obj/item/old_grenade/sonic = 5,\
|
|
/obj/item/clothing/ears/earmuffs/earplugs)
|
|
|
|
/obj/item/storage/box/banana_grenade_kit
|
|
name = "banana grenade box"
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/old_grenade/banana = 5)
|
|
|
|
// For QM crate "Security Equipment" (Convair880).
|
|
/obj/item/storage/box/QM_grenadekit_security
|
|
name = "security-issue grenade box"
|
|
desc = "A box of standard-issue grenades for NT security personnel."
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/chem_grenade/pepper = 2,\
|
|
/obj/item/old_grenade/smoke = 2,\
|
|
/obj/item/chem_grenade/flashbang,\
|
|
/obj/item/old_grenade/stinger,\
|
|
/obj/item/chem_grenade/shock)
|
|
|
|
// For QM crate "Experimental Weapons" (Convair880).
|
|
/obj/item/storage/box/QM_grenadekit_experimentalweapons
|
|
name = "experimental grenade box"
|
|
desc = "A box of experimental grenades."
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/chem_grenade/very_incendiary,\
|
|
/obj/item/chem_grenade/incendiary = 3,\
|
|
/obj/item/chem_grenade/cryo = 3)
|
|
|
|
// Wasp grenades for traitor botanists
|
|
/obj/item/storage/box/wasp_grenade_kit
|
|
name = "experimental biological grenade box"
|
|
desc = "A box of experimental biological grenades."
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/old_grenade/banana/wasp = 5)
|
|
|
|
/* -------------------- Traitor Gear -------------------- */
|
|
|
|
/obj/item/storage/bowling
|
|
name = "bowling bag"
|
|
icon_state = "bowling_bag"
|
|
item_state = "bowling"
|
|
max_wclass = 3 // The bowling ball won't fit into the bowling bag!
|
|
spawn_contents = list(/obj/item/clothing/under/gimmick/bowling,\
|
|
/obj/item/bowling_ball = 4)
|
|
|
|
/obj/item/storage/football
|
|
name = "space-american football kit"
|
|
desc = "This kit contains everything you need to become a great football player. Wearing all of the equipment inside will grant you the ability to rush down and tackle anyone who stands in your way!"
|
|
icon_state = "box"
|
|
max_wclass = 3
|
|
spawn_contents = list(/obj/item/clothing/suit/armor/football,/obj/item/clothing/head/helmet/football,\
|
|
/obj/item/clothing/under/football,/obj/item/clothing/shoes/cleats, /obj/item/football = 2)
|
|
|
|
New()
|
|
if (prob(50))
|
|
spawn_contents = list(/obj/item/clothing/suit/armor/football/red,/obj/item/clothing/head/helmet/football/red,\
|
|
/obj/item/clothing/under/football/red,/obj/item/clothing/shoes/cleats, /obj/item/football = 2)
|
|
..()
|
|
|
|
/obj/item/storage/box/syndibox
|
|
name = "stealth storage"
|
|
desc = "Can take on the appearance of another item. Creates a small dimensional rift in space-time, allowing it to hold multiple items."
|
|
icon_state = "box"
|
|
sneaky = 1
|
|
var/cloaked = 0
|
|
flags = FPRINT | TABLEPASS | NOSPLASH
|
|
w_class = 2
|
|
max_wclass = 3
|
|
|
|
New()
|
|
..()
|
|
src.cloaked = 0
|
|
|
|
UpdateName()
|
|
src.name = "[name_prefix(null, 1)][src.real_name][name_suffix(null, 1)]"
|
|
|
|
attackby(obj/item/W as obj, mob/user as mob)
|
|
if(src.cloaked == 1)
|
|
..()
|
|
else
|
|
if (!isitem(W) || isnull(initial(W.icon)) || isnull(initial(W.icon_state)) || !W.icon || !W.icon_state)
|
|
user.show_text("The [W.name] is not compatible with this device.", "red")
|
|
return
|
|
src.name = W.name
|
|
src.real_name = W.name
|
|
src.desc = "[W.desc] It looks heavy, somehow."
|
|
src.real_desc = "[W.desc] It looks heavy, somehow."
|
|
src.icon = W.icon
|
|
src.icon_state = W.icon_state
|
|
src.item_state = W.item_state
|
|
src.inhand_image = W.inhand_image
|
|
boutput(user, "<span style=\"color:blue\">The secret storage changes form to look like [W.name]!<br>Use the reset command to change it back.</span>")
|
|
src.cloaked = 1
|
|
return
|
|
|
|
verb/reset()
|
|
set src in usr
|
|
|
|
if (src.cloaked)
|
|
src.name = initial(src.name)
|
|
src.real_name = initial(src.real_name)
|
|
src.desc = initial(src.desc)
|
|
src.real_desc = initial(src.real_desc)
|
|
src.icon = initial(src.icon)
|
|
src.icon_state = initial(src.icon_state)
|
|
src.item_state = initial(src.item_state)
|
|
src.inhand_image = initial(src.inhand_image)
|
|
boutput(usr, "<span style=\"color:red\">You reset the [src.name].</span>")
|
|
src.cloaked = 0
|
|
src.add_fingerprint(usr)
|
|
|
|
/obj/item/storage/box/donkpocket_w_kit
|
|
name = "\improper Donk-Pockets box"
|
|
desc = "This box feels slightly warm."
|
|
icon_state = "donk_kit"
|
|
spawn_contents = list(/obj/item/reagent_containers/food/snacks/donkpocket_w = 7)
|
|
|
|
/obj/item/storage/box/donkpocket_w_kit/vr
|
|
icon = 'icons/effects/VR.dmi'
|
|
|
|
/obj/item/storage/box/fakerevolver
|
|
name = "\improper Russian surplus munitions box"
|
|
icon_state = "fakerevolver"
|
|
desc = "A box containing an old SSSSR-manufactured revolver."
|
|
spawn_contents = list(/obj/item/gun/russianrevolver/fake357,\
|
|
/obj/item/paper/fakerevolver)
|
|
|
|
/obj/item/paper/fakerevolver
|
|
name = "Menacing note"
|
|
desc = "There's a few lines of important-looking text here."
|
|
|
|
New()
|
|
..()
|
|
var/gender = prob(50) ? 0 : 1
|
|
var/name = gender ? pick(first_names_female) : pick(first_names_male)
|
|
|
|
src.info = {"<TT>Hey, you.<BR>
|
|
Look, we got this thing cheap from some Russkie. So let me write this down for you clearly:<BR><B><font color=red size=4>IT. AIN'T. SAFE.</font></B><BR>
|
|
<BR>
|
|
[name] tested this fucking gun and it blew [gender ? "her" : "his"] goddamn brains out. I dunno why we're even sending this shit to you.<BR>
|
|
<B>Don't use it. Fuck.</B><BR>
|
|
<BR>
|
|
<I>/[prob(50)? pick(first_names_male):pick(first_names_female)]</I>
|
|
"}
|
|
|
|
/obj/item/storage/box/costume/safari
|
|
name = "safari costume"
|
|
spawn_contents = list(/obj/item/clothing/head/safari,\
|
|
/obj/item/clothing/under/gimmick/safari,\
|
|
/obj/item/boomerang,\
|
|
/obj/item/ammo/bullets/tranq_darts/syndicate = 4)
|
|
|
|
// Starter kit used in the conspiracy/spy game mode.
|
|
/obj/item/storage/box/spykit
|
|
name = "spy starter kit"
|
|
icon_state = "implant"
|
|
spawn_contents = list(/obj/item/dagger/syndicate,\
|
|
/obj/item/gun/kinetic/silenced_22,\
|
|
/obj/item/ammo/bullets/bullet_22,\
|
|
/obj/item/card/id/syndicate,\
|
|
/obj/item/device/spy_implanter)
|
|
|
|
// Boxes for Nuke Ops Class Crates
|
|
|
|
/obj/item/storage/box/demo_grenade_kit
|
|
name = "demolition grenade box"
|
|
icon_state = "flashbang"
|
|
spawn_contents = list(/obj/item/chem_grenade/fcleaner = 5)
|