72 Commits
Author SHA1 Message Date
Casper3667andGitHub ca66627f32 Add crate shelves (#21493)
Ports https://github.com/shiptest-ss13/Shiptest/pull/2374
The warehous has been redesigned to incorporate new shelves that can
each carry up to 3 crates. The warehouse now spawns with the crates
already on the shelves and the related code has been updated to account
for this and still spawn things inside of them.
The back room in the warehouse also lost its camera, to give a chance
for antags and other shenanigans to occur back there.

<img width="595" height="971" alt="image"
src="https://github.com/user-attachments/assets/3cf8bd17-e91b-4d32-9ae8-5e461eceee42"
/>
<img width="282" height="556" alt="image"
src="https://github.com/user-attachments/assets/100f02b0-9165-4c35-a24b-f20d9bdda30e"
/>
2025-11-03 08:09:08 +00:00
FluffyandGitHub 3185c10cf1 516 internal links (#20428)
Convert all (appropriate) links to use the required `byond://` for 516

Added a grep to detect incompatible ones
2025-02-20 22:54:10 +00:00
FluffyandGitHub 7265630dde Turn more unmanaged global vars into GLOB (#20446)
Turned a ton of unmanaged globals into managed globals.
Refactored some UT output.
Removed some unused things, including vars.
Added a test to ensure people don't keep adding new unmanaged vars.
2025-02-17 23:34:02 +00:00
FluffyandGitHub b8902e2e16 Runtime map now loads in ~11 seconds instead of ~40, sped up various other things (#19957)
Runtime map now has a bunch of new areas / items with often-tested
stuffs, and some hard-to-put-at-runtime stuffs.
Runtime map jobs now are positioned to make it faster to reach the
aforementioned often-tested stuffs.
Runtime map doesn't generate an overmap anymore by default, which speeds
up the process.
Runtime map now loads in ~11 seconds instead of ~40 seconds as it was
before.
Updated the maploader to be faster in parsing maps.
Bapi is not engaged anymore if we're only measuring the map size, which
speeds up the process.
In fastboot we do not generate the codexes anymore, which speeds up the
process.
In fastboot and if exoplanets and away sites are not enabled, we do not
parse the map templates anymore, which speeds up the process.
Updated the icon smoothing to be faster.
Optimized cargo area code.
Other optimizations.
2024-10-06 21:31:01 +00:00
FluffyandGitHub 3dc4cce9c2 Minor span refactoring (#19177)
Minor span refactoring
2024-05-19 16:37:29 +00:00
FluffyandGitHub 7a28cc1883 More optimizations (#18987)
Removed a background set.
Refactored away some world loops.
2024-04-22 11:47:23 +00:00
FluffyandGitHub 25dc248979 Updated statpanel and added client pings (#18337)
* SSatlas.current_map

* hardsuit spell tab appears to clear correctly

* sdfsa

* from the moment i understood the weakness of my flesh, it disgusted me

* sdf
2024-02-08 12:29:42 +00:00
feartheblackoutandGitHub 55ee28acf4 Passive mobs no longer spawn in the Warehouse (#18260)
* Passive mobs no longer spawn in the Warehouse

* changelog

* ChangeMe
2024-01-30 10:55:50 +00:00
FluffyandGitHub b183188689 Better logging (#16164)
* Initial

* Cleared duplicates

* More work, get rid of log_error

* more

* log_debug() to macro LOG_DEBUG

* More work

* More

* Guh

* Maybe better?

* More work

* gah

* Dear lord

* *inserts swears here*

* gdi

* More work

* More

* dear lord

* fsdfsdafs

* rsdaf

* sadfasf

* sdafsad

* fgsd

* small fuckup fix

* jfsd

* sdafasf

* gdi

* sdfa

* sfdafgds

* sdafasdvf

* sdfasdfg

* sdfsga

* asdf

* dsfasfsagf

* ihibhbjh

* fsadf

* adfas

* sdafsad

* sdfasd

* fsda

* vhb

* asf

* for arrow

* removed source file-line logging, added header for tgui
2023-08-05 21:53:11 +00:00
TheDanseMacabreandGitHub 2a0b326ade Some mob changes (#15737) 2023-02-08 11:28:49 +01:00
SleepyGemmyandGitHub 5179dad83e Removes Old Deprecated Stuff (#15241) 2023-01-02 14:27:29 +01:00
mikomyazaki 235dca7820 Horizon operations storage will now spawn cargo correctly. 2022-02-19 19:30:27 +00:00
Matt AtlasandGitHub 5bcf84cb23 Overmap exoplanet generation, ported from Bay. (#12362) 2022-01-17 22:16:48 -03:00
Jiří BaroušandGitHub 7c3aa58b6a Changes cargo defines (STOCK_ITEM_*) to fix a deep recursion (and eventual runtime) issue (#10465)
The defines now create a subtype under cargo_master for every spawner
proc and use that to define probability and register the spawner instead
of making tons of proc overrides.

This also allows for more flexibility when defining the spawners if
desired.
2020-11-07 19:31:35 +01:00
GeevesandGitHub 443f1f47f2 Multi-Z Warehouse (#9181)
Added another level to the cargo warehouse.
2020-06-23 16:16:29 +03:00
ErkiandGitHub 4b9fe64ffe fixed randomstock bug (#8360)
if there weren't tables in the area, it'd shit itself cuz it can't pick from an empty list
2020-03-04 21:39:09 +02:00
ErkiandWerner ff41b92e97 Langserver fixes, vol 2 (#7401) 2019-11-15 22:42:25 +01:00
ParadoxSpaceandWerner 6916089d4e Replaces Mice w/ Rats (#6625) 2019-07-06 00:03:35 +02:00
BurgerLUAandWerner 71635096fc Added (#5587) 2018-11-09 20:03:26 +01:00
BurgerLUAandErki 1b10bb1fe5 Temperature Reagent System (#5423)
Overview
This is the github WIP PR for the reagent system project. This is for other developers and users to track progress of the code if they're curious about it, as well as to show that it actually works.
2018-11-04 00:17:40 +02:00
LohikarandWerner 4aaee63a12 Refactor random warehouse (#5430)
* Refactor random warehouse garbage

* what do you mean cargo shouldn't get vials of lightning

* this is what I get for doing this file at 2 AM
2018-10-23 22:51:13 +02:00
AlberykandErki 9f8cfc7e87 Unapologetic Undead Buffs (#5259)
Halloween is close, and due to such, we must increase the spookyness.

This pr adds zombies. They spread via the bite, that will infect someone with a chemical, that will create a parasite, if left unchecked, it will turn the victim into a flesh eating undead.
2018-09-30 21:32:29 +03:00
BurgerLUAandWerner 03c9bd8a65 Chefs spawning with random produce (#5198)
Chefs now spawn with 8 random, commonly used produce.
2018-09-14 23:01:13 +02:00
AlberykandErki bf467f2fcd August bugfixes (#5096)
-removes the shotgun magazines things, not done properly by #5010
-fixes more secret chems showing up on cargo warehouse
-removes rainbow slime core, since there is no way you can get it, from the bounties
-fix the adhomian bread recipe
-removes the mining drone ore hunting behavior, which just ended with them falling down holes and other dumb things
-fixes #5097 by removing the bluespace leak ruin, since the bluespace walls had some bizarre interaction with simulated turfs in the asteroid, besides just pushing half of the loots into walls
2018-08-07 09:01:42 +03:00
BurgerLUAandWerner d93d155fdd Kinetic Accelerator Additions (#4965)
I want mining to be able to find some unique, powerful kinetic accelerators while out on the dig. Most of these are pretty high tier (Class B to S, or BS for short) and should be great finds for miners.

I also made it so that you can only pump the assemblies if you have two hands, and some kinetic accelerators are just too heavy to fire with one hand.
2018-08-03 00:15:55 +02:00
BurgerLUAandWerner 15b42a92aa Kinetic Accelerator Tweaks (#4949)
The results are in: Science doesn't always provide mining with kinetic accelerators. As a result of these findings, high level kinetic accelerators now have increased drop chances in the warehouse and in abandoned crates.

Also, kinetic accelerators no longer dig holes.
2018-07-20 21:30:51 +02:00
skull132 a276504130 Merge branch 'master' into development
# Conflicts:
#	maps/aurora/aurora-4_mainlevel.dmm
2018-06-17 23:19:10 +03:00
BurgerLUAandErki 9da929d4a1 Custom Kinetic Accelerators (#4802)
This is honestly one of my biggest and most ambitious projects. I hope people are happy with this.

Custom kinetic accelerators are special, customizable mining weapons that are meant to give a sense of progression, and a sense of pride and accomplishment while mining. Each custom KA is made up of 3 or 4 parts:

The Frame (5 to choose from)
The Cell (5 to choose from, +1 traitor)
The Barrel (5 to choose from, +1 traitor)
The Upgrade Chip (7 to choose from, +1 traitor)
The sprites change with each addon, they are truly dynamic and there are so many combinations of parts that a miner can have. You can have several different builds for each desired mining style, it's quite a robust system.

You can have a KA that shoots slowly, but delivers high-penetrating shots that go through several walls of rock. You can have a KA that shoots REALLY fast, but precisely destroys 1 rock at a time. You can have an absolute canon of a beast, that destroys rocks in a 3 tile radius around it.

The parts can be obtained via research, via abandoned crates, or via RNG in the cargo warehouse. There are some custom KAs that spawn on the raider's ship, on the mercs ship, and a laser one on the merc's headquarters. That laser one can also be bought from the traitor uplink as well.

ERT get a class 4 KA for use in special operations, if they choose to use it.
2018-06-17 23:02:42 +03:00
AlberykandWerner 6c3489481c Custom items 09/06 (#4874)
Custom Martian Raider T-Shirt - Caiden Moyers - tylaaaar
Senior Alchemist Robes - Eri Akhandi - paradoxspace
Solarian Alliance Military ID - Kalren Halstere - brutishcrab51
2018-06-11 12:16:39 +02:00
AlberykandErki 02913f3dc1 Custom items 16/05 (#4749)
Adds the following items:

Unathi Purple Dress - Ilaeza Marwani - burgerbb
Unathi Purple Boots - Ilaeza Marwani - burgerbb
Unathi Arm Warmers - Ilaeza Marwani - burgerbb
Clan Marwani Emblem - Ilaeza Marwani - burgerbb
Adhomian Divination Cards Deck - Klavdiya Tikhomirov - alberyk
Moon Shaped Amulet - Klavdiya Tikhomirov - alberyk
Spark Gloves - Lunea Discata - tishinastalker
Kitting Needles - Fernando Gonzales - resilynn
2018-05-16 21:34:21 +03:00
skull132 674cd94714 Merge branch 'master' into development
# Conflicts:
#	maps/aurora/aurora-3_sublevel.dmm
#	maps/aurora/aurora-4_mainlevel.dmm
#	maps/aurora/aurora-5_interstitial.dmm
2018-05-13 19:19:52 +03:00
BurgerLUAandErki aad698be53 Mental Medication Additions (#4648)
The less controversial tweaks
Tweaked the metabolism rate of mental medication to reflect their intended values. Reduced the dosage threshold to suppress traumas to reflect their intended values.

Syringe (drugs) now contains truth serum.

Cardox is now slightly poisonous, and can directly remove phoron from blood when consumed. Cardox can now remove phoron in the air when applied to turfs.

A secure box of loyalty implants, hextrasenil pills, and cardox grenades are now located in the vault.

The vault now contains some misc emergency gear that a head of staff can access in case of a dire situation. Current gear are loyalty implants, expensive cardox grenades, and Hextrasenil pills.
2018-05-13 17:39:56 +03:00
AlberykandErki 94a1af3577 Custom items 08/05 (#4698)
Adds the following items:

-Dull Headwraps - JIX - kyres1
-Dull Robes - JIX - kyres1
-Titanium Faceplate - IRD - kyres1
-BARON's Dice - BARON - iamcrystalclear
-Vasili Mine Zippo - Nikit Vasili - simontheminer
-O.R.B. cyborg sprites
-COFFIN SENTINEL cyborg sprites

Other changes:
Removes Muhawir's wallet at the player request. Delete pointless items, that were just bloat since they had no custom sprite or function of their own, and implement them with the config. Also, adds support for weighted dices, since this was needed for an item.
2018-05-09 23:56:35 +03:00
BurgerLUAandErki f197426b8c Cargo Loot Improvements (#4651)
Since the warehouse is now bigger, it would make sense to increase the amount of loot that spawns in the warehouse. This PR effectively does that, as well as removes some of the more useless items that can spawn in cargo.
2018-05-06 18:23:09 +03:00
BurgerLUAandErki 902173f22b Mental Medication Overhaul, Smoking, and Breathing Reagents (#4220)
Overview
With the new implementation of Brain Trauma, I find it would be best for the antidepressants to include some relation to it. Obviously, Lord Fowl was away ahead of me and implemented them in the update already, but not the way that I would like it to be implemented.

Antidepressants
Currently, taking antidepressants suppress brain trauma conditions, however the suppression of brain trauma is not relative to the strength and dosage of the medication much like actual antidepressants. This proof-of-concept update now introduces a framework that factors in the dosage of the medication when it comes to applying or removing brain trauma effects, as well as adds harsher penalties for missing dosages which are relative to your regular dose.

Additional antidepressants are added to the update. Antidepressants are no longer a "one pill cures all" but many pills that cures 1-4 things. There are also two additional medications that act as some sort of loyalty pill, and a pill that acts as a disloyalty pill. The messages for the disloyalty pill only express rebellious nature, and isn't meant as a pill that gives an excuse to antagonize.

The following brain traumas are no longer cured by pills:

Dumbness
Gerstmann Syndrome
Cerebral Near-Blindness
Mutism
Cerebral Blindness
Paralysis
Narcolepsy
Discoordination
Aphasia
Smoking Cigarettes and Cigars
All cigarettes and cigars have a tobacco and nicotine reagent. These reagents slowly deals minor organ damage to certain organs while acting as a very mild painkiller, antidepressant, and stimulant. Like before, cigarettes can be injected with additional medicine, however the medicine is applied over time while you're smoking it, instead of all at once. Custom cigarettes can be made in the biogenerator, our found elsewhere, and can hold up to 15 units of reagents.

Breathing
Breathing emotes are played every second. Before, being in a smoke cloud would force you to "eat" the smoke. This update fixes it so that the smoke is breathed in instead. Currently, there isn't really any change, but it adds potential for new reagent effects such as inhalers or gassing people properly. If you have a mask with internals on, you're immune to the effects.

Additional Changes
Most reagents had no effect if they had less than 0.01 metabolism. This update fixes that so that most reagents can metabolize at less than 0.01. Painkillers and other special reagents still have a similar cap.

Discussion thread: https://forums.aurorastation.org/viewtopic.php?f=18&t=10261
2018-03-25 21:51:27 +03:00
AlberykandErki 2a227dead3 Adds brass knuckles and more punching things (#4291)
This pr ports some things from polaris and vore:

-gloves can now increase unarmed attack, as well change their sharpness and etc
-adds brass knuckles, that you can wear on your glove slots and punch people for extra damage
-adds power fist, that allows you to push people around by punching their faces
-adds clawed gloves, that turns regular normie attacks into sharp ones
-adds a verbs that allows you to select a type of attack, like the language, so things like grues could select to use their claws instead of bites
-changes the price of the kneebreaker hammer
2018-02-25 23:56:30 +02:00
LohikarandErki 2d8e36544f Reagent Cleanup/Tweaks (#4301)
changes:

The reagent and recipe lists have been moved fully into SSchemistry instead of a weird ref-shared global.
The reagent list is now sorted alphabetically, which should make dialogs that involve selecting reagents much nicer to use (such as Spawn-Chemical-Cartridge).
Butanol and Ethanol now share a parent: /datum/reagent/alcohol. Alcohol is an abstract type that won't be listed in any global reagent lists, and exists purely to pool code common to both butanol and ethanol.
Butanol-based drinks can now cause hallucinations, body temperature changes, and stimulation similar to ethanol-based drinks.
Reagent init is now in SSchemistry, both code-wise and init-stage wise.
2018-02-25 20:32:53 +02:00
AlberykandErki eefbc5fc1a Fixes running around causing mental issues and more (#4169)
-fixes #4168
-fixes #4165
-fixes #4161
-fixes a missing facial hair
-fixes flags on the warehouse
-fixes a message with rings
-removes the badges from the maint spawn as some player's request
2018-01-28 00:16:55 +02:00
PacmandevilandErki b22cb0e59d [Ready for review until the inevitable map conflicts] Firing pins (#3375)
I'm going full steam ahead with this.

Adds firing pins/ Authentication mechanisms. these are needed to fire any specific weapon.

Weapons generally spawn with firing pins in them. or at least should. The exception to this is anything made in R&D - which needs to secure a firing pin from somewhere.

There's currently the following firing pins:

One that checks for a specific implant, EG a loyalty implant one.

One that always fails, and can replace other pins. (this one would likely be admin only. it's clown themed)

The Laser tag code got refactored to the pins. so each gun has a different pin. if you somehow got this pin, you could make it so you could only shoot a gun while wearing a laser tag vest, for example.

A Testing range pin, which only allows firing in specific areas - of which are mapped in currently.

A DNA locked one. and a subtype which will explode if someone else tries to use it.

the system's designed to be easy enough to add on to.

Feedback fourm is here:
2018-01-27 20:59:00 +02:00
ErkiandLohikar 6fe90002dd Up-hint and UI cleanup (#3773) 2018-01-27 12:11:22 -06:00
skull132 1e973b2d6a Merge branch 'master' into development
# Conflicts:
#	code/modules/multiz/movement.dm
#	maps/aurora/aurora-1_centcomm.dmm
#	maps/aurora/aurora-3_sublevel.dmm
#	maps/aurora/aurora-4_mainlevel.dmm
#	maps/aurora/aurora-6_surface.dmm
2018-01-21 23:51:44 +02:00
RonandErki 842f20e137 Bug Fixes (#4076)
Fixes #4074
Fixes #4047
Fixes #4005
Fixes #3995
Fixes #3953
Fixes #3855
Fixes #3426
2018-01-14 22:14:11 +02:00
AlberykandLohikar b58a3037c1 Some small fixes and tweaks (#3933) 2017-12-08 17:10:02 -06:00
AlberykandErki e7eec867bc Cargo random stock and some fixes (#3609)
-tweaks cargo random stock a bit, and removes the borg chassis that caused a lot of bugs
-fixed a wrong name in some food trash type
-fixed the slime stunbaton having no in hand sprite
2017-10-13 17:38:33 +03:00
TheGreatJorgeandWerner 0aff2d8785 Coloured lighting & related stuff (#3555)
Makes all light tubes & bulbs have colour according to the light they emit. There are 6 preset colours: RGB CMY. Any other color is possible by simply changing the already present brightness_color variable. This PR makes it so it actually changes the color of the item and wall object too.
    Added two new colour defines used only along with preset coloured lights.
    Coloured lights are only obtainable by random maintenace loot, cargo spawn or trader.
    Added box of randomly mixed light colours and box for every preset light colour.
    Removed two sets of redundant defines.
    Converted light item New() to Initialize() (hopefully correctly).
    Made couple tiny tweaks to the lights code.

EDIT, 7. Oct 2017:

    When you hit light machinery or item with paint, it will change it's brightness_color var, instead of the color var.
    Paint buckets can now paint items and people again.
    You can now wash paint off by spraying yourself with fire extinguisher or otherwise covering yourself in water.

EDIT, 8. Oct 2017:

    Removed one apparently unused global list.
    Converted pain bucket New to Initialize and changed it's pathing style.
    Shower can now wash paint too.
    Fixed paint bucket sprites to be bit more dynamic and fixed the in hand sprite. Also added bucket lid.
2017-10-10 18:46:24 +02:00
skull132andGitHub ca09aeaeef Remove Global Iterators (#2842)
Removes the global iterators, which mechs use heavily, and replaces it with standard process() calls from SSfast_process and SSprocessing.
2017-06-28 23:15:50 +03:00
Fire-and-Gloryandskull132 eb5e179990 Sprite tweaks plus Ivancarp (#2845)
The top of the Tajaran industrial mining RIG chestpiece has been lowered to no-longer obscure the Tajaran's mouth from the front when the helmet is down. (Inconsistent with sidesprites anyway.)

The Ivancarp plushie can now spawn whenever the game calls for a random plushie, and the carp himself has a chance of appearing in cargo's warehouse.

Also made the latest attempt at fixing the phasing cigarettes.

Also changed that thing where part of the face is clearly exposed on the Rescue RIG's helmet when it is ''sealed''.
2017-06-27 11:22:50 +03:00
Alberykandskull132 4552fae7f5 Removes cloaking devices (#2713)
This pr will replace the cloaking device from cargo warehouse spawn,, because they pretty much fall under the same level of bullshit as thermals and etc, with the new portable ladders.

Also, removes from the traitor uplink, because it is only used for combat it seems, defeating the purpose of being a stealth item. The chameleon projector is a better, and far less bullshit item, to cover the same purpose.
2017-06-15 12:39:06 +03:00
skull132andGitHub bdd9a14c1b Merge branch 'development' into map-development 2017-05-03 21:04:38 +03:00
Alberykandskull132 4748112358 Guard dogs (#2143)
-adds guard dogs, mobs you can command around like the wizard's bear, with basic things like attack, stay and follow
-they have a verb that allows one player to become their master, and change their name, by being near them
-added the dogs to the random cargo spawn
2017-05-02 21:53:58 +03:00