Commit Graph

37935 Commits

Author SHA1 Message Date
John Willard
3f7adcd78c Fixes breaking eggs into glasses (#69431) 2022-08-25 18:52:32 -04:00
tattle
7aac506aa0 Split mining.dmi (#69442)
* split mining.dm

* Remove a pair of unused icons

* From merge conflict

Co-authored-by: tattle <article.disaster@gmail.com>
2022-08-25 17:13:14 -04:00
MrMelbert
20bbe7cd17 Fixes runtime from bookshelves being maploaded in after SSlibrary is done instantiating (#69425)
* Fixes runtime with bookshelves loading.
- If a bookshelf is maploaded after the library subsystem is instantiated, it runtimes due to shelves_to_load being null, and no books are loaded. So, if a bookcase is maploaded after SSinit is done initializing, just load the shelf in init.

* Needs to be asyncronous.
2022-08-25 17:07:47 -04:00
ShizCalev
4dd5296cb7 Allows you to directly interact with beakers inserted in a PanD.E.M.I.C. with droppers and syringes (#69322)
Allows you to directly interact with beakers inserted in a PanD.E.M.I.C. with droppers and syringes
2022-08-25 13:07:42 -07:00
MMMiracles
acc846f0c9 adds sheep (#69318)
* adds funny sheep (need non-placeholder sprites still)

* indent this

* code suggestions

* components all the way down

* async

* sprites + reference

* think i did this right

* Update code/datums/components/mob_harvest.dm

Co-authored-by: san7890 <the@san7890.com>

* steal shiz's suggestion pt1

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>

* steal's shiz's suggestion pt2

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>

* steal's shiz's suggestion pt3

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
Co-authored-by: san7890 <the@san7890.com>
2022-08-25 09:02:09 -04:00
distributivgesetz
2f9716d4e9 [MDB IGNORE] Fix ticket machines behaving unexpectedly and causing runtimes (#69406)
* Adds a unique ID to the ticket machine in an icebox ruin, preventing it from getting mixed up with the HoP's.
* Adds more text on examining ticket machines and the tickets from them, allowing people to know what position in queue they are.
* Tickets now properly display their number, and is named after their position in queue.
* Adds more user alerts to certain actions around the ticket machine, such as when there are no more people in queue.
2022-08-25 07:18:15 -04:00
ShizCalev
da323ad2c5 Misc cell fixes (#69373)
* Fixes APCs runtiming from their cell being destroyed.
2022-08-25 06:24:07 -04:00
distributivgesetz
589460244b Fixes weakref resolving in View Variables not working (#69375)
m
2022-08-25 01:24:44 -04:00
AIUNBOLT
e4eb3e430a the express supply console now requires general cargo access instead of QM access (#69312)
* remove the access requirements

* cargo access  instead of qm access

* Update expressconsole.dm
2022-08-25 01:17:16 -04:00
MidoriWroth
7354466b42 Food Expansion 4! The great salad update and more (#69355)
About The Pull Request

This is my fourth food expansion PR, adding and changing quite a few things.
This PR will:

    Add 7 different types of salads
    Add a new ingredient supply beacon box called 'Salads', which includes ingredients used for the salad recipes
    Give cherry jelly its own container, and allow jelly to be ordered from the produce console
    Make cherry jelly actually nourish you when consumed
    Add paçoca, a Brazilian peanut candy requested by @GuillaumePrata
    Add mashed potatoes
    Add shepherds pie
    Add Cullen skink
2022-08-24 21:16:12 -07:00
Tim
473bd3804e Fix cult ghosts needing to breath (#69424)
Fixes #69415

This adds a trait to the cult ghost so they no longer need to breath and thus are immune to gas effects.

Why It's Good For The Game

Ghosts don't need to breath.
2022-08-24 20:23:14 -07:00
san7890
8a64803988 Revert "Fixes Fucked Job Requirement Displays" and "Converts Job Hour Requirements System To HOURS Define" (#69426)
* Revert "Fixes Fucked Job Requirement Displays (#69368)" and Revert "Converts Job Hour Requirements System To HOURS Define (#68856)"

This reverts commit 6f2354e694 and 5b77361d39.
2022-08-24 23:00:20 -04:00
Vanadiom
223a7f8457 Fixing Molotovs (so they actually set people on fire) to burn with style, grace and the heat of the revolution. (#69301)
* Fixes Molotovs by not making them splash from parent's ``throw_impact()``, handled instead by ``smash()``, after we do our Molotov-related activities.

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-08-24 22:59:20 -04:00
ShizCalev
9670bd85e5 Fixes cowboy boot runtime (#69418) 2022-08-24 18:55:11 -07:00
Jacquerel
b5902ce969 Fixes runtime when throwing held simplemob (#69272)
The first step (after validation) of throwing an object is to place it on the ground.
Placing a "mob holder" object on the ground causes it to release the held mob and delete itself.
A runtime would then occur as you tried to throw something which just deleted itself.

I overrode on_thrown on /obj/item/clothing/head/mob_holder so that it calls release instead of dropItemToGround and returns the held mob instead of the item.
The result is that you can now walk around with a backpack full of mice and throw them at people, just like in real life.
2022-08-24 18:50:27 -07:00
Mooshimi
8b83d887d7 Re-remove mention of shock resist from sec modsuits (#69421)
/datum/mod_theme/security

607
2022-08-24 21:36:28 -04:00
tattle
d91390a447 [IDB IGNORE] The Great Sweep: Moving dmis into subfolders (part 1) (#69416)
Moves singulo and supermatter dmis into obj/engine, renamed from obj/tesla_engine
Moves Halloween, Christmas, and misc holiday items to obj/holiday
Moves lollipops to obj/food
Moves crates, closets, and storage to obj/storage
Moves assemblies to obj/assemblies
Renames decals.dmi to signs.dmi ...because they're signs and not decals
Moves statues, cutouts, instruments, art supplies, and crayons to obj/art
Moves balloons, plushes, toys, cards, dice, the hourglass, and TCG to obj/toys
Moves guns, swords, shields to obj/weapons
2022-08-24 20:49:35 -03:00
tattle
b83c7deee4 Splitting some meat files (+ bonus fixes) (#69386)
* split up meat.dm

* minor coffeemaker fixes

* putting pig meat in its place

Co-authored-by: tattle <article.disaster@gmail.com>
2022-08-24 17:45:22 -04:00
vincentiusvin
cfddfb5c8c [NO GBP] Fix NT Frontier Partner Typo & Better Experiment Descriptions For Ordnance (#69408)
* Fix typo

* Better descriptions

* Fix errant the

* Better perf hint
2022-08-24 17:38:33 -04:00
san7890
4c4cd801ce Allows Brig Subtypes To Be Usable for Departmental Orders (#69411)
* Allows Brig Subtypes To Be Usable for Departmental Orders

Hey there,

I saw an odd thing on IceBox the other day, where they couldn't deliver the departmental order crate because they were trying to open it in `/area/station/security/brig/upper` and not `/area/station/security/brig`. When they went down a z-level and opened it in the correct area, it worked perfectly fine. However, I think it's a bit obtuse, and this sort of thing might only get worse as multi-z maps become more dominant. So, let's apply a code solution by making the areas list read off typesof for the department_delivery_areas for security crates.

* typesof didn't actually work, we go explicit now
2022-08-24 17:36:04 -04:00
Tastyfish
5857c95180 [MDB IGNORE] Adds elevator floor indicator (#69413)
* Adds lift floor indicator

* bump stuck ci
2022-08-24 17:33:33 -04:00
san7890
ab1d99dc56 Adjusts Charcoal Stylus Crafting Time to use SECONDS (#69414)
Hey there,

I was code-diving looking, and apparently we have these nifty pencil analogues. However, they used a decisecond time define instead of the nice SECONDS macro, which is not nifty. Let's fix that real fast.
2022-08-24 17:27:48 -04:00
LemonInTheDark
ace622fbec Replaces a manual destroy call with qdel (#69400)
detach is called on Destroy so this is safe
2022-08-24 14:06:36 -07:00
Imaginos16
1d8e10b536 New Fax Resprite by Imaginos! (#69397)
imageadd: Resprites fax machines!
2022-08-24 08:36:17 -04:00
Y0SH1M4S73R
57b10fcb64 Bumps auxlua to 1.2.1 (+ several other ui fixes and qol tweaks) (#69271)
* preparations for self-referential list conversion

* additional changes for the auxlua 1.1.1 update

* fixed a type in `SS13.await`

* bumps auxlua to 1.2.0

* bumps auxlua to 1.2.1
2022-08-23 23:21:39 -07:00
scriptis
fc4d7d18f5 Fixes tesla blast (#69394)
Currently, if you invoke tesla blast, it gets stuck on channeling forever. This is due to an oversight in the new spell/action system; returning TRUE (1) is the same as returning SPELL_CANCEL_CAST (1), resulting in the spell being erroneously cancelled without any cleanup.
2022-08-23 23:20:43 -07:00
RandomGamer123
c7e03e4048 Add silicon human spremacy override config, fixes #68957 (#69293)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-08-23 23:20:19 -07:00
ShizCalev
b477a620e5 Limb targeting fix (#69405)
* makes targeting limbs work again
2022-08-23 21:17:30 +02:00
san7890
6f2354e694 Fixes Fucked Job Requirement Displays (#69368)
* Fixes Fucked Job Requirement Displays

Hey there,

I fucked up in #68856 (5b77361d39). We weren't supposed to add another MINUTES multiplication here. I don't even remember why I did this if we are being perfectly honest with each other. Whoops.

fix: You should now no longer need thousands of hours to unlock your favorite head of staff role.
2022-08-23 07:45:10 -07:00
ShizCalev
3ba4d4784f adds location atom to deletion message (#69372)
Helps with debugging to know that a flash was deleted from engi borg #424 at robotics than just a flash was deleted at X,Y,Z.
2022-08-23 07:35:47 -07:00
ShizCalev
e2e6e89e5b Gives drones more basic engineering tools (multitool, RPD, scanner, t-ray) (#69364)
* Gives drones multitools, t-ray scanners, analyzers, and an RPD to their default kit.
2022-08-23 09:32:30 -04:00
san7890
42e0275d86 Obstructed Vents and Scrubbers? - Debug Them Out! (#68890)
* Obstructed Vents and Scrubbers? - Debug Them Out!

Hello there,

In _May of 2014_, Ikarrus wrote the following (here)[https://tgstation13.org/phpBB/viewtopic.php?f=11&t=327]:

"Avoid placing scrubbers and air vents under objects. It's better to leave them in the open and visible so people can use them."

How far we have fallen. However, during a review I did in the last week, I accidentally let one of these (in multiple occurrences!) slip past me:

I don't want that to happen again. It's especially hard when they're under tables, or big bulky lockers, and under computers sometimes! They're not obvious to the human eye, so we must rely on technology. This creates a new Debug Mapping Verb that will flag out any vent, scrubber, or canister port that is being obstructed by an invalid object (directionals and undertiles are excluded). It will be a gargantuan effort unlike anything you've seen to get rid of all of them, but at least this is the first stone in a grand arch.

* Updates some variable names, adds some more logging

* Update code/modules/admin/verbs/mapping.dm

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>

* Update code/modules/admin/verbs/mapping.dm

* no more single letter var

* early continue

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-08-23 01:07:26 -04:00
Pickle-Coding
f9bd1351be Reduces CO2 heat penalty to 2, from 6, and halves the zap power boost. (#69145)
Reduces CO2 heat penalty to 2, from 6, and removes the power transmission bonus. A heat penalty of 2 seems low, but the heat produced is also scales power, which CO2 increases, and is still 4 times higher than old CO2 (0.1, but gets clamped to the minimum value of 0.5).

Most engineers have a skill issue with CO2 before they can let its powerloss inhibitors to have a significant effect. Unless someone tries to intentionally sabotage with CO2, the skill issues will just make CO2 look like another high heat penalty gas, which is boring as it masks its gimmick of reducing powerloss. The high heat penalty made it produce more gas, which lowered CO2 composition, so it hard a harder time staying in the high power levels, and the high power levels were a unique danger for CO2 engines due to its more destructive zaps and anomalies.

I think the effect of having a skill issue when it reaches the dangerous power levels is a lot more interesting than having a skill issue at normal power levels, as high power delams are significantly more dangerous than low power delams.

Removing its power transmission (multiplier for power gained when teslas absorb the zaps, not the supermatter's power) will mean that CO2 will provide no benefit unless it is put at the composition to raise its power levels, which should bring CO2 usage back to its more interesting purpose of powerloss inhibition.
2022-08-22 20:54:31 -07:00
Rhials
151b95c78e Bananas now have a 1% chance of spawning with the boomerang component (#69325)
Bananas now have a 1% chance to be bananarangs on initialization. The description is altered to make it slightly easier to notice, but otherwise there is no indication beyond throwing it.

bananarang hehe :)

Can be used for entertainment, bargaining, or engaging with a rarely seen component within the sandbox.


Bananas now have a 1% chance to be boomerang-bananas. These look identical to normal bananas, aside from a slightly unique examine text. Make sure to check your bananas before peeling it to slip the HOS, you may just have a rare item on your hands.
2022-08-22 18:10:53 -07:00
Yaroslav Nurkov
4bb7bd834f Adds a few types of asian dishes (#69299)
add: Added a meat and fish poke
2022-08-22 19:44:50 -04:00
Tim
af8d5ffcf0 Fix protolathe displaying duplicate stock parts categories (#69286)
Fix lathe duplicate stock parts categories

The lathe was displaying duplicate stock part categories after the refactor in #69161. This should fix it.
2022-08-22 14:25:58 -07:00
Seth Scherer
c6a48b1f82 Refactors z level trait checking to be less shit (#69334)
* Puts level traits and their associated z into a list and then uses it to make the z level trait procs less shit. They no longer need to loop through every z level to do what they aim to do.

* Also removes get_level from level_trait because it just does the same checks as already done above in the proc.
2022-08-22 16:45:06 -04:00
EOBGames
540afdc04b Coffeemaker Fixes (#69347)
Fixes issues with coffeemakers, as detailed in #69344:

    Adds coffeemaker boards to the techweb.
    Readds sprites for coffee cartridges, which were lost due to merge skew with 

    Adding tempeh (tem · pay) #68359.
    Fixes the in-map-editor sprite, which was set to an invalid value.

The others were either unreproducible (I attempted on live, and could not find an issue that lead the coffeemakers to not work) or are simply not something promised in the original PR (they were deliberately not added to maps to avoid the otherwise inevitable map merge conflicts that would arise, and the sprites are the best I can personally muster).
2022-08-22 13:06:49 -07:00
LukasBeedellCodestuff
714a1cfd77 Ports rideable pigs from Aether (With changes to make them basic mobs) (#69248)
Adds rideable pigs from aether(With changes to make them basic mobs)
Pigs now drop pork, and you can cook it into pork chops.
2022-08-21 22:36:17 -07:00
Mothblocks
cc0179522b Check for compliant JSON before receiving payload (#69023)
About The Pull Request

This was denied in the past for perf reasons, but I want to test how much this actually reduces perf.

rustg_json_is_valid checks for two things.

    It checks that the data isn't too nested. This could easily be removed if it causes perf problems, since it's an extra O(n) check of its own. It was for a BYOND exploit that is now fixed.
    It checks for JSON compliancy. It is backed by serde_json, which does not allow NaN, whereas BYOND is incompliant.

This does not lady_beetle ribbon 𝒻𝒾𝓍 ribbon lady_beetle #69017, because that is doing an extra text2num for no reason. If it didn't (like it shouldn't), then this would fix it.

Will be test merged on Manuel but not Sybil--CC @LemonInTheDark help me on figuring out the perf cost of this. If it's noticable then we can test with removing the depth check.
2022-08-22 16:01:47 +12:00
IndieanaJones
ed4ffde5f4 Space Dragon Antag Datum Refactor Take 2 (#68988)
* Space Dragon Antag Datum Refactor Take 2

Space Dragon's antag datum and the mob has been separated, so it is now possible to have non-dragon space dragons, with customizable spawned mobs and factions.
2022-08-21 22:08:09 -04:00
san7890
5b77361d39 Converts Job Hour Requirements System To HOURS Define (#68856)
* Converts Job Tracking System To HOURS Define

Hey there,

So, we stored everything in minutes without it being clear that it was supposed to be in minutes aside from a comment and a define. So, I decided to clean up some of the math by using the HOURS and MINUTES macros, and it should be a lot clearer to read and understand,  I hope.

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-08-21 19:35:13 -04:00
ShizCalev
50f8a03502 Converts a bunch of things over to get_random_valid_zone() (#69331)
refactor: A bunch of things that used to not do anything (or just fall back on the chest) when targeting a limb that someone was missing will now be far more likely to attack another limb!
2022-08-21 16:27:12 -07:00
Microvolnovka19
fa50728e4d Upgrade mortar, so it gives user an option to either grind or juice. (#69186)
So this idea came to me, when I tried to grind Korta nut into Korta Flour in mortar. I failed and my dissapointment was immeasurable. Someone thought this was very smart to JUICE first, and if it's not juiceable, only then grind it.

The solution is presented on the images below. Now you can choose to either grind or juice with the Stylish radial menu.

Mortar now gives you an option. Do you want to grind or juice your thing?
2022-08-21 15:49:10 -07:00
MrMelbert
4bee1e7c3b Examining shoes no longer calls parent twice (#69321) 2022-08-20 17:59:26 -04:00
MrMelbert
ec1c311664 Fixes storage mass transfer being generally broken, adds mass transferring onto griddles (#69084)
* - Fixes storage mass transfer
- Brings some sanity to storage procs
- Implements a griddle feature that never was

* Uncomment this

* Right-click attack fix

* Scoop fix

* Smartfridges use silent

* Restores some lost checks

* Fixes storage implants
2022-08-20 17:35:11 -04:00
MrMelbert
5eedd7aeb1 Fixes runtime when a bodypart recieves damage while disconnected from a body (#69309)
Fixes bodypart recieve damage runtime
2022-08-20 14:20:30 -04:00
ShizCalev
5dfeaadd7f Fixes Abyssal Gaze always being valid to cast (#69311) 2022-08-20 14:19:26 -04:00
MrMelbert
479e01f444 Makes TRAIT_BOMBIMMUNE a non-species trait (why was it a species trait no species used it whyyy) (#69313)
* Makes trait_bombimmune less dumb

* This cast is no longe necessary
2022-08-20 14:18:27 -04:00
tralezab
39885334ea Removes Thieves (#69304) 2022-08-19 21:39:58 -07:00