Commit Graph

3692 Commits

Author SHA1 Message Date
SkyratBot
0bb664b60b [MIRROR] Adds addition test areas verb that filters maintenance areas out [MDB IGNORE] (#15002)
* Adds addition test areas verb that filters maintenance areas out (#68484)

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

* Adds addition test areas verb that filters maintenance areas out

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2022-07-18 08:48:20 -07: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
SkyratBot
7d0a4b532e [MIRROR] Adds cancel event option for midround random events [MDB IGNORE] (#14662)
* Adds cancel event option for midround random events

* Update code/modules/events/_event.dm

* Update code/modules/events/_event.dm

* Update code/modules/events/_event.dm

Co-authored-by: Salex08 <33989683+Salex08@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-07-17 12:08:26 +01:00
SkyratBot
1e3c0e3c8e [MIRROR] Updates Test Station Areas Verb to filter better [MDB IGNORE] (#14958)
* Updates Test Station Areas Verb to filter better (#68183)

* Updates Test Station Areas Verb to filter better

Hey there,

So, previously we ran a "blacklist" system to filter out the specific areas we never wanted to see, and only ever checked areas that were on a station Z-level. This worked great four years ago, but now we have IceBoxStation. IceBox mingles several different types of areas that would take too long to blacklist, so I chose to implement a "whitelist" in concurrence with it.

We now have all station areas be under the `/area/station` path, which is quite useful. So, this will now always check for a station z-level, ensure that it's not in the blacklist (areas that we never wanna check, like the holodeck, or the bomb range that I just added), as well as the fact that it's whitelisted as well. This is very useful because otherwise, IceBox Test Areas would have these massive lists full of redundant, useless area spam, so this should condense it down a bit.

* Updates Test Station Areas Verb to filter better

Co-authored-by: san7890 <the@san7890.com>
2022-07-17 12:02:27 +01:00
Tastyfish
dfb2eb862b [Modular] Better area spawn algorithm (#14891)
* Better area spawn algorithm

* Removed max_amount like I said I did
2022-07-16 16:25:33 +01:00
Tom
9992bffe1c Revert "[MIRROR] Fixes admin.fun list [MDB IGNORE] (#14872)" (#14893)
This reverts commit 931792a020.
2022-07-13 15:16:55 +00:00
SkyratBot
931792a020 [MIRROR] Fixes admin.fun list [MDB IGNORE] (#14872)
* Fixes admin.fun list

* Update admin_verbs.dm

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-07-12 11:58:15 +00:00
SkyratBot
9adea37b6b [MIRROR] [s] Patches potential runtimes in AdminPM [MDB IGNORE] (#14845)
* [s] Patches potential runtimes in AdminPM (#68324)

About The Pull Request

Hey there,

6e29689 seemed to work alright on my end, but apparently there are cases where current_ticket.id = NULL. This would cause runtime trace errors that would start to list out the first few words of most adminhelps. Fuck.

You probably could use recipient.current_ticket.id on the "else" portion but I woke up to this and I'm not 100% certain if that will null out at this time. Might also be apt to revert #68215 entirely?
Why It's Good For The Game

Those shouldn't show up in runtimes!
Changelog

Nothing particularly player facing.

* [s] Patches potential runtimes in AdminPM

Co-authored-by: san7890 <the@san7890.com>
2022-07-10 22:13:44 -04:00
SkyratBot
6d77e1f5d7 [MIRROR] Adds the Ticket #ID To AdminPM Logs [MDB IGNORE] (#14801)
* Adds the Ticket #ID To AdminPM Logs (#68215)

Hey there,

Statbus has been broken for 2 months+, and what I've been doing when I need to reference a ticket is to go into the raw-logs and parse it for the involved CKey. However, you tend to get a lot of noise searching for the signal when you filter in Notepad++, so I decided today would be a good day to have the Ticket #ID in all associated AdminPMs (which are already logged in ADMINPRIVATE).

* Adds the Ticket #ID To AdminPM Logs

Co-authored-by: san7890 <the@san7890.com>
2022-07-08 19:27:43 +00: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
Useroth
8c4890caac GAGS-ifies ties, and removes inherent ties from some outfits. (#67053) (#14630)
Removes the inherent ties from most civilian outfits with a single-color tie baked into them.

Co-authored-by: Wallem <66052067+Wallemations@users.noreply.github.com>
2022-06-30 02:48:05 +01:00
SkyratBot
c254a468cf [MIRROR] Fixes Icon for the Station Crash Effect [MDB IGNORE] (#14545)
* Fixes Icon for the Station Crash Effect (#67994)

Hey there,

Apparently when balloons were split out of `items_and_weapons.dmi`, this was left behind causing stuff like this to happen:

Pretty goofy, right? Let's update the DMI pathing to ensure we don't see the silly purple/white cube when we really want to see an effect that nearly no one knows of (it's the thing that helps you crash the shuttle into a station, I think?).

* Fixes Icon for the Station Crash Effect

Co-authored-by: san7890 <the@san7890.com>
2022-06-27 01:15:56 +01:00
SkyratBot
48ac7b572d [MIRROR] Security Level Datums [MDB IGNORE] (#14504)
* Security Level Datums

* wew

* Update security_level_datums.dm

Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-25 02:04:50 +01:00
SkyratBot
89f8905cee [MIRROR] Randomize_human now applies a proper name to non-humans [MDB IGNORE] (#14393)
* Randomize_human now applies a proper name to non-humans (#67820)

* fix

* Update code/modules/admin/create_mob.dm

Co-authored-by: Tom <8881105+tf-4@ users.noreply.github.com>

* Update code/modules/admin/create_mob.dm

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

Co-authored-by: Tom <8881105+tf-4@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Randomize_human now applies a proper name to non-humans

Co-authored-by: FernandoJ8 <80640114+FernandoJ8@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2022-06-18 22:03:12 +01:00
SkyratBot
7a653adfbb [MIRROR] TGUI Say: Upgrades chat input with modern features [MDB IGNORE] (#14375)
* TGUI Say: Upgrades chat input with modern features

* yes

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-17 02:12:42 +01:00
SkyratBot
3f95ebbd5e [MIRROR] Fishing, Version 1 [MDB IGNORE] (#14370)
* Fishing, Version 1 (#67691)

Adds fishing and fishing minigame.
You use fishing rod to fish.
Equipping specific bait/hook/reels will affect your success chances.
You can fish out fish,items and other things.

Fishing Equipment
Fishing rods have three slots: Bait, Reel and Hook.
Any food can be used as bait but dedicated bait makes fishing easier.
You can buy hook and line sets
New bait types:

Worms : Buy can of them at cargo (alternative acquirement method pending)
Doughballs : Use knife on flat piece of dough to get five of them.
Fishing rod types:

Basic : Print these at the lathe, nothing fancy here.
Tech: Experimental tech. Provides infinite bait
Fishing rods can also hook and reel normal items.

Equipment screen and reeling video
Fishing spots
Keep in mind this PR is meant to add the basic systems and i intend to fill these with more fish in future PR's so wait with suggestions until then.

Lavaland lava (no fish here right now, just other stuff), requires reinforced line to fish in.
Maintenance moisture traps.
Beach away mission water.
Fishing portal available for purchase from cargo - This is stopgap until we fill more spots.
Difficulty depends on fishing spot, fish type, and the fish traits and rod setup combinations.
All fish types can have specific traits, most common ones being favourite and disliked bait types/categories.

Other
Fishing catalog now lists fishing related info
New admin debug verb, fishing calculator that show probabilities with different setups so it's easier to balance this.
Fish now have average weight and size. Make sure to boast if you catch a big one.
Adds tgui mouse passthrough
Screens
Sprites:

Fishing portal sprite by @ ArcaneMusic
Other sprites by @ Mey-Ha-Zah
Bad ones by me. (Could still use better fishing minigame backgrounds)
Sounds:

https://freesound.org/people/soundscalpel.com/sounds/110393/
https://freesound.org/people/soundslikewillem/sounds/343748/

* Fishing, Version 1

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-06-17 00:30:40 +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
SkyratBot
14a38b7097 [MIRROR] Assorted Ordnance Code+Map Quality Pass and QoL [MDB IGNORE] (#14065)
* Assorted Ordnance Code+Map Quality Pass and QoL (#67097)

Three main things I do:

Reinforce the remap that i have made with code changes, making the atmos control devices sane and easy to put if someone else stumbles upon this part of the code again. (a4aea1e - f16e620)

Splits the ordnance areas and renames them, kills ordnance misc and things that have nothing to do with ordnance (anymore?) moves them to exp_lab (useful stuff here) and aux_lab (fluff stuff here like laser range in delta or second circuit lab in tram). (0c99f9f- 3c82a88)

Adds a roundstart program disk containing nt frontier to the ordnance office table. Added a hint to file manager there too to help give players a nudge on how to publish papers. (fd747dc)

First one: Makes mapping these things not require varedit, nicer for other people that dont know how the atmos control stuffs works.

Second one: Misc lab has nothing to do with ordnance jesus christ. Also ord hallway is now irrelevant, our ordnance labs are very far from box now. Will probably make downstreams a bit angry for a while though since they might not be fully up to date on the ordnance maps.

Third one: Pretty much justified it in the about section.

Why is this not atomic: This touches all five maps and needs code backing, so I might as well combine them into one maintenance PR instead of giving my peers merge conflict three times.

* Assorted Ordnance Code+Map Quality Pass and QoL

* set 1

* revert

* Update CentCom_skyrat.dmm

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-06 15:30:10 +01:00
SkyratBot
8972c52ca1 [MIRROR] Adminwho now caches feedback links until admins are reloaded (and also works again) [MDB IGNORE] (#14135)
* Adminwho now caches feedback links until admins are reloaded (and also works again) (#67307)

* Adminwho now caches feedback links until admins are reloaded

* Restore dbconfig

* Fix feedback links, make them query only if necessary, and not on load admins

* Wait longer before checking DB connection

* Back on my dbconfig shit

fixes (Adminwho is slower than it needs to be after feedback links) #67150.
also fixes (timber breaking feedback links totally by qdeling the datum too early) #67360.

* Adminwho now caches feedback links until admins are reloaded (and also works again)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-06-06 12:31:31 +01:00
SkyratBot
b45d2b35d5 [MIRROR] Allows modsuits to be used in outfit manager [MDB IGNORE] (#14075)
* Allows modsuits to be used in outfit manager (#67310)

* Lets bag-fitting MODsuits be used in the Admin outfit manager

* Allows modsuits to be used in outfit manager

Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
2022-06-03 09:30:10 -07: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
b290c49a94 [MIRROR] Add new H.E.C.K. suit GAGS sprite, recolorable via spray can [MDB IGNORE] (#14006)
* Add new H.E.C.K. suit GAGS sprite, recolorable via spray can (#67217)

imageadd: The H.E.C.K. suit has a new sprite. (by Meyhazah)
add: You can now use a spray can to completely recolor the H.E.C.K. suit.

* Add new H.E.C.K. suit GAGS sprite, recolorable via spray can

Co-authored-by: Urumasi <Urumasi@email.cz>
2022-05-31 04:01:33 +01:00
Tom
243bce174f adds admin verbs for spawning / deleting liquids (#13956)
* adds an admin verb for spawning liquids

* adds remove liquids verb
2022-05-27 22:13:19 +01:00
Gandalf
7c2a649bf7 Familiar lobbyscreen (#13835)
* wew

* e

* e

* ye

* yes

* e

* wew

* batch review, lobby > title

* yeh

* Update code/_onclick/hud/screen_objects.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Update code/_onclick/hud/new_player.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Update code/_onclick/hud/new_player.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* wew

* wew

* fixes changing title screen

* yes

* tes

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-05-26 23:29:38 +01:00
SkyratBot
1c3a432df0 [MIRROR] Fix a source of undeleted query spamming admin chat when gathering admin feedback threads from the database. [MDB IGNORE] (#13889)
* Fix a source of undeleted query spamming admin chat when gathering admin feedback threads from the database. (#67261)

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

* Fix a source of undeleted query spamming admin chat when gathering admin feedback threads from the database.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2022-05-26 00:09:10 +01:00
SkyratBot
a61b1ea07f [MIRROR] [MDB IGNORE] More /area/ typepath organization and cleanup [MDB IGNORE] (#13832)
* [MDB IGNORE] More /area/ typepath organization and cleanup (#67107)

This further continues what I did in b4fb8f3ed1 (but instead of just stations, its now every (most) applicable area in the game

* [MDB IGNORE] More /area/ typepath organization and cleanup

* wew

* e

* Update CentCom_skyrat.dmm

* wew

* ews

Co-authored-by: Jolly <70232195+Jolly-66@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-24 16:47:55 +01:00
SkyratBot
0cd6d5fc1b [MIRROR] Ports the player ticket panel from skyrat [MDB IGNORE] (#13765)
* Ports the player ticket panel from skyrat

* keeps admin ping and handle function

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-23 20:52:10 +01:00
SkyratBot
aca9ded0e0 [MIRROR] [MDB IGNORE] Reformats Access IDs for accessibility and futureproofing [MDB IGNORE] (#13751)
* [MDB IGNORE] Reformats Access IDs for accessibility and futureproofing

* ok

* fuck

* eh

* ew

* e

* this sucked

* e

Co-authored-by: Son-of-Space <63861499+Son-of-Space@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-23 16:57:59 +01:00
SkyratBot
6bf0de98e0 Refactors and sorts Nuclear Bombs and Cinematics. Fixes and unit tests nuke cinematics, and re-adds a missing malf ai cinematic. (#13802)
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-22 09:03:09 -07:00
SkyratBot
23809ac6d5 [MIRROR] Adds Puzzgrid smite to trap enemy gamers in a fiendishly hard puzzle [MDB IGNORE] (#13780)
* Adds Puzzgrid smite to trap enemy gamers in a fiendishly hard puzzle (#66855)

* Puzzgrids

* Adds Puzzgrid smite to trap enemy gamers in a fiendishly hard puzzle

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-05-22 01:11:47 +01:00
SkyratBot
512f0c9466 [MIRROR] Updates Spacing in Deadsay [MDB IGNORE] (#13783)
* Updates Spacing in Deadsay (#67149)

Hey there,

This doesn't look good to me. Let's fix that by adding one (1) space.

* Updates Spacing in Deadsay

Co-authored-by: san7890 <the@san7890.com>
2022-05-21 09:05:31 -07:00
SkyratBot
a079903ecb [MIRROR] refactors statpanel to use tgui API [MDB IGNORE] (#13646)
* refactors statpanel to use tgui API

* fix

Co-authored-by: magatsuchi <88991542+magatsuchi@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-05-20 15:02:16 +01:00
SkyratBot
cff12c987a [MIRROR] adds support for adminwho name links (using DB) [MDB IGNORE] (#13673)
* Add support for adminwho name links (using DB) (#66909)

I shamelessly farm GBP

Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>

* adds support for adminwho name links (using DB)

Co-authored-by: magatsuchi <88991542+magatsuchi@users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
2022-05-20 14:48:01 +01:00
SkyratBot
08812c6ae7 [MIRROR] Changes Admin DSAY rank display to a tooltip [MDB IGNORE] (#13721)
* Changes Admin DSAY rank display to a tooltip (#67086)

changes the dsay rank to a tooltip

* Changes Admin DSAY rank display to a tooltip

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2022-05-19 12:46:46 +01:00
SkyratBot
2da69ce304 [MIRROR] Split and Document Logging Procs [MDB IGNORE] (#13707)
* Split and Document Logging Procs

* Update _logging.dm

* Update atoms.dm

* Update mob_helpers.dm

* Update mob.dm

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-05-19 01:18:40 +01:00
SkyratBot
55ec232462 [MIRROR] Refactors the forensics component into a datum [MDB IGNORE] (#13649)
* Refactors the forensics component into a datum

* Refactors the forensics component into a datum

* Refactors the forensics component into a datum

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-05-17 20:32:15 +01:00
SkyratBot
a840d4e205 [MIRROR] fixes admin ticket linking bad href [MDB IGNORE] (#13587)
* fixes admin ticket linking bad href

* Update adminhelp.dm

Co-authored-by: magatsuchi <88991542+magatsuchi@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
2022-05-15 19:43:12 -07:00
SkyratBot
c11596d700 [MIRROR] Fixes mulligan not randomizing ethereal color, removes default_color for every race except ethereals [MDB IGNORE] (#13492)
* Fixes mulligan not randomizing ethereal color, removes default_color for every race except ethereals

* Fixing a merge conflict

* f

* e

Co-authored-by: wesoda25 <37246588+wesoda25@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 01:37:57 +01:00
Useroth
4d07f3a620 Missed mirror (#13460)
* Converts drunkness and dizziness to status effects. Refactors status effect examine text (and, subsequently, stabilized black extracts).  (#66340)

* Refactors dizziness into a status effect

* Refactors the dizziness setter to use the new kind

* Drunkness.
- Should drunk continue to work off of a magic value or be swapped to duration? I've not yet decided: For understandability it's preferabale for "drunk" to use a timer (they are drunk for 3 more minutes), but both adding drunk and decreasing drunk currently use weird calculations which would be difficult to carry over.
- Ballmer is a liver trait

* Dizzy was a setter, not an adjuster

* Does all the drunk effects over
- refactors examine text fully
- refactors stabilized blacks because of this

* Removed

* repaths, fixes some issues

* Minor fixes

* Some erroneous changes

* Fixes some dizziness errors

* Consistency thing

* Warning

* Undoes this change, I dont like its implementation

* max_duration

* Max amount

* Should be a negative

* max duration

* drunk doesn't tick on death

* Rework dizziness strength

* Erroneous dizzy change

* Fixes return type

* this should do it?

* well, one more

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-09 15:05:42 +01:00
SkyratBot
1bc09326d0 [MIRROR] Splits eye color into two vars | Heterochromia Quirk [MDB IGNORE] (#13390)
* Splits eye color into two vars | Heterochromia Quirk

* yesyes

* eeee

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-09 01:00:12 +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
Zonespace
2a3d60a2a6 Mirror of tgstation/tgstation#66726 (#13383)
* [MDB IGNORE] You can have your cake and eat it too. Remake of #66406 (Splitting up areas.dmi + code related stuff) (#66726)

Areas.dmi right now houses all of our mapped turfs icons (which is roughly 400 icons). Not an issue, but it's incredibly large and clunky to navigate right now. This isn't an issue for the average coder and/or player code diving, but it is for mappers wanting to add new turfs. Currently, the file has some organization, but its still an overall mess. This PR aims to slice the behemoth with multiple .dmi files corresponding to specific areas.

I also plan to repath /area/* -> /area/station/* for station turf only. This is to clean it up, as most other turfs follow this format (that being /area/turf_zone/*).

I'm also writing an update paths file as I go along.

* fixbatch 1

* fug

Co-authored-by: Jolly <70232195+Jolly-66@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-07 22:41:23 +01:00
SkyratBot
52dbce8997 [MIRROR] Improper forced qdel cleanup, some expanded del all verbs [MDB IGNORE] (#13384)
* Improper forced qdel cleanup,  some expanded del all verbs (#66595)

* Removes all supurfolus uses of QDEL_HINT_LETMELIVE

This define exists to allow abstract, sturucturally important things to
opt out of being qdeleted.
It does not exist to be a "Immune to everything" get out of jail free
card.
We have systems for this, and it's not appropriate here.

This change is inherently breaking, because things might be improperly
qdeling these things. Those issues will need to be resolved in future,
as they pop up

* Changes all needless uses of COMSIG_PARENT_PREQDELETED

It exists for things that want to block the qdel. If that's not you,
don't use it

* Adds force and hard del verbs, for chip and break glass cases
respectively

The harddel verb comes with two options before it's run, to let you
tailor it to your level of fucked

* Damn you nova

Adds proper parent returns instead of . = ..()

Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>

* Ensures immortality talismans cannot delete their human if something goes fuckey. Thanks ath/oro for pointing this out

Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>

* Improper forced qdel cleanup,  some expanded del all verbs

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>
2022-05-07 14:22:06 +01:00
SkyratBot
b320d4bba4 Fix granular admin ranks not being loaded from DB (#66706) (#13335)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-05-05 14:14:25 +01:00
SkyratBot
8685c75e4f Keep mutating filenames when the cdn is disabled. (#66550) (#13333)
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2022-05-05 04:11:21 +01:00
SkyratBot
440a471c0c [s] webedit security patch to locate() wrapper (#66264) (#13307)
Co-authored-by: silicons <2003111+silicons@users.noreply.github.com>
2022-05-04 10:30:23 +01:00
SkyratBot
58b8cfa3cc Granular admin perms (#66368) (#13305)
* Granular admin perms

* Implement temporary user specific permissions menu

* Restore config

* Fix TESTING

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-05-04 10:29:55 +01:00
Gandalf
f29b48987e Event voting system, prelude to event planner (#11270)
* wooo

* Update event_vote.dm

* fixes

* Update event_vote.dm

* wrrr

* allows admins to host a player vote.

* weeee

* Update event_vote.dm

* href

* Update event_vote.dm

* EEE

* finishing touches

* Update event_vote.dm

* R_SERVER > R_PERMISSIONS, ties, reschedule

* Update event_vote.dm

* fun > events category

* redundant code removal

* Update tgstation.dme

* Update events.dm

* publik event vote

* llogging

* llogging

* Update configuration.dm

* Update event_vote.dm

* code review and votable

* round two review

* one little thing kills the world

* Update event_vote.dm

* woop

* Update event_vote.dm

* Better event weighting system

* Even chaos system

* EEE

* Update event_chaos_system.dm

* Update event_vote.dm

* Update event_vote.dm

* wweeee

* fixes

* low chaos event system,

* Update event_vote.dm

* Update event_chaos_system.dm

* vote button QOL

* www

* stop overlapping

* Update event_vote.dm

* Update EventPanel.js

* Update EventPanel.js

* e

* e

* Update event_vote.dm

* data

* Update event_vote.dm

* Update event_vote.dm

* Update event_vote.dm

* Update tgstation.dme

* Update tgstation.dme

* wew

* Update skyrat_config.txt

* No consecutive high chaos events

* Update event_chaos_system.dm

* Update sunbeam.dm

* more config

* no

* vote log

* Update event_vote.dm

* wew

* better handling of low chaos events

* wew

* Update ticker.dm
2022-05-04 10:29:00 +01:00
SkyratBot
d583952c2c [MIRROR] Adds a discord bot command version of show-server-revision [MDB IGNORE] (#13120)
* Adds a discord bot command version of show-server-revision (#66338)

* Adds a discord bot command version of show-server-revision

This is to replace `!tgs revision` with something less lame.

* Update chat_commands.dm

* Update chat_commands.dm

* Update chat_commands.dm

* Update chat_commands.dm

* remove unneeded sanic

* Adds a discord bot command version of show-server-revision

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2022-04-26 15:27:23 +01:00
GoldenAlpharex
6dfe650f1a Finally fixed the issues with handling ahelps (#13078)
* Finally fixed the issues with handling ahelps

* Applied suggestion

Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>

Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
2022-04-25 14:34:40 +01:00