Reduced the overwhelming size of items list by removing huge categories into their own separate lists; this affects /obj/item/clothing and /obj/item/weapon/reagent_containers.
Removes a bunch of unsanitary items from the spawn list.
Makes RCD quick spawn button check for spawn disabled flag since it can destroy walls and floors with impunity.
Adds cleanbot to quick spawn list.
Removes the check for the spawn flag from the dialog construction, because it is cached; if the admin turns it on during the round, people who already have a sandbox panel will be unable to use it.
Adds a disclaimer to the sandbox panel vis a vis admin disabling.
Mobs can now become bloody again...after 9 months of going unnoticed.
Credits to Mport for this fix <3
Modified code/modules/mob/living/carbon/human/human_defense.dm
Signed-off-by: carnie <elly1989@rocketmail.com>
-Fixed thunderdome blast doors not working
-Added a small dressing room to centcom so I don't have to spawn them each and every time
-Renamed some centcom areas, including the admin prison to make it easier to send players there
-New sprites for about half of the headsets:
-Cargo headset now tan instead of white, science now has a unique headset instead of using the command headset sprite (wtf?), medical headset center changed to green from blue. New sprite for medsci headsets.
-Command, centcomm, & basic headsets tweaked a bit, with better shading.
-Made descriptions for command headsets less bad.
The panel itself has been updated with subcategories and additional options. The "air regulator" option was removed because what even does that mean. The Suit Up option has been fixed, and should work properly now. Additional items include an all-access ID, RCD, flashlight, light replacer, plasteel, cable, floorbot, medbot, gas mask, and emergency air tank.
The hrefs var was moved out of global scope because that's a terrible place for something so generically named.
The Spawn Item and Spawn Canister dialogs now use a browser window instead of a pick list. This window is cached per user.
Sandbox's Spawn Airlock option gets a new interface. It allows you to pick the accesses of the new airlock, as well as its paintjob, name, glass inserts where appropriate, and an option to make the access list "require one" instead of "require all." It adds an airlock frame which can be repositioned; attack-hand-ing the airlock frame (if it has the airlock builder datum attached) will now open the window.
An administrative option has been added to the sandbox panel, which is configurable through game_options.txt. Because the item spawning uses a persistent browser window, it is susceptible to spamming. The added option forces the window closed after each item is spawned. This only affects the item and canister selection windows, and not the whole sandbox panel.
Aside from further dehumanizing criminal scum this also serves as a way of correcting the annoying behavior of suit sensors and crew monitoring computers, and chemical implants: if someone isn't wearing an ID card (which prisoners will likely have taken from them) they show up as an Unknown.
Also included a sec hud icon for the prisoner 'job'
Mech fabs were looking in their lighting sub-area to connect to equipment in their logical area; if the mech fab and the R&D computer were at different lighting levels, they would cease to be in the same area, making them fail to connect. This adds a global helper proc to return the contents of a logical area rather than the lighting sub-area.
Makes failing to connect to an R&D computer a recoverable error.
Redid a portion of how acid damage is applied. People were not being disfigured when sprayed, and contact with acid for some reason had a 15% chance to do ridiculous damage (~30 per spray puff), otherwise it did very little (~6). It should be more consistent now around the ~12 range per spray puff.
Glasses melt too, now.
Fixes that weird issue where people can take 5 laser hits to the face and still run around at 0 health until someone sneezes on them or they stub their toe.