Commit Graph

37872 Commits

Author SHA1 Message Date
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
Pickle-Coding
3dd07ad539 Significant rework to hydrogen/tritium combustion. (#68230)
Changes hydrogen and tritium combustion gas reactions. Hydrogen/tritium will get consumed at 1 times the burn rate, while oxygen gets consumed at 0.5 times the burn rate, to produce 1 mol of water vapour per burn rate. Significantly changes how the reaction efficiency works. Instead of being an if check on whether there is more oxygen than hydrogen/tritium, then switching between high energy or low energy burn modes, the burn efficiency will instead just be the minimum of half the hydrogen/tritium and 1/20th of the oxygen. The reaction will burn incredibly fast and can end quickly if there is enough oxygen. The energy release of the reactions have been reduced by 90%, which makes them slightly less effective than plasma in total energy gain, but due to their reaction speed, can still be more dangerous and effective for bombs.

As a consequence for the reaction speed, you will collect less tritium when making it as more of the tritium gets consumed before getting scrubbed. The optimal bomb mix has also been changed due to the reaction changes. Generally around 12.85% tritium/hydrogen in a tritium/hydrogen + oxygen mix will give you the best results, filling the tritium or hydrogen to 325.5kPa and oxygen max pressure with portable pump. This does not account of the hot plasma you put in which might change it slightly.

Fixing the stoichiometry of hydrogen and tritium combustion means there won't be weird gas duplication and deletion when you combust then electrolyse them, and will make power balance easier. The weird binary high energy low energy burn modes are a relic of the ancient past, are confusing to understand and is just generally overcomplicated, and doesn't even achieve its job of preventing singlecaps (it actually allows classic singlecaps to be timed). The new combustion formula is much more intuitive to understand, and combined with the lower energy release, changes its purpose in combustion to be a fast reaction that releases energy quickly, rather than just being a better plasma with a weird if check.

Changes hydrogen and tritium gas reaction stoichiometry. 1 mol of hydrogen/tritium and 0.5 mols of oxygen getting consumed will produce 1 mol of water vapour.
Hydrogen and tritium burn rate has been changed to be the minimum of half the hydrogen/tritium, or 1/20th of the oxygen, rather than a binary if check on whether there is more oxygen or not.
Hydrogen and tritium energy release has been reduced by 90%.
2022-08-16 16:22:34 -07:00
Kapu1178
2eccf3cea0 Cleans up update_icons, makes the update_icon_updates_onmob element bespoke, updates CODEOWNERS (#69179)
* I just realised this is all one commit.

* hail marry

* fix.

* FIXES IT FOR REAL

* Update code/datums/elements/update_icon_updates_onmob.dm
2022-08-16 13:50:21 -04:00
RandomGamer123
e4f9afa0ae Kudzu Fixes v4, hopefully the last one: Fix kudzu possibly obtaining duplicate mutations when being planted from a seed that already has mutations (#68821)
See title, parent mutations that come from vines that came from seeds which came from a different master controller, hence the different addresses.
2022-08-16 20:11:19 +03:00
ShizCalev
847a162406 Fixes runtime when someone removes a printer's toner cartridge while it's printing (#69198) 2022-08-16 12:37:58 -04:00
necromanceranne
ddb17068b7 Stops rats spawning two every time they die. (#69223) 2022-08-16 09:05:52 -04:00
Rhials
8ade2d8d18 Fixes messages for PAI hacking cable extension (#69217)
Updates the visible messages for the PAI's extend_cable proc. They no longer speak to everyone who can see it in the first person.
2022-08-15 20:12:11 -07:00
EOBGames
6f71a7ea48 The Ambrosia of the Corporate Masses: Coffeemakers (#68178)
Adds coffeemakers to the game. These brew large quantities of coffee at a time, dispense cups and accoutrements, and work from cartridges.
2022-08-16 03:12:13 +02:00
Spookuni
ac2059eb1b Replaces non-departmental required experisci experiments with extremely expensive discount experiments (#69205)
* Required to expensive

* Historical comment removal

* rolls back departmental experiments to required

* fixes costs for rollback
2022-08-15 19:13:03 -04:00
tattle
af07799cca Log lavaland elite creation (#69206)
log lavaland elite creation

Co-authored-by: tattle <article.disaster@gmail.com>
2022-08-15 19:11:06 -04:00
Tim
90b08b4c87 Add liquid dark matter to bluespace bananas (#69207)
* Add liquid dark matter to bluespace bananas

* Buff liquid dark matter

* Add antimatter to taste description
2022-08-15 19:10:36 -04:00
Wallem
856e0a784a Updates the book scanner sprite (#69176)
Improves the book scanner sprite and adds a sound when scanning a book
2022-08-15 20:05:08 -03:00
ShizCalev
f62db18cd4 Fixes runtime when attacking liquid plasma with anything that isn't a cup.... (#69199)
* Fixes runtime when attacking liquid plasma with anything that isn't a cup....
2022-08-15 23:33:46 +02:00
John Willard
3cf5f23324 Fixes clownborg not fixing their flash (#69203)
Clownborg now calls parent on respawn_consumable, so they will now actually repair their flash like all other cyborgs. I additionally added SHOULD_CALL_PARENT to respawn_consumable to prevent this from happening again in the future.
2022-08-14 22:49:18 -07:00
John Willard
77e774d243 fixes master (#69220) 2022-08-14 23:48:06 -04:00
ShizCalev
86ed47259d Mecha spark system runtime on destruction. Fixes mecha draining infinite powercells (#69038)
* Mecha spark system runtime on destruction. Fixes mecha draining infinite powercells
2022-08-14 23:15:08 -04:00
FernandoJ8
aa2eee2ded De-hardcodes randomize_human() and fixes some related issues along the way (#68876)
* First draft on this branch. Should work.

* Whoopsie

* Some fixes

* And again

* Final draft, question mark?

* Please enter the commit message for your changes

* Uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

* please work

* Saving for the week offline

* Final draft

* Final final draft

* Oh and clean this up

* eah

* Okay, final for real.

* I lied.

* Sure thing boss

* clinclin

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

* That's all of em I think

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-08-14 19:55:13 -07:00
ShizCalev
8b39073437 mood runtime fix (#69197) 2022-08-14 19:49:24 -07:00
Comxy
94d1601d6c New Swap Spell - Wizard (#68895)
* new_swap_spell

* swap copy fixes

* small fixes

* do teleport fix

* secondary target plus fixes

* small sound fix

* More fixes
2022-08-14 19:28:35 -07:00
CursedBirb
e86982d42f Kobun the breaddog (#68906)
Adds third kitchen craftable animal - Kobun the bread dog. Currently we have Keeki the cak and Terrygold the butter bear. Keeki is best friend of sec due to frosting and Terrygold seems like second clown with its slips, Kobun is designed as help to Psychologist due to powerfull mood aura. Mood granted by aura stays as long as you are within range of aura and when you step out is expires in 10 seconds. You can trade mood aura for a possibility of wearing Kobun as hat

We already have two crafting animals, one made out of cake and another out of butter so why not add another one made out bread? Kobun was made to help people with low mood by giving it mood aura that will bring them back onto their feets
2022-08-14 15:32:47 -07:00
lnGoror
a2f0aeeba7 Fixes taste messages (#69035)
* Fixes tastes

* Fixes tastes better
2022-08-14 11:31:57 -04:00
Kapu1178
622ddda80a Small organ code clean up (#69123)
* Cleans up organ code, removing the EXTERNAL_ORGAN flag, as it can just simply use the external organ subtype instead

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-08-14 11:30:24 -04:00
RandomGamer123
f7e80ff35b Player-craftable Trapdoors (#68920)
Makes trapdoors player-craftable.
Player-crafted trapdoors have a tiny outline as well as being visible on examine. (Mapped in trapdoors have conspicuous = FALSE by default)
Trapdoors can be made by using a trapdoor kit (crafted via player crafting menu) on openspace.
Trapdoor electronics / assembly can be made via autolathe or engineering lathe.
A preloaded trapdoor remote (optional) can be made by crafting the electronics with a compact remote (from science lathe / circuit lab) and some cable coil.
Also allows unlinking trapdoors via a multitool, decreased trapdoor link range, and made some changes to trapdoor code.

Added change: Trapdoors now don't break with just a crowbar
Why It's Good For The Game

Trapdoors currently can only be added in by mappers and this would allow for a lot of interesting contraptions, while having player-crafted trapdoors be detectable provides some counterplay
Picture

trapdoorlookdemo
Changelog

cl
add: You can now make trapdoors. Craft a trapdoor kit and use it on an openspace tile to make one, then link and activate it with some trapdoor electronics (printable at an autolathe or the engineering lathe) and optionally a trapdoor remote (crafted in personal crafting menu).
qol: You can now unlink trapdoors by using a multitool on them.
balance: Trapdoors now won't break if you just crowbar them. You need to block them from closing, such as with a lattice, cover it up with a wall, or fully destroy the floor tile its on to get rid of them.
/cl
2022-08-14 12:48:55 +12:00
Twaticus
dbc2435fa5 Suit DMI split p2: Obj icons (#69174)
About The Pull Request

second part of #68417, which splits the suits.dmi, but this time focuses on obj items. everything stated in that pr applies to here aswell, it follows the same categorization.

Why It's Good For The Game

finishes the much needed splitting of suits.dmi, easing the minds of spriters everywhere and lowering the probability of future pr conflicts in this area
2022-08-13 17:13:20 -07:00
Tim
a0850b3507 Fix pirates to not be displayed on crew monitors (#69159)
Fix pirates being displayed on crew monitors
2022-08-13 18:42:12 -04:00
spessmanturtle
7514ecdb57 Add distinguishing features to HFR box icons (#69057) 2022-08-13 17:43:13 -04:00
ShizCalev
01b5b3111f Fixes Synthesizer circuit runtime (#69157)
Fixes Synthesizer runtime
2022-08-13 22:29:34 +03:00
YusufEmirKoroglu
8f03300508 Adds keyboard shell (#69105)
Adds keyboard shell.

Works very similar to the thought listener component for BCIs
It opens up an input panel when you use it (tgui_input_text)
Players with the illiterate quirk cannot use this shell. When they try to use it they get a warning message.
It's printed out as assembled (like compact remote or controller)
It can fit in a bag but not in a box
Has small capacity (SHELL_CAPACITY_SMALL)
Available after researching the Advanced Shells tech node
Can be printed from the component printer or the protolathe
Costs 2000 glass and 10000 iron sheets to print (slightly more than the controller shell)
Has 3 outputs. First one returns the entity who used the shell, second is the text that entity wrote and submitted, third one is triggered after the input window is closed. (by submitting, cancelling or just hitting the X button)
Icons (screenhots from the dream maker)
2022-08-13 22:28:32 +03:00
Imaginos16
f1c9fc3bed New Sneaker Sprites by Any%! (#69134)
imageadd: Resprites all magboots!
imageadd: Resprites Sneakers!
2022-08-13 15:23:39 -04:00
Mothblocks
9323d90a7d Vending machines now support categories (and premium/contraband is moved there), adds it to the Clothesmate (#69076)
* Initial setup and data

* Work on UI

* Final UI

* Remove TODO

* Section for categories
2022-08-13 14:27:40 -04:00
Seth Scherer
4a0847db52 Converts all research categories into defines (#69161)
* Converts all research categories into defines

* missing category + machine categories

* final things i hope

* couple issues i missed
2022-08-13 13:47:03 -04:00
Tim
4e30e6e5fd Refactor hardcoded suit sensor defines (#69164)
* Refactor suit sensor defines

* Add suit sensor define to HoS suit

* Fix sensor_mode define to be accurate
2022-08-13 13:45:47 -04:00
Seth Scherer
f5f2e54c05 Adds bear hugging! (#69168)
* Adds bear hugs to the game
adds a way of bear hugging your friends, also adds two new mood events,
a positive and negative bear hug mood event. (Negative only being
applied to those with the bad touch quirk)

* whoops + forgot to save this file

* first person not third
2022-08-13 13:44:50 -04:00
Vincent
6b91803eba Fixes Modafinil not putting you to sleep despite OD (#69169)
* Fixed Modafinil not putting you to sleep despite OD
https://github.com/tgstation/tgstation/issues/68859

* Now only removes sleep immune when it is time to sleep.
2022-08-13 13:41:50 -04:00
Tim
820dbe09b9 Remove deprecated pocket_storage_component_path var from clothing (#69166)
Remove deprecated var from clothing
2022-08-13 10:44:49 -04:00
John Willard
91628279fd Fixes some issues with deafness & earhealing (#69136)
1- Replaces checks for deafness as a clothing trait, since clothing traits' have a ref to themselves in the source
2- Makes ear healing not NOT heal if you're above 0 ear damage, because that's the point of fixing your ears?
2022-08-13 13:37:21 +08:00
ShizCalev
7fda960af3 Fixes dental implant pills not working (#69154) 2022-08-13 13:33:57 +08:00
Imaginos16
c7e5ca401c Improved Medical Tools and Medkits by Onule! (#69109)
imageadd: Completely resprites all medkits!
imageadd: Completely resprites all medical tools!
2022-08-12 16:56:58 -04:00
John Willard
4a274a6e4b [MDB IGNORE] Refactors drinks and fixes a lot of food problems (#69081)
* Makes condiments their own subtype, fixes geese, prepares for merging

* Fixes geese checking drink type instead of edible foodtype to eat gross food.
* Renames foodtype var on drinks to drink_types to prevent above from happening again because it KEEPS HAPPENING. DRINKS AREN'T FOOD!
* Makes Condiments their own subtype of reagent_containers because they don't make any use of being a subtype of food, at all.
* Starts moving things from food to /food/drink subtype in preparation for merging /food/drink with /drink

* fully removes Food subtype

* /reagent_containers/drinks are now /reagent_containers/cup - This is so it's no longer confused with eachother.
* /food/drinks is now /reagent_containers/cup/drinks, so we can keep their special abilities.
* Fixes a LOT of errors with food, which are STILL checking the reagent_containers, despite ACTUAL food being refactored away from it a long time ago.

This doesn't compile yet, but I do want to make sure my progress is well tracked.

* remove copypaste code, changes soda cans

* Removes most copy paste code between the two drinks, moving most stuff to parent whenever needed.
* Made soda cans their own subtype since they didn't share anything with glass bottles anyways.
* Fixes more problems with food/drinks, especially with geese. Geese really were just broken this whole time and no one said a word...
* Removes a snowflake signal, now that both drink types share a common one.
* Adds everything to the .dme

Currently my goal is to get this all compiling, then remove isGlass var by making glass be all glass ones only.

* Moves all icons into a single drinks dmi

I'm not that great at icon stuff, hopefully I didn't forget/break anything.

* Turns juices into their own subtype

This allows us to let them check for type in molotov, to both get rid of a use of isGlass, and so non-glass non-cartons don't show up as 'carton'.

* fixes compile issues, adds updatepaths

* a better updatepaths

* updates the damn maps now

* properly names the updatepath

* how did that get there

* i suck at handling merge conflicts

* how am i this bad

* code improvement and soda fix

* more fixes

* Don't be a timer

Ports from old food bottles to trans the reagents, rather than add a timer to.

* Merge conflicts and fixes bottle smashing

* Bottle smashing is now consistently functional regardless of how much liquid they have in them, when before it would spill first, then smash on the second hit.

* runs updatepaths again
2022-08-12 15:24:14 -04:00
MrMelbert
fc4c679380 Fixes some improper global signal use (payment component, traitor objectives) (#69131)
* Fixes some improper signal use of SEND_GLOBAL_SIGNAL()
2022-08-12 12:46:00 -04:00
twilightwanderer
625da3e6ea Fax Machine (#69083)
* Adds the Fax machine, which allows you to send and receive faxes from around the station.

Co-authored-by: twilightwanderer <twilightwanderer@users.noreply.github.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-08-12 12:33:36 -04:00
vincentiusvin
b011e723c6 Refactors operating tables to be event driven + QoL + Unit Test (#69015)
* Event driven table

* Operating computer fix + loosening of check

* Unit testing

* IT NEEDS TO BE FORCE MOVE YOU GOTTA CLIMB TABLES AAAAH

* Migrated patient to carbon instead of human
Has no real bearing on the experiments tbh

* DNAs can be null apparently

* Simplify replacement code

* Move comments
2022-08-12 10:09:07 -04:00
ShizCalev
cfacc8d901 Fixes runtime when examining xenos (#69055)
* Fixes runtime when examining xenos

* john
2022-08-12 09:48:53 -04:00
distributivgesetz
03a2167a74 Fix certain orders not working on departmental supply consoles (#69122)
regression or somethign
2022-08-12 09:47:57 -04:00
567Turtle
6705811789 mime emote consistency update (#69127)
So, you're a mime main and you've just contracted a virus which makes you sneeze, wouldn't be a problem but gasp!, some TG coder 8,000 years ago only made it so you laugh and scream silently, not the other audible emotes, this PR aims to fix that.
2022-08-12 09:45:47 -04:00
Y0SH1M4S73R
6cc161e25b Lua UI improvements (#68887)
Atomized from #68816, with a little addition. Fixes some dumb formatting issues with the lua editor, adds a "jump to bottom" button when viewing the state log, and paginates the state logs.
2022-08-12 12:06:48 +03:00
MrMelbert
261ed4e721 Fixes a copy+paste error with ladder screentips (#69108)
About The Pull Request

/obj/structure/ladder/unbreakable/rune had a copy+past error, so either all ladders were showing as "warp up / down" or all ladder runes were showing as "climb up / down", I'm not sure which as I don't use screentips, I just saw the dupe definition lint while doing the mapload PR
2022-08-11 21:01:28 -07:00