[MISSED MIRROR] Converts sec armories to using the (not) random mapping spawners (#76392) (#22485)

* Converts sec armories to using the (not) random mapping spawners (#76392)

## About The Pull Request
Title.

## Why It's Good For The Game
Armories aren't really a dense area mapping wise, just a few guns there,
armor there, and some fluff security stuff (like HUDs or whatever).

This PR just converts most of the heavy stuff (armor, helmets, guns)
into spawning helpers with the aim to make mapping armories just a tad
bit quicker and easier.

The only thing this does kinda nuke is the neatly stacked stuff, which
the mapping helpers kinda suck at doing, but its not totally woeful.

## Changelog

🆑 Jolly, timothymtorres
code: Jolly: Armories across all maps have been tweaked slightly. Report
to a Nanotrasen security advisor for any missing guns, armor, helmets or
anything else that was there previously (that means, post an issue on
Github if theres an issue!!)
code: timothymtorres: Random item spawners now support better control of
their X/Y pixel offset.
/🆑

---------

Co-authored-by: Tim <timothymtorres@gmail.com>

* Adds the spawners to the modular armories where applicable

* Update random_spawners.dmi

* grr

---------

Co-authored-by: Jolly <70232195+Jolly-66@users.noreply.github.com>
Co-authored-by: Tim <timothymtorres@gmail.com>
This commit is contained in:
Bloop
2023-07-16 12:17:31 -04:00
committed by GitHub
co-authored by Tim Jolly
parent 6b731689e5
commit e6ca973aea
13 changed files with 162 additions and 806 deletions
+11 -89
View File
@@ -22702,16 +22702,8 @@
dir = 4
},
/obj/structure/rack,
/obj/item/gun/energy/laser{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/laser,
/obj/item/gun/energy/laser{
pixel_x = 3;
pixel_y = -3
},
/obj/machinery/airalarm/directional/west,
/obj/effect/spawner/random/armory/laser_gun,
/turf/open/floor/iron/dark/small,
/area/station/ai_monitored/security/armory)
"iAy" = (
@@ -23427,15 +23419,8 @@
/obj/structure/closet/crate{
name = "Outdated Weaponry"
},
/obj/item/gun/ballistic/shotgun/riot{
pixel_y = 6
},
/obj/item/gun/ballistic/shotgun/riot{
pixel_y = 6
},
/obj/item/gun/ballistic/shotgun/riot{
pixel_y = 6
},
/obj/effect/spawner/random/armory/barrier_grenades,
/obj/effect/spawner/random/armory/shotgun,
/turf/open/floor/plating,
/area/station/ai_monitored/security/armory)
"iNL" = (
@@ -41715,16 +41700,8 @@
dir = 4
},
/obj/structure/rack,
/obj/item/gun/energy/disabler{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/disabler,
/obj/item/gun/energy/disabler{
pixel_x = 3;
pixel_y = -3
},
/obj/item/radio/intercom/directional/west,
/obj/effect/spawner/random/armory/disablers,
/turf/open/floor/iron/dark/small,
/area/station/ai_monitored/security/armory)
"pox" = (
@@ -51174,24 +51151,10 @@
dir = 1
},
/obj/structure/rack,
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = 3;
pixel_y = 2
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = -3;
pixel_y = 2
},
/obj/item/clothing/head/helmet/alt{
pixel_x = 3;
pixel_y = -2
},
/obj/item/clothing/head/helmet/alt{
pixel_x = -3;
pixel_y = -2
},
/obj/item/gun/energy/e_gun/dragnet,
/obj/machinery/light/cold/directional/south,
/obj/effect/spawner/random/armory/riot_helmet,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/obj/item/gun/energy/e_gun/dragnet,
/turf/open/floor/iron/dark/small,
/area/station/ai_monitored/security/armory)
"skP" = (
@@ -54672,15 +54635,7 @@
dir = 4
},
/obj/structure/rack,
/obj/item/gun/energy/e_gun{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/e_gun,
/obj/item/gun/energy/e_gun{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/spawner/random/armory/e_gun,
/turf/open/floor/iron/dark/small,
/area/station/ai_monitored/security/armory)
"trS" = (
@@ -58920,18 +58875,6 @@
/obj/effect/turf_decal/siding/dark_red/corner{
dir = 8
},
/obj/item/grenade/barrier{
pixel_x = 11;
pixel_y = 17
},
/obj/item/grenade/barrier{
pixel_x = 2;
pixel_y = 11
},
/obj/item/grenade/barrier{
pixel_x = 15;
pixel_y = 7
},
/obj/machinery/light/cold/directional/north,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/camera/autoname/directional/north,
@@ -60728,30 +60671,9 @@
dir = 4
},
/obj/structure/rack,
/obj/item/clothing/suit/armor/riot{
pixel_x = 3;
pixel_y = 2
},
/obj/item/clothing/suit/armor/riot{
pixel_x = -3;
pixel_y = 2
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 3;
pixel_y = -2
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -3;
pixel_y = -2
},
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/riot_shield,
/turf/open/floor/iron/dark/small,
/area/station/ai_monitored/security/armory)
"vpb" = (
+12 -110
View File
@@ -855,21 +855,13 @@
/area/station/security/courtroom)
"alc" = (
/obj/structure/rack,
/obj/item/gun/energy/e_gun{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/e_gun,
/obj/item/gun/energy/e_gun{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/bot,
/obj/structure/window/reinforced/spawner/directional/east{
pixel_x = 3
},
/obj/structure/window/reinforced/spawner/directional/south,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/e_gun,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"ale" = (
@@ -38059,27 +38051,11 @@
/area/station/engineering/lobby)
"jyx" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/vest{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/vest,
/obj/item/clothing/suit/armor/vest{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/sec{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/sec,
/obj/item/clothing/head/helmet/sec{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/window/reinforced/spawner/directional/north,
/obj/effect/turf_decal/bot,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"jyz" = (
@@ -49011,35 +48987,11 @@
/area/space/nearstation)
"mmx" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/riot,
/obj/item/clothing/suit/armor/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/toggleable/riot,
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot,
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/bot,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/riot_helmet,
/obj/effect/spawner/random/armory/riot_shield,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"mmA" = (
@@ -52089,20 +52041,12 @@
/area/station/security/execution/education)
"mZH" = (
/obj/structure/rack,
/obj/item/gun/energy/disabler{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/disabler,
/obj/item/gun/energy/disabler{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/bot,
/obj/structure/window/reinforced/spawner/directional/east{
pixel_x = 3
},
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/disablers,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"mZK" = (
@@ -52932,22 +52876,10 @@
},
/area/station/security/brig)
"nlZ" = (
/obj/item/grenade/barrier{
pixel_x = -3;
pixel_y = 1
},
/obj/item/grenade/barrier,
/obj/item/grenade/barrier{
pixel_x = 3;
pixel_y = -1
},
/obj/item/grenade/barrier{
pixel_x = 6;
pixel_y = -2
},
/obj/structure/table/reinforced,
/obj/item/radio/intercom/directional/north,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/barrier_grenades,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"nma" = (
@@ -54354,20 +54286,12 @@
/area/space)
"nEW" = (
/obj/structure/rack,
/obj/item/gun/energy/laser{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/laser,
/obj/item/gun/energy/laser{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/bot,
/obj/structure/window/reinforced/spawner/directional/east{
pixel_x = 3
},
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/laser_gun,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"nEY" = (
@@ -89196,30 +89120,10 @@
/area/station/hallway/secondary/entry)
"wow" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/bulletproof,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/bot,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"woB" = (
@@ -95704,11 +95608,9 @@
pixel_x = 32
},
/obj/structure/closet/secure_closet/armory2,
/obj/item/storage/box/rubbershot,
/obj/item/storage/box/rubbershot,
/obj/item/storage/box/rubbershot,
/obj/effect/turf_decal/bot,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/rubbershot,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"xWJ" = (
+11 -101
View File
@@ -854,16 +854,8 @@
/area/station/command/gateway)
"apL" = (
/obj/structure/rack,
/obj/item/gun/energy/disabler{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/disabler,
/obj/item/gun/energy/disabler{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/red/half/contrasted,
/obj/effect/spawner/random/armory/disablers,
/turf/open/floor/iron/dark/textured,
/area/station/ai_monitored/security/armory)
"apM" = (
@@ -10923,21 +10915,13 @@
/area/station/maintenance/central/greater)
"dpX" = (
/obj/structure/rack,
/obj/item/gun/ballistic/shotgun/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/ballistic/shotgun/riot,
/obj/item/gun/ballistic/shotgun/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/window/reinforced/spawner/directional/north{
layer = 2.9
},
/obj/effect/turf_decal/tile/red/anticorner/contrasted{
dir = 4
},
/obj/effect/spawner/random/armory/shotgun,
/turf/open/floor/iron/dark/textured,
/area/station/ai_monitored/security/armory)
"dqg" = (
@@ -15289,17 +15273,11 @@
/turf/open/floor/iron,
/area/station/service/bar)
"eLE" = (
/obj/item/grenade/barrier{
pixel_x = 4
},
/obj/item/grenade/barrier,
/obj/item/grenade/barrier{
pixel_x = -4
},
/obj/structure/table,
/obj/effect/turf_decal/tile/red/half/contrasted{
dir = 8
},
/obj/effect/spawner/random/armory/barrier_grenades,
/turf/open/floor/iron/dark/textured,
/area/station/ai_monitored/security/armory/upper)
"eLS" = (
@@ -27815,35 +27793,11 @@
/area/station/security/prison)
"iSd" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/riot,
/obj/item/clothing/suit/armor/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/toggleable/riot,
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot,
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/machinery/airalarm/directional/north,
/obj/effect/turf_decal/tile/red/half/contrasted,
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/riot_helmet,
/obj/effect/spawner/random/armory/riot_shield,
/turf/open/floor/iron/dark/textured,
/area/station/ai_monitored/security/armory)
"iSf" = (
@@ -38617,19 +38571,11 @@
req_access = list("armory")
},
/obj/structure/rack,
/obj/item/gun/energy/e_gun{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/e_gun,
/obj/item/gun/energy/e_gun{
pixel_x = 3;
pixel_y = -3
},
/obj/machinery/light/directional/north,
/obj/effect/turf_decal/tile/red/half/contrasted{
dir = 4
},
/obj/effect/spawner/random/armory/e_gun,
/turf/open/floor/iron/dark/textured,
/area/station/ai_monitored/security/armory/upper)
"mqD" = (
@@ -41022,29 +40968,9 @@
/area/station/ai_monitored/turret_protected/ai_upload)
"ngC" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/bulletproof,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/red/half/contrasted,
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark/textured,
/area/station/ai_monitored/security/armory)
"ngH" = (
@@ -49263,21 +49189,13 @@
/area/station/maintenance/solars/starboard/fore)
"pHi" = (
/obj/structure/rack,
/obj/item/storage/box/rubbershot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/storage/box/rubbershot,
/obj/item/storage/box/rubbershot{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/window/reinforced/spawner/directional/north{
layer = 2.9
},
/obj/effect/turf_decal/tile/red/half/contrasted{
dir = 8
},
/obj/effect/spawner/random/armory/rubbershot,
/turf/open/floor/iron/dark/textured,
/area/station/ai_monitored/security/armory)
"pHy" = (
@@ -64574,18 +64492,10 @@
/area/station/cargo/office)
"uDt" = (
/obj/structure/rack,
/obj/item/gun/energy/laser{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/laser,
/obj/item/gun/energy/laser{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/red/half/contrasted{
dir = 4
},
/obj/effect/spawner/random/armory/laser_gun,
/turf/open/floor/iron/dark/textured,
/area/station/ai_monitored/security/armory)
"uDy" = (
+10 -100
View File
@@ -6308,18 +6308,10 @@
/area/station/maintenance/aft/lesser)
"cuY" = (
/obj/structure/rack,
/obj/item/gun/energy/disabler{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/disabler,
/obj/item/gun/energy/disabler{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/blue/half/contrasted{
dir = 4
},
/obj/effect/spawner/random/armory/disablers,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"cuZ" = (
@@ -7876,16 +7868,10 @@
/area/station/service/lawoffice)
"daO" = (
/obj/structure/rack,
/obj/item/gun/ballistic/shotgun/riot,
/obj/item/gun/ballistic/shotgun/riot{
pixel_y = 6
},
/obj/item/gun/ballistic/shotgun/riot{
pixel_y = 3
},
/obj/effect/turf_decal/tile/red/half/contrasted{
dir = 8
},
/obj/effect/spawner/random/armory/shotgun,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"daT" = (
@@ -20064,19 +20050,11 @@
/area/station/hallway/secondary/entry)
"hxF" = (
/obj/structure/rack,
/obj/item/gun/energy/e_gun{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/e_gun,
/obj/item/gun/energy/e_gun{
pixel_x = 3;
pixel_y = -3
},
/obj/machinery/firealarm/directional/east,
/obj/effect/turf_decal/tile/red/half/contrasted{
dir = 8
},
/obj/effect/spawner/random/armory/e_gun,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"hxV" = (
@@ -20315,16 +20293,8 @@
/area/station/science/ordnance/testlab)
"hBR" = (
/obj/structure/rack,
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot,
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/blue/anticorner/contrasted,
/obj/effect/spawner/random/armory/riot_shield,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"hBY" = (
@@ -49390,22 +49360,10 @@
/area/station/security/brig)
"rRf" = (
/obj/structure/rack,
/obj/item/grenade/barrier{
pixel_x = -3;
pixel_y = 1
},
/obj/item/grenade/barrier,
/obj/item/grenade/barrier{
pixel_x = 3;
pixel_y = -1
},
/obj/item/grenade/barrier{
pixel_x = 6;
pixel_y = -2
},
/obj/effect/turf_decal/tile/blue/half/contrasted{
dir = 4
},
/obj/effect/spawner/random/armory/barrier_grenades,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"rRm" = (
@@ -51491,18 +51449,10 @@
/area/station/hallway/primary/starboard)
"sDw" = (
/obj/structure/rack,
/obj/item/gun/energy/laser{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/laser,
/obj/item/gun/energy/laser{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/red/half/contrasted{
dir = 8
},
/obj/effect/spawner/random/armory/laser_gun,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"sDC" = (
@@ -56913,30 +56863,10 @@
"uwg" = (
/obj/structure/rack,
/obj/machinery/light/directional/west,
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = 3;
pixel_y = 2
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_y = 2
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = -3;
pixel_y = 2
},
/obj/item/clothing/head/helmet/alt{
pixel_x = 3;
pixel_y = -2
},
/obj/item/clothing/head/helmet/alt{
pixel_y = -2
},
/obj/item/clothing/head/helmet/alt{
pixel_x = -3;
pixel_y = -2
},
/obj/structure/cable,
/obj/effect/turf_decal/tile/blue/half/contrasted,
/obj/effect/spawner/random/armory/riot_helmet,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"uwh" = (
@@ -62657,28 +62587,6 @@
/area/station/maintenance/aft/greater)
"wya" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/riot{
pixel_x = 3;
pixel_y = 2
},
/obj/item/clothing/suit/armor/riot{
pixel_y = 2
},
/obj/item/clothing/suit/armor/riot{
pixel_x = -3;
pixel_y = 2
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 3;
pixel_y = -2
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_y = -2
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -3;
pixel_y = -2
},
/obj/machinery/requests_console/directional/north{
department = "Security";
name = "Security Requests Console"
@@ -62686,6 +62594,8 @@
/obj/effect/mapping_helpers/requests_console/supplies,
/obj/effect/mapping_helpers/requests_console/assistance,
/obj/effect/turf_decal/tile/blue/half/contrasted,
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/bulletproof_armor,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"wyn" = (
+14 -115
View File
@@ -11037,9 +11037,7 @@
/obj/effect/turf_decal/bot,
/obj/structure/rack,
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/item/gun/energy/laser,
/obj/item/gun/energy/laser,
/obj/item/gun/energy/laser,
/obj/effect/spawner/random/armory/laser_gun,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"cJh" = (
@@ -13106,16 +13104,8 @@
/obj/structure/rack,
/obj/effect/turf_decal/bot,
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/item/gun/energy/disabler{
pixel_x = 3;
pixel_y = -3
},
/obj/item/gun/energy/disabler,
/obj/item/gun/energy/disabler{
pixel_x = -3;
pixel_y = 3
},
/obj/structure/cable,
/obj/effect/spawner/random/armory/disablers,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"dnJ" = (
@@ -27439,28 +27429,13 @@
/area/station/service/library)
"hdK" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/riot,
/obj/item/clothing/suit/armor/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot,
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/sign/nanotrasen{
pixel_x = 32
},
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/riot_helmet,
/obj/effect/spawner/random/armory/riot_shield,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"hdL" = (
@@ -33422,30 +33397,10 @@
/area/station/maintenance/floor2/starboard/fore)
"iKy" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/bulletproof,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = 3;
pixel_y = -3
},
/obj/item/storage/secure/safe/directional/east,
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"iKz" = (
@@ -39953,14 +39908,8 @@
"kvk" = (
/obj/effect/turf_decal/bot,
/obj/structure/rack,
/obj/item/gun/ballistic/shotgun/riot,
/obj/item/gun/ballistic/shotgun/riot{
pixel_y = 3
},
/obj/item/gun/ballistic/shotgun/riot{
pixel_y = 6
},
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/effect/spawner/random/armory/shotgun,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"kvw" = (
@@ -56306,27 +56255,11 @@
/turf/open/openspace,
/area/station/medical/psychology)
"ozE" = (
/obj/item/storage/box/rubbershot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/storage/box/rubbershot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/storage/box/rubbershot,
/obj/item/storage/box/rubbershot,
/obj/item/storage/box/rubbershot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/storage/box/rubbershot{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/table/reinforced,
/obj/structure/sign/poster/official/random/directional/south,
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/effect/spawner/random/armory/rubbershot,
/obj/effect/spawner/random/armory/rubbershot,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"ozF" = (
@@ -57207,25 +57140,13 @@
/turf/open/floor/iron,
/area/station/commons/vacant_room/commissary)
"oMn" = (
/obj/item/grenade/barrier{
pixel_x = -3;
pixel_y = 1
},
/obj/item/grenade/barrier,
/obj/item/grenade/barrier{
pixel_x = 3;
pixel_y = -1
},
/obj/item/grenade/barrier{
pixel_x = 6;
pixel_y = -2
},
/obj/structure/table/reinforced,
/obj/machinery/camera/directional/south{
c_tag = "Armory - Interior"
},
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/structure/cable,
/obj/effect/spawner/random/armory/barrier_grenades,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"oMz" = (
@@ -57643,26 +57564,10 @@
/area/station/science/lower)
"oSf" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/vest{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/vest,
/obj/item/clothing/suit/armor/vest{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/sec{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/sec,
/obj/item/clothing/head/helmet/sec{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/sign/poster/official/random/directional/east,
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"oSg" = (
@@ -63094,14 +62999,8 @@
"qsN" = (
/obj/effect/turf_decal/bot,
/obj/structure/rack,
/obj/item/gun/energy/e_gun,
/obj/item/gun/energy/e_gun{
pixel_y = 3
},
/obj/item/gun/energy/e_gun{
pixel_y = 6
},
/obj/effect/turf_decal/tile/red/fourcorners,
/obj/effect/spawner/random/armory/e_gun,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"qsP" = (
+7 -61
View File
@@ -13068,21 +13068,11 @@
/area/station/commons/dorms)
"dSa" = (
/obj/structure/rack,
/obj/item/clothing/head/helmet/alt{
pixel_x = -6;
pixel_y = -4
},
/obj/item/clothing/head/helmet/alt{
pixel_y = 6
},
/obj/item/clothing/head/helmet/alt{
pixel_x = 6;
pixel_y = -4
},
/obj/effect/turf_decal/stripes/line{
dir = 4
},
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/engine,
/area/station/ai_monitored/security/armory)
"dSc" = (
@@ -28081,19 +28071,11 @@
/obj/item/melee/baton/security/loaded,
/obj/item/melee/baton/security/loaded,
/obj/item/melee/baton/security/loaded,
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot,
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/window/reinforced/spawner/directional/west,
/obj/effect/turf_decal/tile/dark_red/half,
/obj/structure/reagent_dispensers/wall/peppertank/directional/south,
/obj/effect/turf_decal/bot,
/obj/effect/spawner/random/armory/riot_shield,
/obj/machinery/light/cold/directional/south,
/turf/open/floor/engine,
/area/station/ai_monitored/security/armory)
@@ -31010,15 +30992,6 @@
/area/station/command/heads_quarters/qm)
"iWZ" = (
/obj/structure/table/reinforced,
/obj/item/clothing/suit/armor/bulletproof{
pixel_y = 6
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -4
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 4
},
/obj/effect/turf_decal/stripes/line{
dir = 8
},
@@ -31027,6 +31000,7 @@
},
/obj/item/storage/secure/safe/directional/east,
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random/armory/bulletproof_armor,
/turf/open/floor/engine,
/area/station/ai_monitored/security/armory)
"iXg" = (
@@ -46414,10 +46388,8 @@
/obj/item/storage/box/lethalshot,
/obj/item/storage/box/lethalshot,
/obj/item/storage/box/lethalshot,
/obj/item/storage/box/rubbershot,
/obj/item/storage/box/rubbershot,
/obj/item/storage/box/rubbershot,
/obj/effect/turf_decal/bot,
/obj/effect/spawner/random/armory/rubbershot,
/turf/open/floor/engine,
/area/station/ai_monitored/security/armory)
"njl" = (
@@ -47616,17 +47588,6 @@
/area/station/hallway/primary/fore)
"nzM" = (
/obj/structure/table/reinforced,
/obj/item/clothing/suit/armor/riot{
pixel_x = -7;
pixel_y = 5
},
/obj/item/clothing/suit/armor/riot{
pixel_y = 5
},
/obj/item/clothing/suit/armor/riot{
pixel_x = 7;
pixel_y = 5
},
/obj/structure/window/reinforced/spawner/directional/south,
/obj/effect/turf_decal/stripes/line{
dir = 8
@@ -47638,6 +47599,7 @@
pixel_x = 32
},
/obj/effect/turf_decal/delivery,
/obj/item/clothing/suit/armor/riot,
/turf/open/floor/engine,
/area/station/ai_monitored/security/armory)
"nzP" = (
@@ -76585,21 +76547,13 @@
/turf/open/floor/iron/smooth_large,
/area/station/cargo/sorting)
"vwn" = (
/obj/item/gun/energy/disabler{
pixel_y = -2
},
/obj/item/gun/energy/disabler{
pixel_y = 2
},
/obj/item/gun/energy/disabler{
pixel_y = 6
},
/obj/structure/rack,
/obj/effect/turf_decal/tile/dark_red/anticorner{
dir = 1
},
/obj/machinery/requests_console/auto_name/directional/north,
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random/armory/disablers,
/turf/open/floor/engine,
/area/station/ai_monitored/security/armory)
"vwo" = (
@@ -79983,20 +79937,12 @@
/area/station/medical/coldroom)
"wtg" = (
/obj/structure/rack,
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_y = 8
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = -5
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = 6
},
/obj/structure/window/reinforced/spawner/directional/south,
/obj/effect/turf_decal/stripes/line{
dir = 4
},
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random/armory/riot_helmet,
/turf/open/floor/engine,
/area/station/ai_monitored/security/armory)
"wtJ" = (
+11 -101
View File
@@ -5288,16 +5288,8 @@
/area/station/security/prison)
"aFA" = (
/obj/structure/table,
/obj/item/storage/box/rubbershot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/storage/box/rubbershot,
/obj/item/storage/box/rubbershot{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/rubbershot,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"aFP" = (
@@ -10052,17 +10044,9 @@
/area/station/science/lobby)
"caF" = (
/obj/structure/rack,
/obj/item/gun/energy/disabler{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/disabler,
/obj/item/gun/energy/disabler{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/window/reinforced/spawner/directional/north,
/obj/structure/window/reinforced/spawner/directional/south,
/obj/effect/spawner/random/armory/disablers,
/turf/open/floor/iron,
/area/station/ai_monitored/security/armory)
"caP" = (
@@ -26242,17 +26226,9 @@
/area/station/command/meeting_room)
"imB" = (
/obj/structure/rack,
/obj/item/gun/ballistic/shotgun/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/ballistic/shotgun/riot,
/obj/item/gun/ballistic/shotgun/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/structure/window/reinforced/spawner/directional/north,
/obj/structure/window/reinforced/spawner/directional/south,
/obj/effect/spawner/random/armory/shotgun,
/turf/open/floor/iron,
/area/station/ai_monitored/security/armory)
"ina" = (
@@ -26987,21 +26963,13 @@
/area/station/asteroid)
"iAU" = (
/obj/structure/rack,
/obj/item/gun/energy/laser{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/laser,
/obj/item/gun/energy/laser{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/stripes/line{
dir = 1
},
/obj/structure/window/reinforced/spawner/directional/west,
/obj/structure/window/reinforced/spawner/directional/east,
/obj/structure/cable,
/obj/effect/spawner/random/armory/laser_gun,
/turf/open/floor/iron,
/area/station/ai_monitored/security/armory)
"iBa" = (
@@ -42872,30 +42840,10 @@
/area/station/service/library)
"olh" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/bulletproof,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = 3;
pixel_y = -3
},
/obj/machinery/light/directional/north,
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"olw" = (
@@ -44041,15 +43989,6 @@
/area/station/ai_monitored/turret_protected/aisat_interior)
"oMM" = (
/obj/structure/rack,
/obj/item/gun/energy/e_gun{
pixel_x = -3;
pixel_y = 3
},
/obj/item/gun/energy/e_gun,
/obj/item/gun/energy/e_gun{
pixel_x = 3;
pixel_y = -3
},
/obj/machinery/camera/directional/north{
c_tag = "Security - Armory";
network = list("ss13","Security")
@@ -44057,6 +43996,7 @@
/obj/structure/window/reinforced/spawner/directional/west,
/obj/structure/window/reinforced/spawner/directional/east,
/obj/structure/cable,
/obj/effect/spawner/random/armory/e_gun,
/turf/open/floor/iron,
/area/station/ai_monitored/security/armory)
"oMU" = (
@@ -49148,34 +49088,10 @@
/area/station/solars/port)
"qEM" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/riot,
/obj/item/clothing/suit/armor/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/toggleable/riot,
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot,
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/riot_helmet,
/obj/effect/spawner/random/armory/riot_shield,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"qFf" = (
@@ -52997,14 +52913,8 @@
/area/station/service/hydroponics)
"sab" = (
/obj/structure/table,
/obj/item/grenade/barrier{
pixel_x = 4
},
/obj/item/grenade/barrier,
/obj/item/grenade/barrier{
pixel_x = -4
},
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/spawner/random/armory/barrier_grenades,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"saj" = (
@@ -86,63 +86,19 @@
/area/station/ai_monitored/security/armory)
"R" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/riot,
/obj/item/clothing/suit/armor/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/toggleable/riot,
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot,
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/turf_decal/bot,
/obj/effect/spawner/random/armory/riot_helmet,
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/riot_shield,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"U" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/suit/armor/bulletproof,
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 3;
pixel_y = -3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = -3;
pixel_y = 3
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001
},
/obj/item/clothing/head/helmet/alt{
layer = 3.00001;
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/neutral/fourcorners,
/obj/effect/turf_decal/bot,
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"X" = (
@@ -77,36 +77,16 @@
/area/station/ai_monitored/security/armory)
"q" = (
/obj/structure/rack,
/obj/item/shield/riot{
pixel_x = -3;
pixel_y = 3
},
/obj/item/shield/riot,
/obj/item/shield/riot{
pixel_x = 3;
pixel_y = -3
},
/obj/effect/turf_decal/tile/blue/anticorner/contrasted,
/obj/effect/spawner/random/armory/riot_shield,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"r" = (
/obj/structure/rack,
/obj/item/grenade/barrier{
pixel_x = -3;
pixel_y = 1
},
/obj/item/grenade/barrier,
/obj/item/grenade/barrier{
pixel_x = 3;
pixel_y = -1
},
/obj/item/grenade/barrier{
pixel_x = 6;
pixel_y = -2
},
/obj/effect/turf_decal/tile/blue/half/contrasted{
dir = 4
},
/obj/effect/spawner/random/armory/barrier_grenades,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"s" = (
@@ -210,28 +190,8 @@
/area/station/ai_monitored/security/armory)
"J" = (
/obj/structure/rack,
/obj/item/clothing/suit/armor/riot{
pixel_x = 3;
pixel_y = 2
},
/obj/item/clothing/suit/armor/riot{
pixel_y = 2
},
/obj/item/clothing/suit/armor/riot{
pixel_x = -3;
pixel_y = 2
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = 3;
pixel_y = -2
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_y = -2
},
/obj/item/clothing/suit/armor/bulletproof{
pixel_x = -3;
pixel_y = -2
},
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/bulletproof_armor,
/obj/machinery/requests_console/directional/north{
department = "Security";
name = "Security Requests Console"
@@ -273,30 +233,10 @@
"O" = (
/obj/structure/rack,
/obj/machinery/light/directional/west,
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = 3;
pixel_y = 2
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_y = 2
},
/obj/item/clothing/head/helmet/toggleable/riot{
pixel_x = -3;
pixel_y = 2
},
/obj/item/clothing/head/helmet/alt{
pixel_x = 3;
pixel_y = -2
},
/obj/item/clothing/head/helmet/alt{
pixel_y = -2
},
/obj/item/clothing/head/helmet/alt{
pixel_x = -3;
pixel_y = -2
},
/obj/structure/cable,
/obj/effect/turf_decal/tile/blue/half/contrasted,
/obj/effect/spawner/random/armory/riot_armor,
/obj/effect/spawner/random/armory/bulletproof_helmet,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"Q" = (
@@ -351,20 +291,8 @@
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
"Y" = (
/obj/item/grenade/barrier{
pixel_x = -3;
pixel_y = 1
},
/obj/item/grenade/barrier,
/obj/item/grenade/barrier{
pixel_x = 3;
pixel_y = -1
},
/obj/item/grenade/barrier{
pixel_x = 6;
pixel_y = -2
},
/obj/structure/rack,
/obj/effect/spawner/random/armory/barrier_grenades,
/turf/open/floor/iron/dark,
/area/station/ai_monitored/security/armory)
@@ -0,0 +1,67 @@
/obj/effect/spawner/random/armory
name = "generic armory spawner"
spawn_loot_split = TRUE
spawn_loot_count = 3
spawn_loot_split_pixel_offsets = 4
// Misc armory stuff
/obj/effect/spawner/random/armory/barrier_grenades
name = "barrier grenade spawner"
icon_state = "barrier_grenade"
loot = list(/obj/item/grenade/barrier)
/obj/effect/spawner/random/armory/barrier_grenades/six
name = "six barrier grenade spawner"
spawn_loot_count = 6
/obj/effect/spawner/random/armory/riot_shield
name = "riot shield spawner"
icon_state = "riot_shield"
loot = list(/obj/item/shield/riot)
/obj/effect/spawner/random/armory/rubbershot
name = "rubbershot spawner"
icon_state = "rubbershot"
loot = list(/obj/item/storage/box/rubbershot)
// Weapons
/obj/effect/spawner/random/armory/disablers
name = "disabler spawner"
icon_state = "disabler"
loot = list(/obj/item/gun/energy/disabler)
/obj/effect/spawner/random/armory/laser_gun
name = "laser gun spawner"
icon_state = "laser_gun"
loot = list(/obj/item/gun/energy/laser)
/obj/effect/spawner/random/armory/e_gun
name = "energy gun spawner"
icon_state = "e_gun"
loot = list(/obj/item/gun/energy/e_gun)
/obj/effect/spawner/random/armory/shotgun
name = "shotgun spawner"
icon_state = "shotgun"
loot = list(/obj/item/gun/ballistic/shotgun/riot)
// Armor
/obj/effect/spawner/random/armory/bulletproof_helmet
name = "bulletproof helmet spawner"
icon_state = "armor_helmet"
loot = list(/obj/item/clothing/head/helmet/alt)
/obj/effect/spawner/random/armory/riot_helmet
name = "riot helmet spawner"
icon_state = "riot_helmet"
loot = list(/obj/item/clothing/head/helmet/toggleable/riot)
/obj/effect/spawner/random/armory/bulletproof_armor
name = "bulletproof armor spawner"
icon_state = "bulletproof_armor"
loot = list(/obj/item/clothing/suit/armor/bulletproof)
/obj/effect/spawner/random/armory/riot_armor
name = "riot armor spawner"
icon_state = "riot_armor"
loot = list(/obj/item/clothing/suit/armor/riot)
@@ -19,6 +19,8 @@
var/spawn_loot_double = TRUE
/// Whether the items should be distributed to offsets 0,1,-1,2,-2,3,-3.. This overrides pixel_x/y on the spawner itself
var/spawn_loot_split = FALSE
/// The pixel x/y divider offsets for spawn_loot_split (spaced 1 pixel apart by default)
var/spawn_loot_split_pixel_offsets = 2
/// Whether the spawner should spawn all the loot in the list
var/spawn_all_loot = FALSE
/// The chance for the spawner to create loot (ignores spawn_loot_count)
@@ -52,6 +54,7 @@
if(loot?.len)
var/loot_spawned = 0
var/pixel_divider = FLOOR(16 / spawn_loot_split_pixel_offsets, 1) // 16 pixels offsets is max that should be allowed in any direction
while((spawn_loot_count-loot_spawned) && loot.len)
var/lootspawn = pick_weight_recursive(loot)
if(!spawn_loot_double)
@@ -74,7 +77,9 @@
spawned_loot.pixel_y = rand(-16, 16)
else if (spawn_loot_split)
if (loot_spawned)
spawned_loot.pixel_x = spawned_loot.pixel_y = ((!(loot_spawned%2)*loot_spawned/2)*-1)+((loot_spawned%2)*(loot_spawned+1)/2*1)
var/column = FLOOR(loot_spawned / pixel_divider, 1)
spawned_loot.pixel_x = spawn_loot_split_pixel_offsets * (loot_spawned % pixel_divider) + (column * spawn_loot_split_pixel_offsets)
spawned_loot.pixel_y = spawn_loot_split_pixel_offsets * (loot_spawned % pixel_divider)
loot_spawned++
/**
Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 88 KiB

+1
View File
@@ -1905,6 +1905,7 @@
#include "code\game\objects\effects\spawners\xeno_egg_delivery.dm"
#include "code\game\objects\effects\spawners\random\ai_module.dm"
#include "code\game\objects\effects\spawners\random\animalhide.dm"
#include "code\game\objects\effects\spawners\random\armory.dm"
#include "code\game\objects\effects\spawners\random\bureaucracy.dm"
#include "code\game\objects\effects\spawners\random\clothing.dm"
#include "code\game\objects\effects\spawners\random\contraband.dm"