Commit Graph

2196 Commits

Author SHA1 Message Date
SkyratBot
1b7f17f107 [MIRROR] [IDB IGNORE] The Great Sweep: Moving dmis into subfolders (part 1) [MDB IGNORE] (#15801)
* [IDB IGNORE] The Great Sweep: Moving dmis into subfolders (part 1)

* Fixes all the conflicts and all of our modular files using core icon files with broken paths

Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-08-28 15:11:04 -04:00
SkyratBot
a8c10d1659 [MIRROR] Converts a shitload of istypes to their more concise macros [MDB IGNORE] (#15702)
Converts a shitload of istypes to their more concise macros

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-08-27 16:23:44 -04:00
SkyratBot
88c85fe1f7 [MIRROR] [MDB IGNORE] Refactors drinks and fixes a lot of food problems [MDB IGNORE] (#15577)
* [MDB IGNORE] Refactors drinks and fixes a lot of food problems

* [MDB IGNORE] Refactors drinks and fixes a lot of food problems

* forgto 2 commit

* im slowly going insane

* why does find and replace not FIND everything

* hnghnnngh

* h

* l

* a

* a

* so close...

* delta fix

* I thought I committed this already, guess not

* this PR has been the bane of my fucking life

* orange juice

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: Jolly-66 <70232195+Jolly-66@users.noreply.github.com>
2022-08-25 03:17:10 +01:00
SkyratBot
f6618514e4 [MIRROR] Spyglass sanity check on dropped / equipped [MDB IGNORE] (#15706)
* Spyglass sanity check on dropped / equipped (#69283)

you can put things on / take things off of people who don't have clients.

* Spyglass sanity check on dropped / equipped

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-08-19 12:33:08 +01:00
SkyratBot
afaefc3d0b [MIRROR] GAGS most radio encryption keys [MDB IGNORE] (#15571)
* GAGS most radio encryption keys (#69104)

* the radio star

* I think it's funny that I've had the same contrast problem on all of my GAGS PRS

* oops forgot to make the RD's key unique

* fine

* what if I said please

* swaps translation key to be in line with the other new ones

* GAGS most radio encryption keys

* Fixes our modular encryption keys as well!

Co-authored-by: Wallem <66052067+Wallemations@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-08-13 17:57:48 -07:00
SkyratBot
04e6553671 [MIRROR] Ranged analyzer qol [MDB IGNORE] (#15606)
* Ranged analyzer qol (#68703)

* Ranged analyzers can now read up to 15 tiles away, and will scan the floor you click on, even if you don't directly click on the floor.

* Ranged analyzer qol

Co-authored-by: FinancialGoose <92416224+TheBoondock@users.noreply.github.com>
2022-08-13 17:34:55 -07:00
SkyratBot
99a35a631b [MIRROR] Fix tape recorder printing out transcripts phat enough to crash your game. [MDB IGNORE] (#15585)
* Fix tape recorder printing out transcripts phat enough to crash your game. (#69121)

About The Pull Request

Tape recorders can hold 10 minutes of say logs and then transcribe them.

People say a lot of things in 10 minutes.

These transcriptions can be quite large.

These transcriptions have a lot of spans, which get sanitised away to nothingness JS-side. This causes a lot of client-side JS processing on paper for transcripts that go super saiyan beyond the character limit.

This can hang peoples' games up when they're running SS13 on their Samsung SmartFridge.

This PR paginates printed transcripts.

* Fix tape recorder printing out transcripts phat enough to crash your game.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2022-08-13 13:36:42 +01:00
SkyratBot
ae708cd7b5 [MIRROR] Removes ComponentInitialize() [MDB IGNORE] (#15552)
* Removes ComponentInitialize()

* Fixes a leftover merge conflict marker

* Fixes the oversight that came from the upstream merge skew

* Fixes all of the instances where we used ComponentInitialize() when we shouldn't've been

* Fixes CI being broken because of the HEV suits

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-08-12 19:05:09 -04:00
SkyratBot
24c9fc0296 [MIRROR] Fixes 118(give or take) cases of mapload not being passed to initilaize [MDB IGNORE] (#15546)
* Fixes 118(give or take) cases of mapload not being passed to initilaize (#69107)

fixes 114 cases of mapload not being passed to initilaize

* Fixes 118(give or take) cases of mapload not being passed to initilaize

* Fixes a lot (give or take) cases of mapload not being passed to initilaize

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-08-11 08:31:27 -07:00
SkyratBot
3f76c3f5b8 [MIRROR] [GBP No Update] Perish, individual logging runtime [MDB IGNORE] (#15525)
* [GBP No Update] Perish, individual logging runtime (#69024)

missed 2 or 3(lol it was more when I look back at the files), LOG_GAME tags on the log_message line, and did some cleaning up since i was looking through every log_message again

Co-authored-by: tattle <66640614+dragomagol@ users.noreply.github.com>

Co-authored-by: tattle <66640614+dragomagol@ users.noreply.github.com>

* [GBP No Update] Perish, individual logging runtime

Co-authored-by: Mooshimi <85910816+Mooshimi@users.noreply.github.com>
Co-authored-by: tattle <66640614+dragomagol@ users.noreply.github.com>
2022-08-11 08:12:08 -04:00
SkyratBot
e58f73efa6 [MIRROR] Fixes the capitalization of the long-range gas analyzer [MDB IGNORE] (#15501)
* Fixes the capitalization of the long-range gas analyzer (#69069)

* Fixes the capitalization of the long-range gas analyzer

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-08-09 23:14:06 -04:00
SkyratBot
6016cf97b4 [MIRROR] individual LOG_GAME [MDB IGNORE] (#15401)
* individual LOG_GAME

* e

* Update teleporter.dm

Co-authored-by: Mooshimi <85910816+Mooshimi@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-08-08 01:11:55 +01:00
SkyratBot
2de331c664 [MIRROR] Makes the universal recorder display the correct amount of silence on playback. [MDB IGNORE] (#15402)
* Makes the universal recorder display the correct amount of silence on playback. (#68681)

About The Pull Request

Currently, when playing recorded audio on the universal recorder, whenever it skips over silence it displays 10 times the actual length of the silence. This is because the var responsible, "playsleepseconds", is actually a value in deciseconds. This PR simply converts from deciseconds to seconds when printing the "skipping silence" message, without touching the underlying functionality.

01
Before: incorrect time value reported

02
After: correct time value reported
Why It's Good For The Game

This bug makes the universal recorder's playback slightly confusing, as it reports incredibly long silences where there were none. Having the bug fixed makes this feature work properly.
Changelog

cl
fix: Universal recorder now properly reports length of silence in seconds instead of deciseconds
/cl

* Makes the universal recorder display the correct amount of silence on playback.

Co-authored-by: lizardqueenlexi <105025397+lizardqueenlexi@users.noreply.github.com>
2022-08-05 01:03:30 +01:00
SkyratBot
b1bd40e760 [MIRROR] [MDB Ignore][Bounty][Complete Refactor] Papercode Redux: Too Many Damn Files <Map Conflict Edition> [MDB IGNORE] (#15362)
* [MDB Ignore][Bounty][Complete Refactor] Papercode Redux: Too Many Damn Files <Map Conflict Edition>

* Fixes merge conflicts and compilation errors, alongside fixing the joker card to make it fully functional again

* Fixed a bunch of info variables in map files

* Alright this is why I wanted this merged yesterday

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-08-04 15:50:15 +01:00
SkyratBot
e8bb36ed27 [MIRROR] Ladders take left/right clicks to go up or down (+ extra balance and QOL) [MDB IGNORE] (#15239)
* Ladders take left/right clicks to go up or down (+ extra balance and QOL) (#67913)

You now left click to climb up and right click to climb down a ladder. A delay of 1 second has also been added, since otherwise it'd take only one click to immediately move vertically and would be much more spammable.
Ghosts still use the old radials, because their right clicks are bound to the default byond popup menu.

* Ladders take left/right clicks to go up or down (+ extra balance and QOL)

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2022-07-28 11:45:12 -07:00
SkyratBot
99cdbe4ce2 [MIRROR] Reworks pAIs [MDB IGNORE] (#15162) 2022-07-27 19:10:14 -04:00
SkyratBot
93815dba4c [MIRROR] Engi syndie sentry can be only activated using combat wrench [MDB IGNORE] (#15204)
* Engi syndie sentry can be only activated using combat wrench

* Update code/game/objects/items/devices/traitordevices.dm

Co-authored-by: CursedBirb <47064429+CursedBirb@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-07-27 12:20:34 +00:00
SkyratBot
0b3e004cb8 [MIRROR] Nukie(ish) Rework 3.Eh: Syndicate encryption keys bypass radio jammers. [MDB IGNORE] (#15124)
* Nukie(ish) Rework 3.Eh: Syndicate encryption keys bypass radio jammers. (#68578)

Syndicate encryption keys bypass radio jammers.

* Nukie(ish) Rework 3.Eh: Syndicate encryption keys bypass radio jammers.

Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
2022-07-22 11:54:42 -07:00
SkyratBot
4af0dd0b8f [MIRROR] addresses reviews on the tram pr made after merge, fixes diagonal movement bugs [MDB IGNORE] (#14943)
* addresses reviews on the tram pr made after merge, fixes diagonal movement bugs (#68033)

* addresses reviews on the tram pr made after merge, fixes diagonal movement bugs

* wew

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-07-19 00:51:33 +00:00
magatsuchi
4f9df17cb1 [FIXED MIRROR] Tsu's Brand Spanking New Storage: or, How I Learned to Refactor For Skyrat (#14868)
* Tsu's Brand Spanking New Storage: or, How I Learned To Pass Github Copilot As My Own Code

* Delete storage.dm

* yippee

* shit

* holy shit i am stupid

* more fixes

* fuck

* woops
2022-07-17 21:16:59 -04:00
SkyratBot
981108369e [MIRROR] Fixes ranged analyzer scanning out of view [MDB IGNORE] (#14992)
* Fixes ranged analyzer scanning out of view (#68486)

Co-authored-by: Fikou <23585223+Fikou@ users.noreply.github.com>

* Fixes ranged analyzer scanning out of view

Co-authored-by: FinancialGoose <92416224+TheBoondock@users.noreply.github.com>
Co-authored-by: Fikou <23585223+Fikou@ users.noreply.github.com>
2022-07-18 02:15:44 +01:00
SkyratBot
5604be352d [MIRROR] Fixes internal/external organ for checks [MDB IGNORE] (#14945)
* Fixes internal/external organ for checks

* Update dna.dm

fix a code conflict

* Update supplypod.dm

fix a code conflict

* Update death.dm

fix a code conflict

* Update supplypod.dm

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com>
2022-07-17 16:15:18 -04:00
OrionTheFox
a5bfedf7c8 [MANUAL MIRROR] Add a long-range version of the gas analyzer [MDB IGNORE] (#14930)
* Add a long-range version of the gas analyzer (#68051)

* Add a long-range version of the gas analyzer, a tier 2 engineering variant of the analyzer.

* Remove our version

* new iicon??

* CORRECTLY NAMED new icon

* remove old node

Co-authored-by: FinancialGoose <92416224+TheBoondock@users.noreply.github.com>
2022-07-16 11:53:34 +01:00
SkyratBot
438875ac62 [MIRROR] Fixes for AI detector [MDB IGNORE] (#14860)
* Fixes for AI detector (#68301)

Fixes multitool detection

Also modifies the uplink description to reflect the changes made to the multitool and makes the HUD mode into toggleable detection mode, and removes the unused hud code

* Fixes for AI detector

Co-authored-by: Couls <coul422@gmail.com>
2022-07-13 16:01:18 +01:00
Nerevar
86011972ab [Non-Modular] Accessibility For The Blind: Volume 1 (Allows Them Analyzers/White Canes) (#14692)
Co-authored-by: Snakebittenn <12636964+Snakebittenn@users.noreply.github.com>
2022-07-09 12:45:25 -04:00
SkyratBot
b74d93ea96 [MIRROR] Makes pAI screen alert actually work [MDB IGNORE] (#14749)
* Makes pAI screen alert actually work (#68118)

Currently, when a pAI personality is submitted, it's supposed to show an alert screen briefly with flick. This doesn't work. So I've changed it to a 5 second overlay instead, and this does work.

* Makes pAI screen alert actually work

Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
2022-07-06 03:32:32 +01:00
SkyratBot
c68fea7cba [MIRROR] Completely removes proc_holders from existence. Refactors all wizard, xeno, spider, and genetics powers to be actions. Also refactors and sorts ton of accompanying code. [MDB IGNORE] (#14666)
* Completely removes `proc_holders` from existence. Refactors all wizard, xeno, spider, and genetics powers to be actions. Also refactors and sorts ton of accompanying code.

* our changes

* yes

* 0

* Update blackmesa.dmm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-07-01 20:33:30 +01:00
SkyratBot
d3e4f492df [MIRROR] Examine Blocks [MDB IGNORE] (#14562)
* Examine Blocks

* u[dates

* wew

Co-authored-by: 13spacemen <46101244+13spacemen@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-28 19:55:23 +01:00
SkyratBot
c8a2de187b [MIRROR] Fixes for language headset keys. [MDB IGNORE] (#14474)
* Fixes for language headset keys. (#67881)

* Fixes for language headset keys.

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-06-25 00:49:21 +01:00
SkyratBot
7156f4e38d [MIRROR] Resonance cascade polishening, bugfixes and better logging [MDB IGNORE] (#14351)
* Resonance cascade polishening, bugfixes and better logging

* Update light.dm

Co-authored-by: distributivgesetz <distributivgesetz93@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-19 22:43:21 +01:00
SkyratBot
49df4e02f9 [MIRROR] Arconomy expansion pack 1: Convenience and Luxury goods [MDB IGNORE] (#14410)
* Arconomy expansion pack 1: Convenience and Luxury goods (#67417)

* Arconomy expansion pack 1: Convenience and Luxury goods

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2022-06-19 10:07:16 -07:00
SkyratBot
c6bc0b7fb2 [MIRROR] Balloonify welders and extinguishers (and more later) [MDB IGNORE] (#14395)
* Balloonify welders and extinguishers (and more later) (#67818)

* Balloonify welders and extinguishers (and more later)

Co-authored-by: GuillaumePrata <55374212+GuillaumePrata@users.noreply.github.com>
2022-06-19 02:27:54 +01:00
SkyratBot
0a1f06a2d1 [MIRROR] This tail refactor turned into an organ refactor. Funny how that works. [MDB IGNORE] (#14017)
* This tail refactor turned into an organ refactor. Funny how that works.

* Firstly, fixing all the conflicts.

* Fixes all our maps (hopefully)

* Actually, this should fix pod people hair :)

* Almost everything is working, just two major things to fix

* Fixed a certain kind of external organ

* Cleaning up some more stuff

* Turned tail_cat into tail because why the fuck are they separate?

* Moved all the tails into tails.dmi because that was just dumb to have like 3 in a different file

* Adds relevant_layers to organs to help with rendering

* Makes stored_feature_id also check mutant_bodyparts

* Fixes the icon_state names of ALL the tails (pain)

* Fixes wagging, gotta refactor most mutant bodyparts later on

* I Love Added Failures

* Fixed some organs that slipped through my searches

* This could possibly fix the CI for this?

* It doesn't look like it did fix it

* This will make it pass, even if it's ugly as sin.

* Fixed Felinids having a weird ghost tail

* Fixes instances of snouts and tails not being properly colored

Co-authored-by: Kapu1178 <75460809+Kapu1178@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-06-11 23:20:16 -04:00
GoldenAlpharex
d4b0974aaf [MIRROR] CARGONIA THE FREE: The Quartermaster is now a head of staff. (#67518) [MDB IGNORE] (#14186)
* 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.

* wew

Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-08 15:28:51 +01:00
SkyratBot
96d159c78b [MIRROR] Fixes health analyzers not properly pointing out robotic/prosthetic limbs. [MDB IGNORE] (#14118)
* Fixes health analyzers not properly pointing out robotic/prosthetic limbs. (#67532)

Fixes #66401

* Fixes health analyzers not properly pointing out robotic/prosthetic limbs.

Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
2022-06-06 04:55:18 +01:00
SkyratBot
834909eb8e [MIRROR] Move more silicon-relevant logs to silicon logs [MDB IGNORE] (#14087)
* Move more silicon-relevant logs to silicon logs (#67340)

Moves a bunch of logs that were silicon-related but logged to game.log to silicon.log.

* Move more silicon-relevant logs to silicon logs

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
2022-06-05 04:26:40 +01:00
SkyratBot
63ac8f0f62 [MIRROR] Reimplements breathedeep's scan into atmozphere. [MDB IGNORE] (#14072)
* Reimplements breathedeep's scan into atmozphere. (#67438)

* AtmoZphere tablet app now has the previous functionality of the BreatheDeep cartridge's scanning ability, meaning you can swap to analyzer mode to analyze with right-click.

* Reimplements breathedeep's scan into atmozphere.

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2022-06-03 14:39:41 +01:00
SkyratBot
eb96261bf7 [MIRROR] New illiterate quirk [MDB IGNORE] (#13846)
* New illiterate quirk

* Update health_analyzer.dm

* Update health_analyzer.dm

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-24 16:33:47 +01:00
SkyratBot
6395ef5857 [MIRROR] Small refactor to how analyzer's last atmos gasmix data is made [MDB IGNORE] (#13755)
* Small refactor to how analyzer's last atmos gasmix data is made (#66928)

* Refactor how the analyzer works a bit

* less copypasted code

* Use tool type properly

* test driven development
or as i like to call it not having to compile

* old_gasmix_data -> last_gasmix_data

* proper args on the signal

* fix attack self not updating

* Small refactor to how analyzer's last atmos gasmix data is made

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2022-05-20 13:31:09 +01:00
SkyratBot
66312868bc [MIRROR] Supermatter cascade round-end [MDB IGNORE] (#13436)
* Supermatter cascade round-end

* wew

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-09 01:23:07 +01:00
SkyratBot
c1a1683db6 [MIRROR] removes permeability, rolling it into bio armor [MDB IGNORE] (#13435)
* removes permeability, rolling it into bio armor

* e

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-09 01:16:27 +01:00
Useroth
cca7f8ee4c Some missed mirrors (#13415)
* Refactors firestacks into status effects (#66573)

This PR refactors firestacks into two status effects: fire_stacks, which behave like normal firestacks you have right now, and wet_stacks, which are your negative fire stacks right now. This allows for custom fires with custom behaviors and icons to be made.

Some fire related is moved away from species(what the fuck was it even doing there) into these as well.
Oh and I fixed the bug where monkeys on fire had a human fire overlay, why wasn't this fixed already, it's like ancient.

Also changed some related proc names to be snake_case like everything should be.

This allows for custom fire types with custom behaviours, like freezing freon fire or radioactive tritium fire. Removing vars from living and moving them to status effects for modularity is also good.
Nothing to argue about since there's nothing player-facing

* Hud Image Culling By Z Level: Theft edition (#65189)

* makes hud images only apply by z level

* makes some of the atom_hud procs have better names

* fixes warning with the hud_user list and adds better documentation

* better docs for hud_images

* removes TODOs

* docs for hud_list

* adds support for linked z levels so mobs can see lower ones

* fixes merge conflict and shittily makes only shocked airlocks get added

* adds support for setting images in the hud as active and inactive

* gets rid of unatomic spatial grid change

* maybe i should actually try COMPILING my changes

* fixes merge skew and makes it compile again

* fixes huds refusing to remove from users who changed z level

* improves z level and registration logic

* fixes antag huds not appearing

* Fixes antag huds not properly setting. We now use hud_list in init, so it needs to be set before the new call, not after. Not sure why the use of appearance key was split like this, but none else knows either so none can stop me

* Ensures that hiding a basic appearance also hides the atom's active list too

* Fixes antag huds going poof

Ensures that remove_atom_from_hud will return false if the passed atom
isn't managed by it

This fixes antag huds disappearing randomly, since they assumed that if
the parent call of remove_atom_from_hud returned true, we should delete
ourselves. This is a safe assumption for them to make, since they should
only ever have one atom.

Does kinda bork if we call remove_atom_from_hud in a way that is unsure
if the passed atom is actually in that list. We were forced into doing
this by how atom huds use the qdeleting signal.

* makes basic alternate_appearance's only update themselves when setting their hud image to active and makes them not add themselves to the global huds_by_category list

* fixes mistake with hud_users list being set non associatively (bad)

* as anything in bot path loops

* Fixes merge skew problems

* Makes bot paths non global

This way they can show themselves to only the bot that "owns" them, ya
feel me?

* Fixes huds not showing up sometimes, cleans up some code

Post Kapu's limb refactor, we were calling prepare_huds twice in a human
init call chain. What was happening was this:

call prepare_huds() // Human
I gained a new hud image
I set active hud icons to mirror it
call prepare_huds() // Living
I overwrote the new hud image
I attempted to set active hud icons, which failed because it assumes
this can never happen

*cries*

* Renames add_hud_to_atom to show_to

My hope is this will make understanding hud code a bit easier, by tying
the behavior to a "verb" more closely. Also renamed a few vars

* remove_hud_from_mob -> hide_from

* Nitpicks a few comments

* Whoops/fuck/shit/damn it all/hhhhhhhhhhhh

* Moves check down, improves stack trace a bit

Co-authored-by: KylerAce <kylerlumpkin1@gmail.com>

* small touch-up

* this should do it

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: KylerAce <kylerlumpkin1@gmail.com>
2022-05-08 03:59:40 +01:00
SkyratBot
f517b650b4 [MIRROR] GeneticsRefactoring [MDB IGNORE] (#13411)
* Genetic Scanner shows active mutations, allows genetics to recycle unused mutators (#66424)

* Attempt to clean up genetics code and to add functionality that seems that should have been there:
* Fixed some variable names
* Genetic scanner now properly shows all mutations mob has
* Genetic scanner highlights (bolds) active mutations
* Made DNA Console description something less generic
* Made Genetic Scanner description more straightforward about syncing database
* Added option to recycle unused activators

* GeneticsRefactoring

Co-authored-by: MrNihil <33802925+MrNihil@users.noreply.github.com>
2022-05-07 22:07:00 +01:00
SkyratBot
9237d97878 [MIRROR] expands gas analyzer functionality to include heat capacity and thermal energy readings [MDB IGNORE] (#13405) 2022-05-07 12:01:04 -07:00
SkyratBot
fff1f0a1c6 Removes some unnecessary species mentions from kapuparts (#66112) (#13302)
#65523 made some changes to bodypart names that messed with the grammar of a few messages around the codebase by inserting the species of a bodypart where it's really not needed. For example:

For most general combat/health cases, we don't need to worry about the species of a bodypart. So, this changes combat and wound messages back to simply displaying the relevant bodypart zone being attacked/affected. See below:

dreamseeker_2022-04-10_02-05-55.png

Let me know if I missed any!
Why It's Good For The Game

Better grammar
Changelog

cl Ryll/Shaps
spellcheck: Wound and combat messages will no longer mention the species of an attacked bodypart when not appropriate
/cl

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2022-05-04 10:29:23 +01:00
Gandalf
34425755cd Mutant overhaul (#13245)
* wew

* wew

* eyes

* wew

* wew

* Update mutant_zombie_bodyparts.dm

* Update mutant_species.dm
2022-05-02 22:23:38 +01:00
SkyratBot
044d75253c [MIRROR] Arconomy: The bigger balance PR (REVISED EDITION) [MDB IGNORE] (#13164)
* Arconomy: The bigger balance PR (REVISED EDITION)

* yes

* wew

* Update multitool.dm

* yers

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-04-27 21:29:22 +01:00
SkyratBot
a2aac9dd31 [MIRROR] updateDialog and updateUsrDialog cleanup [MDB IGNORE] (#13118)
* updateDialog and updateUsrDialog cleanup (#66494)

This PR focuses on cleaning up two procs - updateDialog and updateUsrDialog. Both of which are/were used updating for old HTML UIs. As these UIs got converted to TGUI over time, these old code fragments started to pile up, often due to coders simply overlooking them. This resulted in them being dead code doing nothing when called, or randomly opening up windows when they shouldnt, for example when a vending machine is screwdrivered and UI cannot even be interacted with.

However, there were also some desirable uses - like opening a window when an ID is inserted into civilian bounty console, which you are then gonna obviously use to pick a bounty. I kept these uses and replaced them with proper ui_interact, so they now always work, instead of them working only when you had them set as a currently used machine on mob. The list of these changes is:

    Civilian Bounty Console will now always bring up its UI when you insert the ID.
    Air Alarm and APC will now always bring up its UI when you unlock their controls.
    Portable Chem Mixer, Chem Dispenser, Chem Heater, Improvised Chem Heater, Chem Spectometer and Chem Master will now always bring up their UI when you add or replace beaker to them.

Two old /Topic calls were cleaned up as well, as they were no longer relevant.

Removes dead or outdated code, adds sensible UX when working with certain UIs.

* updateDialog and updateUsrDialog cleanup

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
2022-04-26 15:26:56 +01:00
SkyratBot
2a6dd01e56 [MIRROR] unit test for /obj/item/stack singular_name [MDB IGNORE] (#13022)
* unit test for /obj/item/stack singular_name (#66378)

Checks if all non-blacklisted stack items have singular_name set, because apparently that's pretty important
Gives it to a few ones that didn't

* unit test for /obj/item/stack singular_name

* fix

Co-authored-by: capsaicin <84609863+capsaicinz@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-04-23 10:43:48 -07:00
magatsuchi
dc8adc2924 Modular Tablets: Converting PDAs to the NtOS System (SKYRAT VERSION) (#12920)
* hot-patch 1

* hot patch 2

* hot patch 3

* slight issue
2022-04-20 16:55:49 +01:00