Commit Graph

37403 Commits

Author SHA1 Message Date
Fikou 5be8bde77f floating movement type now stops slips (#67694)
* float movement type now stops slips

* weh
2022-06-12 12:47:51 -04:00
Kapu1178 e07e5f1a9b Unfucks uniforms (real). And adds a code comment to hopefully prevent this happening again. (#67723) 2022-06-11 20:03:18 -07:00
MrMelbert 2b2bb0d275 Gets rid of the Druggy var on /living, "fixes" Earthsblood (#67668)
Kill the druggy var
2022-06-11 21:57:31 -04:00
castawaynont 95ac42fd32 Gives the space ninja MODsuit a storage module (#67673)
* adds storage

* passive

* fuck u fikour
2022-06-11 21:56:18 -04:00
vincentiusvin af29d599ae [NO GBP] Fix superconduction overflow (#67684)
* Documentation, parentheses, and more

* Better comment for the inside multiplication

* Even more parentheses

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>

* Nicer commenting methinks

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2022-06-11 21:55:22 -04:00
robbertapir 902eaffe69 Fixes igniters, stunprods and teleprods not working properly (#67682)
makes igniters not runtime when activated outside a holder

Co-authored-by: robbertapir <robbertapir@airmail.cc>
2022-06-11 21:53:59 -04:00
Andrew fc540a26cc Night shift lights use power according to the brightness (#67667)
* Night shift lights use less power,
The last three APC buttons have tooltips

* suggested grammar fix
2022-06-11 21:35:57 -04:00
Rhials ff0046c747 DISABLE_NON_OBSJOBS now only toggled if nuke actually blows up the station (#67660)
job fix
2022-06-11 21:27:34 -04:00
Jolly 29fd14a7ff Adds handled_by_bodytype var and override back to human_update_icons.dm (#67657)
* oopsy whoopsy

* kapus comment

* undos that
2022-06-11 21:21:28 -04:00
Tim 7f92d9a0de Move and split hallucination code to module (#67642)
* Move hallucination code to module

* Remove Hallucination.dm
2022-06-11 21:16:42 -04:00
kawoppi 5e4090e020 moves the JaniDrobe refill from the General Wardrobes Supply Crate to its own supply crate (#67636)
split janidrobe resupply from general supply crate
2022-06-11 21:10:15 -04:00
Fikou 6732c4fda6 fixes ninja naked outfit and sec mod theme mentioning shockproofness (#67693) 2022-06-11 17:25:15 -07:00
Mothblocks f82b5b320b Fix thieves icon (#67692)
* Fix thieves icon

* Update screenshot tests
2022-06-11 17:57:28 -04:00
John Willard 4ce93362f1 Fixes warp whistle's cooldown (#67671)
* When I refactored Warp whistle, I vividly remember removing ``whistle.whistler = null`` in the tornado's Destroy, because I thought the warp whistle itself deals with it, but I was entirely wrong. This reference to whistler remained, and made it impossible to re-use the whistle after the first time.
* Additionally, because the whistle can't be used while there was already a whistler, which is only cleared after the tornado is destroyed (which is 10 seconds, compared to warp whistle's 4 second cooldown), I removed the warp whistle cooldown entirely, only checking if the warp whistle no longer has a whistler- so the tornado is destroyed.
* Because of this new cooldown timer, I brought down the duration of the tornado's existence (and therefore the cooldown) down to 8 seconds.
2022-06-11 03:44:59 -07:00
MrMelbert c34afedcfc Fixes Novaflowers not lighting people on fire, again. Unit tests it. Cleans up some unique plant genes stuff too. (#67597) 2022-06-11 02:04:32 -07:00
MrMelbert a6b4a4354f Fixes attacks on mech equipment ignoring armor / melee damage, also fixes mech equipment not being disabled at 0% health, also also unit tests mech armor (#67411) 2022-06-11 02:01:23 -07:00
Tim 4e347c21a6 Add disease resistance effects for spaceacillin (#67448)
About The Pull Request

Spaceacillin is currently an under utilized medical chem. Its only effect is to stop a person who is already infected from spreading an airborne disease.

My changes add the following when someone has taken spaceacillin:

    Infected mobs slow down disease progression by 50%
    Uninfected mobs have a 75% chance to block being infected
    Uninfected mobs have a 75% chance to block zombie infection when attacked
    Impregnated mobs that have an alien larva slow down larva growth by 50%

Why It's Good For The Game

Gives spaceacillin more utility since it was such a niche thing.
Changelog

cl
add: Add disease resistance to spaceacillin. It now gives 50% disease progression slowdown, 75% to block disease infection, 75% to block zombie infection when attacked, and 50% alien larva growth slowdown.
/cl
2022-06-11 12:45:13 +12:00
Mothblocks 7cab049dd1 Screenshot tests (#67679)
Adds screenshot visual testing workflow and scripts.
2022-06-11 00:02:30 +02:00
Tom 6a7f93216e Nerfs pre-loaded pacman plasma sheets (#67614)
* PACMANs are now loaded with 15 sheets of plasma roundstart, brought down from 50 sheets.
2022-06-10 09:30:18 -04:00
Watermelon914 b03c3e005f Fixes skip time button on the steal objective (#67637)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2022-06-10 03:40:25 -07:00
Andrew 781101eca8 More informative portable pump button label (#67321)
Replaced the In/Out button of the portable pump with a proper description of gas mix source and destination.

It also is yellow when pumping into area

Reduces the number of atmospheric fuck-ups... Is this actually good for the game?
Portable pump In/Out button text replaced with source and destination.
2022-06-09 22:30:25 -07:00
MrMelbert 3c8b666b35 Refactors Gunlight / Helmetlight to be a component (#67517)
Atomized from the proc holder PR

    Refactors gunlight / helmet light to be a component.
        They just copy+pasted code between each other and it was really annoying. I was working on fixes for the proc holder PR and noticed this (had to make the same fix for two things).
    Moved Mind Monkey Helmet to its own file
    Balloon alerts for seclite attachment / removal

One may be able to genericize this even further and put the bayonet behavior on this as well. Future idea.
Why It's Good For The Game

Cleaner, less copy pasted code.
Changelog

cl Melbert
refactor: Gunlight / Helmetlight behavior is now a component.
qol: Gunlight / Helmetlight now uses balloon alerts.
/cl
2022-06-10 16:34:24 +12:00
John Willard d2e499956f Space dragon despawning empties their contents (#67630) 2022-06-09 20:46:27 -05:00
oranges f11af8be92 ooga's go down, fixed rand, not recalculating every tick, Novaa I banged ur mum (#67594)
* I'm on levels of existence that are byond anything your mortal mind can
even comprehend

in otherwords, this is to go even further byond

SS2

* Update code/modules/mob/living/simple_animal/hostile/gorilla/gorilla.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>

* Safety first motherfucker

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2022-06-09 12:14:19 -04:00
Pinta 3179da7ddd Cleans up Auto-Doc comments in living_defines. (#67608)
Update living_defines.dm
2022-06-09 00:25:59 -04:00
Tom c684521272 Fixes donksoft toy vendors (#67610) 2022-06-08 20:27:05 -04:00
Pickle-Coding d73566d7c0 Fixes bzformation. (#67602)
Webedit PR incoming!

Not sure what was going on there, but I am pretty sure they meant to used N2O moles for this instead of plasma gas datum for arithmetic.

So bzformation actually creates BZ and possibly decompose n2o instead of attempting to divide by a list then runtiming
2022-06-08 13:16:06 -07:00
13spacemen 94f0f5d64e Examine Hints For Reagent Tanks (#67601)
adds examine hints to reagent tanks for leaking and rigging
2022-06-08 10:45:15 -04:00
robbertapir 4393879777 Prevents negative mats (#67582)
* Prevents negative mats from the ore redemption machine.

Co-authored-by: robbertapir <robbertapir@airmail.cc>
2022-06-08 10:11:17 -04:00
robbertapir 6a45744109 time limit for sec/medhud examine button use (#67508)
* Medical and Security HUDs now expire one minute after use, also does general code improvement in the HUD file by removing single letter vars.

Co-authored-by: robbertapir <robbertapir@airmail.cc>
2022-06-08 10:09:55 -04:00
GuillaumePrata 018a12e197 New Event: Gravity Generator Blackout (#67562)
* New station event: Gravity Generator blackout. Similar to Telecommunications blackout, but it takes Gravity out instead.
* Also adds this functionality to the gravity anomaly, if it isn't neutralized in time, gravity will go out.
* Lastly, added a gravitational anomaly vox sound.
2022-06-08 10:06:31 -04:00
Watermelon914 dbd7f9ee57 Reduces the point reduction on traitor objectives significantly (#67385)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2022-06-08 03:17:51 -07:00
MrMelbert 3c584fd8d7 Fixes / makes it more clear about why research servers might not be generating research points. (#67458)
* Fixes research severs a bit, adds text for missing hard drives, and removes a ton of unused code.
2022-06-07 22:24:12 -04:00
ATH1909 0ca8ba3a0b cloaks can now initiate surgeries (#67575)
lets cloaks initiate surgery
2022-06-07 21:59:43 -04:00
SmArtKar e1a9f6bd92 Fixes fire hallucination icons (#67472) 2022-06-07 21:56:42 -04:00
Iamgoofball aebd156a43 CARGONIA THE FREE: The Quartermaster is now a head of staff. (#67518)
* The Quartermaster is officially a head of staff, with new accesses, a silver ID, ect ect.
* The HoP lost their cargo-related equipment and access, including the Vault monitor, and frequency.
2022-06-07 21:38:02 -04:00
Tim cdf0a3c58a Add hallucinogen poison to frog attacks (#67572)
* Add frog hallucingen effects

* Add frog to venomous code comment
2022-06-07 21:34:23 -04:00
zxaber e1e47ac40a Re-adds the Concealed Weapon Bay (#67414) 2022-06-07 17:44:00 -07:00
Paxilmaniac af26ac0d38 Allows autolathes to print solar assemblies and tracker electronics (#67591)
this man pays NOTHING on electric bills, figure out how
2022-06-07 19:33:14 -04:00
Tastyfish 3f3d337d7b Massive plumbing layer/placement improvements (#66602)
* Massive duct improvements

* last minute fixes/additions to plumbing layer fixes

* letter, loop, and early return fixes

* early continues

* color comments

* reaction chamber colors

* rcd tweaks

* Update code/datums/components/plumbing/reaction_chamber.dm

* Update code/datums/components/plumbing/reaction_chamber.dm

* Update code/datums/components/plumbing/_plumbing.dm

* Update code/datums/components/plumbing/_plumbing.dm

* remove unused var, better duct restacking

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-06-07 19:30:18 -04:00
John Willard 1fcb7fec67 Material holding machines can't connect to ore silos on different z levels (#66953)
The station's ore silo can't connect to machines that are off the station z-level anymore. This doesn't affect multi-z stations.
Also includes ore silo code improvement because I was unhappy with it.
2022-06-07 11:24:38 -07:00
Kylerace 040c664ec2 fixes inconsistent lighting ci failure in icebox (#67430)
Fixes and adds test for get_pixel_turf returning null on tall objects on top of the map.
2022-06-07 20:19:54 +02:00
Tim 8576db2f32 Add Russian Roulette memories and moods events (#66051)
About The Pull Request

This adds memories to a nearby audience if someone is playing Russian Roulette with a loaded gun. The person who wins or loses also gains a positive or negative mood event that is long lasting. All of these events only trigger if the person playing is targeting a lethal area.
Why It's Good For The Game

Being able to add Russian Roulette to engravings would be pretty cool.
Changelog

cl
qol: Playing Russian Roulette with lethal intent now creates a mood event for the user and is engrained in any nearby peoples memories. The more bullets the better the memory and mood boost.
/cl
2022-06-07 21:25:11 +12:00
Tim f06d735a52 All AI Lawsets are rebalanced, can be researched, appear in config, and random spawners for AI upload. (#66854)
This formally adds the new AI lawsets from #66636 into the game. Every lawset can
be researched, appears in config, and random spawners.
2022-06-06 22:54:29 -07:00
SnoopCooper 499f02a77e Reworks the BZ reaction slightly (#66583)
Makes BZ reaction rates between pipes and turfs consistent. Removes O2 production from the BZ reaction. Also fixes rate multiplication by splitting pipenets using valves or similar.

Makes BZ rates consistent and makes pipebased BZ setups actually produce gas in significant amounts. Makes multiplying reaction rates for BZ by splitting pipenets impossible. Simplifies the reaction by removing a largely unused, mostly unknown way of making o2.

BZ production rates between pipes and turfs are now consistent. O2 production removed.
Multiplying production rates by splitting pipenets no longer possible.
2022-06-06 21:52:52 -07:00
Son-of-Space 3dd6524ea7 [MDB IGNORE] Big Access Tweaks and Organization (#67512)
* Reorganizes some of the access and jobs access code for readability.
* Engineers get access to minisat and tcomms, atmos techs get it on skeleton crew.
* Service jobs that used to have morgue access without reason (bartender/botanist/hop) had it moved to skeleton crew.
* RD lost access to Mining, Mining station, and Medbay (holdover from Genetics), but gained Construction access to easily access the AI.
* Roboticist has had their skeleton crew access to ordnance revoked to align with the geneticist's skeleton crew access
* Miners no longer have SHIPPING access (renamed from Mail Sorting)
* The HoS and Paramedics have proper access to the basics in each department again
* Minisats across all maps now require Minisat access to access.
* Secure tech storage now once again requires both Command and Tech storage access again.
2022-06-07 00:46:05 -04:00
GuillaumePrata ee288e98b7 Clothing (as food for Moths) now only give temporary nourishment. (#67537)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-06-06 20:55:45 -07:00
TemporalOroboros 2683ec04b0 Improves logging for smoke clouds. (#67206)
About The Pull Request

Makes smoke propagate the fingerprints of the last person to touch the source of the smoke.
This makes gunpowder smoke actually log the person responsible for the explosions.
Why It's Good For The Game

As of right now gunpowder smoke (and similar) doesn't actually have very good logging as as far as the smoke is concerned it's never been touched and so the resulting explosions are blameless. Obviously, scrolling up for a good minute looking for who has just obliterated the escape shuttle is slightly annoying for the admins. Ergo, making the explosions log who actually is responsible for making the smoke they originate from should reduce admin annoyance.
Changelog

cl
admin: Smoke now logs the last person to touch the source of the smoke as the last person to touch the smoke itself. Gunpowder smoke should be less annoying to log dive as a result as every explosion will log that person.
/cl
2022-06-07 15:45:20 +12:00
Tastyfish 277fa6a50c Fixes ID access circuit components (#67326)
Fix access circuit components
2022-06-06 23:21:09 -04:00
Timberpoes 8b08bdcfd7 Fixes issues where players can enter the game without accepted interviews. (#67565)
* Feex

* Buttonguard

* Re-add removed code from debugging

* Remove duplicate line

* Be nice
2022-06-06 23:11:16 -04:00