Commit Graph

37918 Commits

Author SHA1 Message Date
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
Tim
e09272fae0 Fix haunted tarot deck exploit (#69234) 2022-08-19 23:51:39 -04:00
tattle
7c247bf7db Splits drinks_recipe into separate files (#69250)
* splits drinks_recipe into separate files

* moffic -> moth

Co-authored-by: tattle <article.disaster@gmail.com>
2022-08-19 23:51:16 -04:00
ShizCalev
d31c681cfa Adds new mob helper for zones, get_random_valid_zone() (#69226)
ran_zone() returns all possible zones a mob CAN have, even if they've already lost the limb.

This can result in attempting to target bodyparts that do not exist, and requires additional sanity checking (and in most cases, coders typically just default to targeting the chest which is boring.)

This adds a helper that will now randomly pick from the zones/bodyparts that the mob DOES have, and return one of them. This'll allow a bit more dynamic functionality since you won't always fall back on the chest as a target.

cl ShizCalev
qol: Added a new mob helper complementary to ran_zone() called get_random_valid_zone(), which can only return zones/bodyparts that a mob DOES have.
/cl
2022-08-20 13:04:33 +12:00
RandomGamer123
1b27caf294 Add more checks to view sensor code (#69297)
See title, these checks are based on those used by set_turf_examine_tab for the statpanel.
Fixes #68596 (in the specific case of the plasma image holder in the bug, it has MOUSE_OPACITY_TRANSPARENT)
2022-08-19 17:59:31 +03:00
VioletN
71382ded87 Fixes heretic Cleave spell hitting the target twice (#69273)
About The Pull Request

The Cleave spell was hitting the targeted mob twice as a result of the target being manually added to the list of nearby mobs and then being added to the same list a second time as a result of the following for loop. This meant that the target would receive 40 burn damage and two critical slash wounds. This fixes that.

Why It's Good For The Game

This spell was hilariously deadly beforehand, as 40 burn damage and two critical slash wounds is entirely capable of killing a person from full health within less than a minute without immediate medical attention. This appeared to be unintentional behavior.
2022-08-19 07:33:40 -07:00
ShizCalev
5e0bd49815 Adds lookup/follow links to admin canister opening message (#69281) 2022-08-19 07:32:39 -07:00
Profakos
dfdd409dcb New blade lore (#69287) 2022-08-19 03:49:29 -07:00
Seth Scherer
f1a363c825 Converts a shitload of istypes to their more concise macros (#69260)
* Converts a lot of istypes() to use their istype macro helpers.
2022-08-18 22:08:44 -04:00
tralezab
8c1366933d Fixes a fair few execute() errors in dynamic midround rulesets (#69130) 2022-08-18 17:02:40 -07:00
Jacquerel
05f97404d5 Pun Pun will not save the name "Unknown" to legacy data (#69274)
About The Pull Request

Fixes #69266
If Pun Pun were gibbed in a previous round and ended the next round either wearing a mask or husked, it would save their display name "unknown" to the ancestor data file rather than their real name.
2022-08-18 16:29:23 -07:00
tralezab
ed9e4c2067 AI improvements regarding taming and riding! (#69247)
* Cow AI improvevments and fixes for tamability and riding, no longer allowing you to grab the cow you're riding, and stopping AI cows from moving while being ridden.
2022-08-18 14:59:37 -04:00
scriptis
148e3abdf9 Nitrium no longer grants stun immunity (#69180)
Nitrium no longer grants TRAIT_STUNIMMUNE
2022-08-18 02:28:08 -07:00
John Willard
e5275ffb0f Fixes Hilbert Hotel's 'note to the institute' and Cybersun's password (#69237)
* Fixes Hilbert Hotel's paper

Initialize has to set the raw text before calling parent, as paper's base Initialize is when it checks for raw text to add onto the paper.

All other papers already follow this standard, this was just the odd one out.

* I lied, there was another case.
2022-08-17 22:32:12 -04:00
Kapu1178
dcd84e1bdc It's 2 am and im having a manic episode so i fixed hair (#69092)
* 2 am coding

* lazylists like this are stupid

* reviews
2022-08-17 17:20:04 -07:00
MrMelbert
670c472243 Fixes Social Anxiety capitalization mid-sentence words (#69233)
Fixes social anxiety having auto-capitalization
2022-08-17 13:20:09 -04:00
TerraGS
e532451438 Fix for gutlunch not eating (#69242)
* fixes gutlunch not going after target objects

* Update code/modules/mob/living/simple_animal/hostile/mining_mobs/gutlunch.dm

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-08-17 13:15:38 -04:00
ahmadsan
02f921da1d Adding tempeh (tem · pay) (#68359)
* Added tempeh

* added tempeh block, tempeh block is processable to tempeh slices, added processor recipe

* added tempeh sprite

* add missing =

* Added tempeh blend for making tempeh

* fixed a variable

* added a temp food_mixture recipe for tempehblend

* fixed a reference

* commenting something

* fixing tempeh slices

* added dots

* added sprite for all the other instances of tempeh

* added 'proper' recipe and revises description

* added actual recipe. (wip)

* finalized recipe, modified icon state name

* icon update

* merged icon

* fixing icon

* resolve conflict... i hope

* removed a file
2022-08-17 13:14:45 -04:00