Commit Graph

53933 Commits

Author SHA1 Message Date
Rohesie 29ec525147 Implements timed_action_flags for do_after-like procs (#54409)
Originally I wanted to fix an issue where the `get_up()` `do_after()` would ignore the callback checks, because it was `uninterruptible`, so that made me refactor these procs to allow for higher granularity on checks and standardize behavior a bit more.
There's more work to be done for them, but one thing at a time.

* Removes the `uninterruptible` check in favor of the more granular `timed_action_flags`
* Cleans code on the `do_atom`, `do_after_mob`, `do_mob` and `do_after` procs to standardize them a little better.
2020-10-19 17:06:49 -04:00
John Willard f36738f97a Flypeople can now get wounds (#54461) 2020-10-19 17:09:35 -03:00
Fikou 500608ac6d removes hexane (#54437)
removes hexane gas from video game

(the ability to hear dchat got removed like half a day ago) (Lemons note, it's been more then half a day)

it will speed up atmos a bit with less reactions, the reagent from the gas does the same things as halon + bz and the reaction from it is pretty similar to halon, they are both gases that exist to stop fires, i dont think we need both
2020-10-19 11:41:25 -07:00
Rohesie c802a96bb3 Fixes expert and monster tackles (#54434)
The tackles expected the user to get up immediately, so they'd be able to grab the target.
* Fixes monster tackles
* expert too
2020-10-19 15:56:11 +01:00
Ghilker 63cb01db9c reduces the amount of some of lavaland and icemoon gases (#54214)
reduces bz and miasma amounts from lavaland atmos
reduces miasma amount from icemoon
2020-10-19 11:54:29 -03:00
Fikou 1c7f3f88a2 iron sand now has a default sprite for map editor (#54457)
it looked like normal plating
now it doesnt
2020-10-19 11:43:56 -03:00
TheChosenEvilOne c52556b0e1 Fixes another dynamic issue with protected roles rolling traitor (#54452)
In short:
picking_specific_rule didn't apply configs.
2020-10-19 11:42:06 -03:00
Rohesie 227fa3495b Adds confirmation message for VV mass-edits (#54417)
Adds confirmation message for VV mass-edits
2020-10-19 15:41:12 +01:00
Rohesie 192bfb5f4c Improves VV-related code (#54416)
VV-related code cleanup
    Added code to trigger the proper setters for several variables that have them.
    Added some admin logging for var-edit teleports.
    Cleaned-up some code all around.
2020-10-19 15:38:26 +01:00
TiviPlus 0a62588558 Vehicle housekeeping (#54455)
Removed redundacies, autodoc, early returns, moved attackby into welder act, made some CamelCase into a snake_case
2020-10-19 11:32:36 -03:00
Rohesie e8a16d8575 Changelings can no longer readapt while in stasis (#54166) 2020-10-18 22:51:01 -07:00
Rohesie 14e7c7c971 [READY] Fixes being able to use items while inside a mech (#54302) 2020-10-18 22:50:39 -07:00
Jordan Brown 83c424ec07 [s] Fixes exploit to bypass authentication on requests consoles (#54445)
* [s] Fixes exploit to bypass authentication on requests consoles

Credit @alexkar598 https://github.com/yogstation13/Yogstation/pull/10030

* Fix proc call name
2020-10-19 14:20:31 +13:00
spessbro 01493a7d0e Monkey Powder Part.2 (#54019)
* feexed :)

* i monke

* brain bad

* oopsi
2020-10-18 20:10:47 -04:00
Ghom 8eb866fee3 SSeconomy/var/bank_accounts is now an association list of account identifiers and datums for O(1) performance (#54430)
Title. Also added some precautions to bank_account/new() and the crab17 gear.
The fact the majority of functions pertinent to the bank_accounts list was O(n) disquieted me.
2020-10-18 20:47:06 -03:00
necromanceranne 9feeea89af fixes hijacked shuttles docking in the wrong spot (#54435) 2020-10-18 12:52:42 -03:00
nicbn a653bc6350 Refactors occupant to use setter (#54373)
This is to make it easier to attach a signal to the setting of the occupant.
2020-10-18 12:46:14 -03:00
Mike Long efe846f5a7 Medical kiosks operated by telekinisis can now properly show brain traumas. (#54420)
If someone with a brain trauma is scanned by a medical kiosk, and then the kiosk is examined by someone else (who does not have a brain trauma), the kiosk would incorrectly show them that the patient has no traumas.
2020-10-17 13:24:53 -03:00
NightRed aee5c90d53 Rags fixes for smothering (#54428)
Makes it so that the rag can be used to transfer reagents to a carbon again.
The check was set to does the carbon have any reagents when it should have een does the rag have reagents.
2020-10-17 12:59:23 -03:00
Timberpoes 7b27a6a4d3 Fixes the silver solidification reaction and snakes up all solidification type paths. (#54414) 2020-10-16 18:37:24 -07:00
zxaber 2fdf13f218 Activate Held Object and Drop hotkeys (Z and Q by default) now activate and store arm implant tools (#53893)
* Self_attack for arms if the hand is empty

* Oops

* Light runtime fix

This is not my runtime, but I will fix it all the same

* return better good

* How about a variable name that actually fits

* asdf
2020-10-16 20:44:22 -04:00
Rohesie 6a3c0a1059 You can shake people up again (#54411) 2020-10-16 16:57:04 -07:00
Emmanuel S 18bd7474b5 Adds the New-and-Improved Training Machine, Training Toolbox! (#54133)
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-16 15:56:51 -07:00
Timberpoes 005f45315b Shuttle nav compuer docking cameras can no longer swap across z-levels. (#54348)
Shuttle docking nav computers can pick locations across z-levels. This is most likely an oversight, as shuttles should only be able to dock using this console on their own z-level.

Currently doesn't do anything bad as Icebox is the only map that supports this sort of multi-Z camera movement and has a distinct lack of pilotable shuttles, but patching this before it becomes an issue.
2020-10-16 14:42:17 -03:00
Timberpoes 1415b3da4b Hilbert's Hotel orb now has a bunch of checks to prevent users pulling shenanigans (#54229)
Hilbert's Hotel now does some basic level of sanity checking after the input to cut down on a number of shenanigans.

The following are all the new changes:

    Hilbert's cannot be activated via telekinesis. It must be activated by direct player attack.
    If the item isn't adjacent to the target after their input, it aborts.
    If the player attempting to enter the hotel is incapacitated after their input, it aborts.
    If the user no longer has the item in their possession after their input, it aborts even if there is a different target.
    If the user is also the target, it will attempt to drop the item normally. If the item fails to drop, it may be teleported to the hotel with the user. The item can fail to drop when it is in the user's possession but not in their hands, or when it has TRAIT_NODROP.
    When the item enters a hotel room created by itself, it will now recursively check for the first mob in its loc stack. It will gib this mob before teleporting away.
    This prevents the warp-whistle effect where a user could put the item in their backpack at INCREDIBLY low risk to themselves (0.135685% chance of anything bad happening) to enter a hotel room and have the orb warped away at random. They could then immediately leave for a free warp whistle effect.
2020-10-16 14:40:37 -03:00
vuonojenmustaturska b9f2557dd1 514 will mine bitcoin in alternate realities to make you rich while you turn spacemen sideways (#54408)
I swear I already removed this meme once. If it was going to happen it would've happened.
2020-10-16 14:31:47 -03:00
EdgeLordExe 3190cc3603 Makes influences 100% invisible to non-heretics, and silicons are no longer able to see pierced realities. (#54372)
You can no longer alt-click cheese influence as non heretic.

Silicons can no longer see pierced realities and transmutation runes.
2020-10-16 11:59:27 -03:00
Ghilker ec64b37e4b hexane refractor and rework (#54263)
Hexane no longer grant the ability to hear dchat (yep it was a bad idea) (Lemon's note: I am very dumb)
Hexane now gives the resist heat trait to fight fires better but can give you a lot of hallucinations
2020-10-16 01:36:03 -07:00
Yenwodyah 373356c445 Buckling cleanup and documentation. Borg buckle time tweak. (#54402)
Added / improved documentation for buckling procs and variables
    Removed / moved some unused things (removed 'buckling' var on mob, moved can_unbuckle() and can_buckle() from mob to living, removed can_unbuckle() and can_buckle() from slimes because they were ignoring everywhere it was checked anyways)
    Moved can_buckle() check to is_buckle_possible() with the rest of the checks
    Allowed mobs to buckle other mobs to things on the same turf as them ( I don't see why this was blocked in the first place. We have mobs on the same turf as each other all the time)
    Changed silicons to use user_buckle_mob() instead of their own do_after system - now slightly longer to buckle mobs from another turf but instant to buckle mobs from the same turf. This means that borgs can't combatspin people who are still standing but have a slight slowdown, but can load people even faster if they're stunned/incapacitated and lying down. (But honestly, I did it for consistency, not balance)
2020-10-15 23:27:54 -03:00
nicbn a1c59cc9bc Moves screen objects from mob to hud (#54400)
This moves screen images from icons/mob to icons/hud
Makes more sense and it is easier to find
2020-10-15 19:46:36 -03:00
ShizCalev b720bcd63d adds more cursed animal masks (#53539)
Animal masks refactor
2020-10-15 22:16:00 +02:00
Tlaltecuhtli 8ffcc9a664 fixes ageusia not working (#54369) 2020-10-15 16:06:03 -03:00
EdgeLordExe 566aac393d Fixes heretic giving you both hijack and dagd, fixes protection objective. (#54374)
Heretic can no longer give you both hijack AND die a glorius death objective.

Protection objective was broken for some time, it always suceeded. It should be fixed now.
2020-10-15 15:54:35 -03:00
Qustinnus 1c0ba4fec6 Removes looping audio from computers (#54392) 2020-10-15 14:40:16 -03:00
Timberpoes 9cdf146bfd Guards DT_PROB and DT_PROB_RATE macros against scenarios where they're used as if they were procs. (#54397) 2020-10-15 14:37:19 -03:00
Dennok 74836458c1 Shuttle tweak and fix (#54395)
Fix lavaland podding
Make lavaland pod destinations hidden
Removed unused variables from connect_to_shuttle() proc
Shuttle consoles remove old custom port id from possible destinations when connects to new shuttle
Custom ports keeps clear from unwanted numbers.
Now shuttle machinery property connects to additional loaded shuttles.
Add some docking_port register logging and safety.
2020-10-15 14:27:19 -03:00
Krysonism a56ddd8782 Werewolves rejoice! (removes silver from the dispenser). (#54327) 2020-10-15 13:52:31 -03:00
ArcaneMusic 1b7189d63d Arcononomy: Personal Departmental Cargo Ordering (#53881)
Alright crew, here's the 4-11. This adds a new Modular Computer app, that works functionally identically to the cargo console. but before we delve into that, lets hit the adjacent aspects first.

Cargo Packs now contain a new variable, access_view, that is only applied to cargo packs viewed in this app. It determines the access level required to be able to see those individual packs, in the same way that you need certain accesses to open certain crates anyway. This means that outside of certain inter-departmental crates that see overlap in who can/should be able to order it, heads can browse and purchase crates based on their department's needs and wants.

The cargo ordering console has been renamed on the DM side. Because now that there's another, similar cargo ordering DM that was going to get confusing fast, as just calling it "Console" gets on my nerves and is harder to spot on VSC for me and everyone going forward forever.

Cool, back to buying stuff. heads of staff can download the cargo ordering app on tablets and laptops only, and it gives them access to purchase cargo using their department funds. These purchases are made against the user's department budget, and enables purchasing supplies with cargo without needing to beg them to use their money on your junk, adding it fully to the cargo shuttle's next load, while still giving cargo the first right to refusal if they wanted to, for some reason.
From there on out, cargo's responsibility is primarily getting the goods you bought to you, which is technically already their job!.
2020-10-15 17:30:50 +03:00
necromanceranne eae72b14f2 Fixes weapons with standard bolts, like Mosin Nagants, getting a chambered bullet when they shouldn't. (#54290)
Fixes bolt action guns getting phantom bullets chambered upon initialization.
2020-10-14 21:13:05 -07:00
raffclar d42e5d2db0 Remove monkey1 icon rendering as it is hiding limb loss (#54309)
Remove monkey1 icon rendering as it is hiding limb loss
2020-10-14 21:11:13 -07:00
IndieanaJones 36ff08e9f2 Fixes Dynamic Abductor Spawns (#54383) 2020-10-14 20:30:43 -07:00
necromanceranne 068dda314f Ports #10649 from Citadel: An attempt at making hijack not shit and more about point defence (#54146)
So essentially there was discussion already here (https://tgstation13.org/phpBB/viewtopic.php?f=33&t=27620) about how hijack is one of the few objectives on Manuel that you can murderbone with, which is mildly at odds with the intention of the server.

Personally, I think hijack is just straight up terrible regardless of what server you're on. The way it functions is dreadful. Nobody must be aboard the shuttle in any part of the shuttle at all. This means you have people hiding in the walls or hiding in some invisible corner of the shuttle, cucking you of the hijack. For the most part, the only way to actually hijack the shuttle is to render it completely inhospitable or destroying it utterly save for, maybe, one square. The one you are standing on.

It's absurd. So, I knew kev made a pretty honest attempt at reworking hijack. And it works pretty well. It doesn't necessarily solve the problem of hijackers being mandatory mass shooters, but it goes some ways to improving the objective in a more interesting fashion, and allows for the discussion around the objective to be a little more open ended for the sake of the higher roleplay servers without actually detracting from the lower roleplay servers at all. If anything, this should improve the experience of being that gamer to stage a hijacking all the more interesting and about robustness, and less of hide-and-go-seek.
2020-10-14 18:36:34 -07:00
Jared-Fogle 65c87173dc tgui: Comms Console Day One Fixes (#54381)
* Silicons now interact with the comms console just like AI, and are told they cannot recall

* Make allied sectors use columns I HAVENT TESTED THIS YET DONT MERGE WITHOUT TELLING ME AAAAAAAA

* Rebuild tgui
2020-10-15 02:20:57 +03:00
EdgeLordExe 0db8174090 Fixes heretic mass-item deletion during transmutation bug (#54371)
fix: fixes heretic mass deletion during transmutation bug.
2020-10-14 19:27:32 +01:00
zxaber 6b4c209244 tgui: SecurEye, for Laptops and Modular Consoles (#54225)
New app for viewing cameras. Runs the same way the stand-alone console does, and requires security access to download. Does not work on tablets, requires a laptop or console.

Gives sec an on-the-go option, at the expense that they do still have to hold the device to view it (rather than stuffing it into the ID slot). Folded laptops can still be stored in your bag, so you can quickly store it after scoping out a bust.
2020-10-14 13:14:06 +03:00
Rob Bailey e9c1fcebaa Increases the accuracy of the photocopier (#54336)
🆑
add: Increased photocopier accuracy
2020-10-14 19:47:50 +13:00
ShizCalev 2d8377abb4 Merge pull request #54347 from uomo91/trashbagsprite
The trashbag of holding now has its own inhand sprite.
2020-10-14 00:36:27 -04:00
Yenwodyah 50b3a441d7 Fix guillotine buckling (#54357)
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-10-13 18:44:48 -07:00
Jared-Fogle 79e86dd20f Fix improper null coalescence with has_antag_datum (#54382)
Fixes an incorrect correction of has_antag_datum to use ?.. This does not work since has_antag_datum returns 0 or an object, meaning has_antag_datum()?.property is essentially 0.property.

(Lemon's note, it was causing names to not show in radio chat)
2020-10-13 18:41:30 -07:00
Couls 76dbae18e5 removes unused define left over from devil (#54356) 2020-10-13 19:40:37 -03:00