Commit Graph

54506 Commits

Author SHA1 Message Date
SkyratBot
2050326ec6 [MIRROR] Tgui input list (#2621)
* Tgui input list

* aaa

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-10 23:22:17 +01:00
SkyratBot
f15faefef0 [MIRROR] Fixes 2 really annoying cytology virus bugs. (#2628)
* Fixes 2 really annoying cytology virus bugs. (#56062)

This PR fixes the generate_sample proc so it properly uses virus_chance to determine when to generate a virus. Now most samples will be virus free as intended.

It also fixes the bug where virus penalty and spaceacillin consumption would be multiplied by the number of cell lines, rather than the number of viruses, as intended.

* Fixes 2 really annoying cytology virus bugs.

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2021-01-10 23:19:36 +01:00
SkyratBot
dace06e524 [MIRROR] Added a standardized json unit test results log and added my vscode test runner to recommendations (#2627)
* Added a standardized json unit test results log and added my vscode test runner to recommendations (#56058)

Link to the test explorer: https://marketplace.visualstudio.com/items?itemName=Donkie.vscode-tgstation-test-adapter

The test explorer adapter lets you compile and run the code in one click of a button, with no messing about with defines necessary

The extension supports reading test results from the unit test logs, but its shitty having to parse logs for that, so this PR also adds support for a somewhat standardized method of logging unit test results to a json file instead.

* Added a standardized json unit test results log and added my vscode test runner to recommendations

Co-authored-by: Donkie <daniel.cf.hultgren@gmail.com>
2021-01-10 23:19:03 +01:00
SkyratBot
b8cde47f70 [MIRROR] Telekinesis can throw non items (vending machines, lockers) only 1 tile far (#2626)
* Telekinesis can throw non items (vending machines, lockers) only 1 tile far (#56063)

Telekinesis users can now only throw items 10 tiles, everything else can only be thrown 1 tile

* Telekinesis can throw non items (vending machines, lockers) only 1 tile far

Co-authored-by: Gamer025 <33846895+Gamer025@users.noreply.github.com>
2021-01-10 23:18:35 +01:00
SkyratBot
6d2c447fa6 [MIRROR] Correctly transfer skillchips when ahealing someone (#2625)
* Correctly transfer skillchips when ahealing someone (#56064)

When ahealing someone via the player panel their skillchips weren't transfered correctly.
The actually skillchip object was left in the old brain and eventually hard deleted.
This caused a runtime when ahealing someone a second time (after the harddel).
This then caused the target to actually have 2 brains because of the runtime while ahealing

* Correctly transfer skillchips when ahealing someone

Co-authored-by: Gamer025 <33846895+Gamer025@users.noreply.github.com>
2021-01-10 23:18:01 +01:00
SkyratBot
f11b0f173e [MIRROR] Tweak the RD's suplexing ability into a skillchip (#2620)
* Tweak the RD's suplexing ability into a skillchip (#55870)

Although this doesn't change the power level of the Research Director,
it's important to rework "job title" checks into traits or something
similar.

Moving job title specific behaviour out of checks by job name and into
traits means there's more flexibility to trigger behaviour. If an admin
feels the station really needs the ability, they can var edit it in, or
spawn the chip.

* Tweak the RD's suplexing ability into a skillchip

Co-authored-by: coiax <yellowbounder@gmail.com>
2021-01-10 23:07:26 +01:00
SkyratBot
87d6f8e5c9 [MIRROR] Sticky syndicate access (#2618)
* Sticky syndicate access (#56032)

Adds sticky access. Sticky access will be readded if removed in the identification console. Currently only used to fix #54429. Also converts some comments in card_ids.dm to DMdoc comments and adds some new ones.

* Sticky syndicate access

Co-authored-by: interestingusernam3 <51925758+interestingusernam3@users.noreply.github.com>
2021-01-10 22:08:43 +01:00
SkyratBot
b8b33b95ba [MIRROR] [READY] Nukes archeology component and icon_plating and environment_type in favor of base_icon_state. Dig behaviour code improvement (#2624)
* [READY] Nukes archeology component and icon_plating and environment_type in favor of base_icon_state. Dig behaviour code improvement (#55819)

* aa

* Removes archeology component. Nukes icon_plating and environment_type in favor of base_icon_state

* Actually maybe lets not use a proc for updating asteroid icon state when its dugged up

* Update plating.dm

* [READY] Nukes archeology component and icon_plating and environment_type in favor of base_icon_state. Dig behaviour code improvement

Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-10 22:06:46 +01:00
Azarak
5e8a56c1ab LOOC now doesnt care about any pref, or OOC bans. LOOC code optimizations. Skyrat toggles sanitization fixing (#2622)
* a

* Optimizations

* default toggles fix
2021-01-10 13:47:06 -06:00
SkyratBot
5eb385092c [MIRROR] Adds Rocket Backblast (#2617)
* Adds Rocket Backblast (#55681)

This PR adds the backblast element, which when attached to a gun, creates giant plumes of fire when said gun is fired. The PM9 rocket launcher that nuke ops can buy kinda sucks and even a direct hit with the standard rockets loaded isn't enough to guarantee a one-hit crit on a direct hit against an armored opponent, which sucks for how much you pay for it. In that vein, I've also buffed the standard rockets a bit, they now do 50 brute up from 30 on a direct hit, and they create flames on their explosion.

Also makes a tweak to /proc/get_turf_in_angle(), since tile coordinates start at 1,1 instead of 0,0 that proc is now clamped to min 1,1 rather than 0,0

* Adds Rocket Backblast

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-01-10 08:35:51 +01:00
SkyratBot
bbaa74358c [MIRROR] Fixes glutton riding. (#2616)
* fixies (#56054)

You can now ride the banana glutton properly.

* Fixes glutton riding.

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2021-01-10 08:33:09 +01:00
SkyratBot
ac594d1306 [MIRROR] Banana & peel resprite. (#2615)
* Banana & peel resprite. (#56015)

imageadd: Bananas & peels have been resprited.

* Banana & peel resprite.

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2021-01-10 08:28:53 +01:00
SkyratBot
76fc8074d6 [MIRROR] Fridges don't open through sheer willpower anymore (#2614)
* what did he mean by this (#56042)

Potato goofed 7 months ago so here's a fix (Fridges were defaulting to a force of true, which was... jank)

* Fridges don't open through sheer willpower anymore

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-01-10 08:27:36 +01:00
SkyratBot
f38692a436 [MIRROR] throw_at() will not quickstart a throw if the throw was triggered from the same stack as SSthrowing/fire() (#2613)
* throw_at() will not quickstart a throw if the throw was triggered from the same stack as SSthrowing/fire() (#56004)

throw_at will not quickstart a throw if the throw was triggered from the same stack as SSthrowing/fire()

Infinite throwing loops are fine, as long as they don't loop at the stack level.

* throw_at() will not quickstart a throw if the throw was triggered from the same stack as SSthrowing/fire()

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2021-01-10 08:26:39 +01:00
SkyratBot
ba310a88ec [MIRROR] Converts the pictures in the atmos documentation away from my repo (#2610)
* Converts the pictures in the atmos documentation away from my repo and towards tgstation's copy, preventing me from going rouge and replacing them with le funny memes (#56031)

Instead points them towards tgstation's copy, so open source contributionTM is possible.

* Converts the pictures in the atmos documentation away from my repo

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-01-10 08:24:25 +01:00
SkyratBot
ee2583ed8f [MIRROR] removes cardboard box and supplypod shitcode (#2609)
* improves cardboard box and supplypod code (#56043)

Doesn't let force default to TRUE just in case someone tries to open when they're not supposed to.

* removes cardboard box and supplypod shitcode

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-01-10 08:23:37 +01:00
SkyratBot
3fda3fa704 [MIRROR] Bvak injectors look right (#2608)
* Bvak injectors look right (#56045)

Changes the check to >= 20 (the max volume) instead of > 30 which would never be the case

* Bvak injectors look right

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-01-10 08:22:28 +01:00
SkyratBot
11acb0c634 [MIRROR] Fix startup double runtimes again (#2607)
* Fix startup double runtimes again (#56047)

Prevents runtimes that occur before /world/New is called from runtiming in /world/Error due to lack of the config being loaded.

* Fix startup double runtimes again

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2021-01-10 08:21:34 +01:00
SkyratBot
83c0957413 [MIRROR] Turns squashing mobs into an element (#2606)
* Turns squashing mobs into an element (#55725)

Opens up room for extending squashing behavior for future cytology updates.

* Turns squashing mobs into an element

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-01-10 08:20:44 +01:00
SkyratBot
ce59be9350 [MIRROR] Move psychologist immunity from mind to skillchip (#2605)
* Move psychologist immunity from mind to skillchip (#55813)

Skillchips are neat, and this is the sort of "job-specific skill" that can remain job specific, but still gainable in the shift through in-universe means.

The logic behind the skillchip is that the supermatter is psychically sensitive, hence the hallucinations and headaches from looking at it and projecting the "correct mental aura" will help it calm down. But that is lore following mechanics.

Refactors skillchips to be able to automatically apply more than one trait.

* Move psychologist immunity from mind to skillchip

Co-authored-by: coiax <yellowbounder@gmail.com>
2021-01-10 08:17:04 +01:00
SkyratBot
c93aa0597c [MIRROR] Favorite cigarette brand is now put in notes (#2604)
* Favorite cigarette brand is now put in notes (#56038)

If you lose your cigarettes, it's annoying to have to deal with a negative moodlet because the chatlog saying which brand you need expired. This is just for convenience.

* Favorite cigarette brand is now put in notes

Co-authored-by: Coffee <CoffeeDragon16@gmail.com>
2021-01-10 04:40:04 +01:00
MissFox0810
24466daf22 removes Uraium from matsbox, debugtools (#2603)
* removes Uraium from matsbox, debugtools

* Update code/game/objects/items/storage/boxes.dm

Co-authored-by: Azarak <azarak10@gmail.com>

Co-authored-by: MissFox <github@aesir.org.uk>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-09 23:04:17 +01:00
SkyratBot
6fb8b61651 [MIRROR] Adds a new security bounty and tweaks existing security bounties. (#2601)
* Adds a new security bounty and tweaks existing security bounties. (#55952)

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>

* Adds a new security bounty and tweaks existing security bounties.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
2021-01-09 21:18:23 +01:00
Azarak
04256e886d Update admin_verbs.dm (#2599) 2021-01-09 21:11:04 +01:00
Azarak
e538c3dd45 [READY] Fixes blood and damage overlays for taur suits (#2570)
* aaa

* aaaa
2021-01-09 21:06:12 +01:00
SkyratBot
40bcbd6652 [MIRROR] Fixes using food trays on food processors (#2595)
* Fixes using food trays on food processors (#56040)

* Fixes using food trays on food processors

Co-authored-by: prodirus <44090982+prodirus@users.noreply.github.com>
2021-01-09 17:29:39 +00:00
SkyratBot
e776d6a35b [MIRROR] Fixes fulltile pod window spawner (#2596)
* Fixes fulltile pod window spawner (#56033)

* Fixes fulltile pod window spawner

Co-authored-by: EgorDinamit <53223414+EgorDinamit@users.noreply.github.com>
2021-01-09 17:29:09 +00:00
SkyratBot
dc486cb0d6 [MIRROR] Barrels work with science goggles (#2594)
* Barrels work with science goggles (#56035)

Barrel have TRANSPARENT flag when open instead of AMOUNT_VISIBLE letting you see the contents with reagent scanners

* Barrels work with science goggles

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-01-09 17:27:55 +00:00
SkyratBot
2b1e719a72 [MIRROR] Flypeople can get flashed from any direction (#2592)
* Flypeople can get flashed from any direction (#55724)

* Flypeople can get flashed from any direction

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-01-09 17:27:30 +00:00
SkyratBot
97ce038ee9 [MIRROR] makes civ bounties not completely broken (#2593)
* makes civ bounties not completely broken (#55996)

* makes civ bounties not completely broken

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-01-09 16:19:44 +01:00
SkyratBot
ef60ebcc2b [MIRROR] Fix inverted if operand in discord accountlink (#2588)
* Fix inverted if operand in discord accountlink (#56029)

* Fix inverted if operand in discord accountlink

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2021-01-09 13:51:35 +00:00
Seris02
b67955131c that was a mistake (#2589) 2021-01-09 13:51:14 +00:00
SkyratBot
1ea52ad8a8 [MIRROR] Add unit test for spawning simple_animals (#2581)
* Add unit test for spawning simple_animals (#56021)

Simple unit test that allocates all mobs a gold slime could spawn

* Add unit test for spawning simple_animals

Co-authored-by: Gamer025 <33846895+Gamer025@users.noreply.github.com>
2021-01-09 05:19:44 +01:00
SkyratBot
aef4d79025 [MIRROR] Vend-a-trays can sell anything! (#2586)
* Vend-a-trays can sell anything! (#56018)

Vend-a-trays can now accept any item, not just food and drinks.

* Vend-a-trays can sell anything!

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2021-01-09 05:19:07 +01:00
MissFox0810
5d5492f7a5 removes some guns and there ammo from cargo goodie (#2494)
* removes some guns and there ammo from cargo goodie

* removed more guns and ammo from goodies

* Removed Mafia Crate

* removed them entirly from skyrat code

* Removed the lines recomended by Azarak

Co-authored-by: MissFox <github@aesir.org.uk>
2021-01-09 04:06:05 +00:00
SkyratBot
094a2e17e0 [MIRROR] Ads loging and admun notifucations too certain ID card access changes (#2580)
* Adds logging and admin notifications to certain ID card access changes (#56014)

* Loog

* Adjust modular computer loog

* Update access.dm

* Move ADMIN_VV in string

* To define or not to define, that is the question when logging everything

* More user loog

* Ads loging and admun notifucations too certain ID card access changes

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-01-08 22:58:22 +01:00
SkyratBot
65282a3caf [MIRROR] fixes searched items not beign able to be built x5 x10 in autolatyhe (#2579)
* Fixes searched items not beign able to be built x5 x10 in autolatyhe (#56017)

* fixes searched items not beign able to be built x5 x10 in autolatyhe

Co-authored-by: Tlaltecuhtli <33834933+Tlaltecuhtli@users.noreply.github.com>
2021-01-08 22:54:23 +01:00
SkyratBot
f8a138d332 [MIRROR] [READY]Da small cytology update. Banana glutton and proper clown mob reagents. (#2578)
* [READY]Da small cytology update. Banana glutton and proper clown mob reagents.

* Resolve merge conflict

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
Co-authored-by: Avunia Takiya <git@takiya.cloud>
2021-01-08 22:53:11 +01:00
SkyratBot
015f042b3c [MIRROR] Caps xenobio mimic contents at 50 things (10 of which can be mobs) to prevent lag (#2577)
* Caps xenobio mimic contents at 50 things (10 of which can be mobs) to prevent lag (#56011)

Fixes #55850.
Why It's Good For The Game

Performance tweak.
Changelog

🆑
fix: Mimics can no longer eat an unlimited amount of stuff and are instead limited to 10 mobs and 50 things overall. This means player mimics are no longer able to cause significant lag by opening and closing themselves.
/🆑

* Caps xenobio mimic contents at 50 things (10 of which can be mobs) to prevent lag

Co-authored-by: interestingusernam3 <51925758+interestingusernam3@users.noreply.github.com>
2021-01-08 22:37:12 +01:00
Azarak
abcb76d1ae Ports missing prescription huds (#2567) 2021-01-08 22:26:33 +01:00
SkyratBot
f79e91462c [MIRROR] LINDA Reforged (#2573)
* LINDA Reforged

* Update airlock.dm

* Update biohazard_blob_controller.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-08 18:52:35 +01:00
SkyratBot
59a6bcb8bc [MIRROR] Fixes the bloodbeam (#2574)
* Fixes the bloodbeam (#56012)

Fixes the cultist blood beam power targeting angle.

* Fixes the bloodbeam

Co-authored-by: Sparkezel <53384660+Sparkezel@users.noreply.github.com>
2021-01-08 18:46:29 +01:00
SkyratBot
42b9b022c8 [MIRROR] Line change to fix monkeys never devolving into humans if they started as a monkey (#2575)
* Line change to fix monkeys never devolving into humans if they started as a monkey (#56007)

I wondered if this would be a problem when I originally made #55844 since I only tested on humans devolving into monkeys and back, but not monkeys into humans if the monkey spawned as one.

* Line change to fix monkeys never devolving into humans if they started as a monkey

Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
2021-01-08 18:46:17 +01:00
SkyratBot
d57af096f2 [MIRROR] Fixes slimes riding monkeys and thus falling off of each other (#2576)
* Fixes slimes riding monkeys and thus falling off of each other (#55887)

Fixes slimes trying to ride monkeys.

* Fixes slimes riding monkeys and thus falling off of each other

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-01-08 18:45:58 +01:00
SkyratBot
409506bcc3 [MIRROR] Fix Botany chemical gene grafts (#2566)
* Fix chemical grafts (#56000)

Fixes chemical grafts in botany so their seeds actually gain the reagents they offer.

For those who didn't know, Spaceman's Trumpet is the only plant (for now) that allows you you graft it and get a chemical instead of a trait (Polypyrylium Oligomers). Only this graft doesn't work. It shows up in the plant, but on harvest there is none of that chemical inside of it. Now it works.

* Fix Botany chemical gene grafts

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-01-08 18:43:06 +01:00
SkyratBot
58e12a73e3 [MIRROR] Fixes empty gaslist entries, jesus fuck (#2572)
* Fixes empty gaslist entries, jesus fuck (#56027)

* Fixes empty gaslist entries, jesus fuck

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-01-08 18:21:38 +01:00
SkyratBot
4fcda89276 [MIRROR] Fixes AIs being unable to access their local APC when out of power (#2564)
* Fixes AIs being unable to access their own APC interface when power is off (#55977)

    When an AI runs out of power, they get a short fluff text story about hacking into their own APC through the powernet or whatever, before having the APC's interface open. The intention is that an AI can re-enable their own breaker after a bit if something flipped it off. However, one of the many checks in TGUI will fail if the AI has no power (specifically, if incapacitated() returns TRUE), making this whole feature not work. In fact, it's probably been broken since TGUI APCs were done. I have fixed it by adding a check in the very same proc to return UI_INTERACTIVE if the UI's source object is the same object referenced in the AIs apc_override variable. Closes #52548
    The apc_override variable is now an APC object reference rather than a boolean. It is set to the AI's local APC when the hack flufftext completes, and is null'd when power is restored. This reference is used by the above, so that the AI only gets access to this one APC rather than any APC in general.
    AIs now also get a hyperlink in their chatbox, allowing them to open the APC interface should they have closed it. If they have had power restored, the apc_override reference var will be null, and using the hyperlink will simply result in text stating the backdoor to the APC is closed.
    If the AI reconnects into a state where it has no power and apc_override is set, it will get a hyperlink to the APC, in case the AI player had been reconnecting when the window would have popped up or otherwise does not have the link for whatever reason.

* Fixes AIs being unable to access their local APC when out of power

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
2021-01-08 01:22:13 +00:00
SkyratBot
5490f1b015 [MIRROR] Vending machines use slow throws (#2563)
* Vending machines use slow throws (#56003)

quickstart acts by ticking the first throw right away, but this can lead to stack overflows if this throw happens to trigger another throw. it should really be moved to a default off argument, as only user initiated throws should use it, but throws that themselves can be triggered by throws (like this) should definitely not use it.

* Vending machines use slow throws

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2021-01-08 01:22:06 +00:00
SkyratBot
fd7acb2ddd [MIRROR] Monkeyization now causes you to drop cuffs again (#2562)
* Monkeyization now causes you to drop cuffs again (#55998)

* Monkeyization now causes you to drop cuffs again

Co-authored-by: interestingusernam3 <51925758+interestingusernam3@users.noreply.github.com>
2021-01-08 01:21:51 +00:00
SkyratBot
86e1915517 [MIRROR] Area-based escape condition checking (#2560)
* Area-based escape condition checking (#55677)

It turns out that checking if a traitor is in custody for their objectives checks if they're on a red plasteel or plastitanium floortile. This is pretty unintuitive, and one of our newer shuttles (the nature emergency shuttle) didn't have these floortiles in their brig. This changes the checking of a traitor's turf to their area.
I've also gone through all of our existing shuttles that have clear brigs (didn't touch things like the hyperfractal and disco inferno) and changed their areas to this new one.

* Area-based escape condition checking

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
2021-01-08 01:21:35 +00:00