Commit Graph

15564 Commits

Author SHA1 Message Date
SkyratBot
01a67f0eb8 [MIRROR] Gives Detective ACCESS_SECURITY, moves security equipment to ACCESS_BRIG [MDB IGNORE] (#13658)
* Gives Detective ACCESS_SECURITY, moves security equipment to ACCESS_BRIG (#66990)

* Gives Detective ACCESS_SECURITY, moves security equipment to ACCESS_BRIG

* Removed Forensics access from brig closet, security records

* Gives Detective ACCESS_SECURITY, moves security equipment to ACCESS_BRIG

Co-authored-by: Son-of-Space <63861499+Son-of-Space@users.noreply.github.com>
2022-05-16 19:54:27 -07:00
SkyratBot
c8766b9967 [MIRROR] Adds radial support + balloon alerts to stack crafting, cult metal now uses a radial when making buildings [MDB IGNORE] (#13654)
* Adds radial support + balloon alerts to stack crafting, cult metal now uses a radial when making buildings (#66938)

* Adds radial support to stack crafting
- uses it for runed metal

* Unit tests

* Balloon alerts and toilet lives

* Adds radial support + balloon alerts to stack crafting, cult metal now uses a radial when making buildings

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-16 19:54:20 -07:00
SkyratBot
e350c76fc5 [MIRROR] Massively Nerfs Snowdin Gamer Loot [MDB IGNORE] (#13659)
* Massively Nerfs Snowdin Gamer Loot (#66997)

* Massively Nerfs Snowdin Gamer Loot

Co-authored-by: Cheshify <73589390+Cheshify@users.noreply.github.com>
2022-05-16 19:53:01 -07:00
SkyratBot
29f47cfd0c [MIRROR] Egg Frying Overhaul [MDB IGNORE] (#13656)
* Egg Frying Overhaul (#66137)

- Removes friedegg recipie
- Adds a new rawegg grillable into friedegg, obtained by breaking an egg onto a griddle (right-click).
- Changes the double-egg friedeggs sprite to a single-egg. No more eggmancy!
- While we're at it, replaces the raw egg in the fried-egg-and-sausage recipe with a fried egg.

* Egg Frying Overhaul

Co-authored-by: Dorsisdwarf <isenpingu@hotmail.co.uk>
2022-05-16 19:52:40 -07: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
4f50cf7b46 [MIRROR] bags.dm lists are in alphabetical order now. [MDB IGNORE] (#13601)
* `bags.dm` lists are in alphabetical order now. (#66951)

* `bags.dm` lists are in alphabetical order now.

Co-authored-by: GuillaumePrata <55374212+GuillaumePrata@users.noreply.github.com>
2022-05-15 12:00:19 -07:00
SkyratBot
9e0d6fbf15 [MIRROR] Gives boritos more flavour [MDB IGNORE] (#13613)
* Gives boritos more flavour (#66958)

About The Pull Request

Rewrites the descriptions for Boritos flavours
Also makes them taste better too like the code comment implied
Why It's Good For The Game

All the descriptions were bland, like plain Boritos
Changelog

cl
spellcheck: Boritos flavours have more flavour!
/cl

* Gives boritos more flavour

Co-authored-by: YakumoChen <king_yoshi42@yahoo.com>
2022-05-14 23:37:04 -07:00
SkyratBot
c21ebadc12 [MIRROR] Fixes pants altars being spammable [MDB IGNORE] (#13591)
* Fixes pants altars being spammable (#66911)

The cooldown doesn't start until the pants is finished being made, so while its still making the pants, you can spam the shit out of it

* Fixes pants altars being spammable

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-05-13 16:11:18 -07:00
SkyratBot
651aa8de93 [MIRROR] Makes minifridges able to hold more stuff [MDB IGNORE] (#13590)
* makes minifridges able to hold more stuff (#66922)

Due to mini-fridges being in the pool for spawning instead of crates/lockers, if there's too many things meant to spawn in said fridge, unit tests will fail because it cannot hold it.
To fix this, I simply added more storage capacity.

* Makes minifridges able to hold more stuff

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-05-13 16:11:03 -07:00
SkyratBot
c0f6eff272 [MIRROR] Advanced tools are medium sized, toolboxes can carry medium sized items. [MDB IGNORE] (#13593)
* Advanced tools are medium sized, toolboxes can carry medium sized items. (#66900)

* Advanced tools are medium sized now.

* Moves `w_class` 1 line down

* Moves `w_class` MORE DOWN

* Syndie Jaw pocket edition.

* Toolboxes can carry medium items, pocket syndie jaw in desc.

* Advanced tools are medium sized, toolboxes can carry medium sized items.

* fix APT

Co-authored-by: GuillaumePrata <55374212+GuillaumePrata@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-05-13 16:10:06 -07:00
SkyratBot
8be8604d46 [MIRROR] Fixes the captain's PDA [MDB IGNORE] (#13586)
* Fixes the captain's PDA (#66908)

I screwed it up and didn't make the Captain's PDA a subtype of heads, so captain was spawning with the wrong PDA.

* Fixes the captain's PDA

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-05-13 16:06:52 -07:00
SkyratBot
cb861c2817 [MIRROR] Reduces the chance of spawning a pants altar [MDB IGNORE] (#13583)
* Reduces the chance of spawning a pants altar (#66904)

* reduces the chance of spawning a pants altar

* Reduces the chance of spawning a pants altar

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-13 11:34:48 +01:00
SkyratBot
f67daeed65 [MIRROR] Remove organs from delimber anomaly [MDB IGNORE] (#13562)
* Remove organs from delimber anomaly  (#66888)

* Remove organs from delimber anomaly

* Remove organs from reactive armour

* Remove organs from delimber anomaly

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2022-05-13 11:31:00 +01:00
SkyratBot
81db26ba94 [MIRROR] [MDB IGNORE] Removes tablet cartridges + reworks a ton more [MDB IGNORE] (#13539)
* [MDB IGNORE] Removes tablet cartridges + reworks a ton more (#66505)

- All tablets who previously had apps in a cartridge now has them built-into their tablet instead. This means it costs space for it.
- Rebalances the sizes of several apps to help them fit on Command tablets (Cargo ordering costed 20!!)
- Removes tablet cartridges, they've been reworked into a regular old portable disk (the same you use for toxins/borgs)
- Removes Signaller (the module required to run the signaller app) from tablets (likely will remove more in the future)
- Refactors the health/chem scanning app to not be as bad
- Dehardcodes detomatix resistance
- Ability to send PDA's to all is now tied to your access rather than a cartridge
- Moves 'eject disk' button to the very top of the UI

* [MDB IGNORE] Removes tablet cartridges + reworks a ton more

* wew

* wew

* ok

* Update nanotrasen_consultant.dm

* Update nanotrasen_consultant.dm

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 22:40:06 +01:00
SkyratBot
133b753507 [MIRROR] Converts jittering to status effect, striking yet another mob level status value [MDB IGNORE] (#13534)
* Converts jittering to status effect, striking yet another mob level status value

* mmkay

* weh

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 21:59:42 +01:00
SkyratBot
4cbd7043ea [MIRROR] Minor twohanded component refactor [MDB IGNORE] (#13524)
* Minor twohanded component refactor

* wew

* Update energy_fireaxe.dm

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 02:10:45 +01:00
SkyratBot
1cd67be040 [MIRROR] [MDB Ignore] Mapping directional helpers for signs + sign naming conventions [MDB IGNORE] (#13503)
* [MDB Ignore] Mapping directional helpers for signs + sign naming conventions

* wew

* wew

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 02:06:15 +01:00
SkyratBot
3e4bad8694 [MIRROR] Confusion status effect is now duration based instead of magic number based [MDB IGNORE] (#13496)
* Confusion status effect is now duration based instead of magic number based

* e

* Update tgstation.dme

* Update contract.dm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 01:52:39 +01:00
SkyratBot
0228180861 [MIRROR] Removes "strandling" status effect from a bunch of random places / refactors it [MDB IGNORE] (#13480)
* Removes "strandling" status effect from a bunch of random places / refactors it

* Update carbon_defense.dm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 00:35:40 +01:00
SkyratBot
7606c1715e [MIRROR] Bandana GAGS follow-up [MDB IGNORE] (#13437)
* Bandana GAGS follow-up

* yes

Co-authored-by: Ebb-Real <95765134+Ebb-Real@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 00:31:06 +01:00
SkyratBot
c4b93e5bcd [MIRROR] Powerfist code improvement [MDB IGNORE] (#13513)
* Powerfist code improvement (#66824)

I wanted to add some nuance to the used gasmix in the powerfist but i want to do some cleanups first so here we are, i've also added some more text in examine and item use for a bit of quality of life

* Powerfist code improvement

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2022-05-11 00:04:29 +01:00
SkyratBot
c3de4de92f [MIRROR] Fix a missing bold tag in the omega soap poem [MDB IGNORE] (#13511)
* Fix a missing bold tag in the omega soap poem (#66827)

Its only missing an opening b tag

* Fix a missing bold tag in the omega soap poem

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2022-05-10 20:17:42 +01:00
SkyratBot
303a07e52a [MIRROR] Revival of mapping lore terminals [MDB IGNORE] (#13510)
* Adds lore terminals for mappers (#66589)

This adds the ability to use Fallout-style terminals for maps

* Revival of mapping lore terminals

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
2022-05-10 20:17:36 +01:00
SkyratBot
de669c4772 [MIRROR] Refactors cyborg drink refilling into a component [MDB IGNORE] (#13472)
* Refactors cyborg drink refilling into a component

* Update robot.dm

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-10 01:49:26 +01:00
SkyratBot
a23c16c5aa [MIRROR] changes name of trait "STUNRESISTANCE" to trait "BATON_RESISTANCE", changes some descriptions [MDB IGNORE] (#13467)
* changes name of trait "STUNRESISTANCE" to trait "BATON_RESISTANCE", changes some descriptions  (#66788)

it will make a whole lot more sense when you look at the trait and see what it does, instead of assuming what it does based on its very clear name

* changes name of trait "STUNRESISTANCE" to trait "BATON_RESISTANCE", changes some descriptions

* Update cocaine.dm

Co-authored-by: private-tristan <54422837+private-tristan@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-10 01:44:43 +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
Gandalf
ea6881db43 temp fix 2022-05-09 01:44:23 +01:00
SkyratBot
12bc542f4b [MIRROR] Anomaly expansion - part 2 - Delimber anomaly [MDB IGNORE] (#13459)
* Anomaly expansion - part 2 - Delimber anomaly (#66420)

A new anomaly is here! the Delimber anomaly!
contrary to its name, this anomaly doesn't do you dirty by removing all your limbs.
It will instead improve your body by randomizing your limbs with every species known! Isn't that amazing?!
Incredibly enough it can also change your organs, improving them and expanding them! (we think this is amazing!)
Now you can also harness that power by constructing a reactive armor with its core, but be aware to not get hit by an EM pulse, our insurance doesn't cover that.
A note on safety, this anomaly doesn't stop, will keep on pulsating until eliminated.

* Anomaly expansion - part 2 - Delimber anomaly

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-09 01:33:03 +01:00
SkyratBot
fb1960009c [MIRROR] Adds an ancient altar to maintenance. [MDB IGNORE] (#13440)
* Adds an ancient altar to maintenance. (#66666)

Adds an ancient cult altar to the depths of maintenance.
It can create products woven by the ancient cultists.

* Adds an ancient altar to maintenance.

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2022-05-09 01:31:45 +01:00
SkyratBot
effc8fb75e [MIRROR] Titanium and plastitanium shards and weapons + missing textures. [MDB IGNORE] (#13457)
* Titanium and plastitanium shards and weapons + missing textures.

* ew

Co-authored-by: Comxy <tijntensen@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-09 01:30:21 +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
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
SkyratBot
84e4e378bc [MIRROR] Card Shark DLC - GIMMIE MY MONEY OR I BREAK YOUR KNEECAPS [MDB IGNORE] (#13287)
* Card Shark DLC - GIMMIE MY MONEY OR I BREAK YOUR KNEECAPS (#64200)

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

* Update piratefort.dmm

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-09 00:37:35 +01:00
SkyratBot
94a354157b [MIRROR] Disables the tax on off-station lathes [MDB IGNORE] (#13425)
* Disables the tax on off-station lathes (#66566)

Disables the tax from lathes off-station or on-mining-level lathes.

* Disables the tax on off-station lathes

* should be all of it

* heh lmao guess what i forgot

Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-05-08 14:27:07 -07:00
SkyratBot
2c293f9e41 [MIRROR] SM delamination flux nerf [MDB IGNORE] (#13432)
* SM delamination flux nerf (#66752)

Lower the amount of anomalies spawned from the SM delamination
Lower the probability of getting a flux anomaly
Flux anomalies spawned by the SM in this way will have the explosion size reduced by 4

* SM delamination flux nerf

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2022-05-08 12:05:17 -07:00
SkyratBot
26d798808e [MIRROR] Adds even more foods! [MDB IGNORE] (#13438)
* Adds even more foods! (#66380)

This is part two of my previous food additions, this time with much more variety. This will add:

Chips and salsa: An item I have long wanted to see on the list of things you can make, and a staple of Mexican dining.
Fish tacos: Adds more variety to seafood menus, and of course, because fish tacos.
French toast: Another addition I have wanted to see for a long time. The raw version will be prepared and then be required to cook on a griddle.
Updated stuffed cabbage/pierogi sprites, because I wasn't too pleased with my previous ones.
Seaweed sheets: Made at a biogenerator and are used for making sushi.
Vegetarian sushi: Straightforward vegetarian option for sushi, can be sliced into four pieces.
Spicy filet sushi: An omnivore specific sushi with a bit of spice, can be sliced into four pieces.
French silk pie: A decadent desert that finally adds a form of chocolate pie. Sliceable.

* Adds even more foods!

Co-authored-by: MidoriWroth <kodyman@att.net>
2022-05-08 12:03:40 -07:00
SkyratBot
cdd1f9179d [MIRROR] Refactors the Charge wizard spell [MDB IGNORE] (#13424)
* Refactors the Charge wizard spell (#66599)

This PR refactors the "charge" spell to be signal based instead of looping over held items + istype checks.
This was atomized out of my proc holder removal PR. Figured it was small enough to handle on its own.

* Refactors the Charge wizard spell

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-07 22:11:12 -07:00
SkyratBot
ef2016732d [MIRROR] Makes smoke and foam attempt to fill the available space. [MDB IGNORE] (#13407)
* Makes smoke and foam attempt to fill the available space.

* wew

* reset

* Revert "reset"

This reverts commit 75be4f934504793ceb5c9bf2f3774dc24517df5a.

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-08 04:01:32 +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
Gandalf
42674e1d25 https://github.com/tgstation/tgstation/pull/66386 2022-05-07 23:43:54 +01:00
SkyratBot
694a0740dc [MIRROR] Parallax but better: Smooth movement cleanup [MDB IGNORE] (#13414)
* Parallax but better: Smooth movement cleanup (#66567)

* Alright, so I'm optimizing parallax code so I can justify making it do a
bit more work

To that end, lets make the checks it does each process event based.
There's two. One is for a difference in view, which is an easy fix since
I added a view setter like a year back now.

The second is something planets do when you change your z level.
This gets more complicated, because we're "owned" by a client.
So the only real pattern we can use to hook into the client's mob's
movement is something like connect_loc_behalf.

So, I've made connect_mob_behalf. Fuck you.

This saves a proc call and some redundant logic

* Fixes random parallax stuttering

Ok so this is kinda a weird one but hear me out.

Parallax has this concept of "direction" that some areas use, mostly
the shuttle transit ones. Set when you move into a new area.
So of course it has a setter. If you pass it a direction that it doesn't
already have, it'll start up the movement animation, and disable normal
parallax for a bit to give it some time to get going.

This var is typically set to 0.

The problem is we were setting /area/space's direction to null in
shuttle movement code, because of a forgotten proc arg.

Null is of course different then 0, so this would trigger a halt in
parallax processing.

This causes a lot of strange stutters in parallax, mostly when you're
moving between nearspace and space. It looks really bad, and I'm a bit
suprised none noticed.

I've fixed it, and added a default arg to the setter to prevent this
class of issue in future. Things look a good bit nicer this way

* Adds animation back to parallax

Ok so like, I know this was removed and "none could tell" and whatever,
and in fairness this animation method is a bit crummy.

What we really want to do is eliminate "halts" and "jumps" in the
parallax moveemnt. So it should be smooth.

As it is on live now, this just isn't what happens, you get jumping
between offsets. Looks frankly, horrible. Especially on the station.

Just what I've done won't be enough however, because what we need to do
is match our parallax scroll speed with our current glide speed. I need
to figure out how to do this well, and I have a feeling it will involve
some system of managing glide sources.

Anyway for now the animation looks really nice for ghosts with default
(high) settings, since they share the same delay.

I've done some refactoring to how old animation code worked pre (4b04f9012d). Two major
changes tho.

First, instead of doing all the animate checks each time we loop over a
layer, we only do the layer dependant ones. This saves a good bit of
time.

Second, we animate movement on absolute layers too. They're staying in
the same position, but they still move on the screen, so we do the same
gental leaning. This has a very nice visual effect.

Oh and I cleaned up some of the code slightly.

* Parallax but better: Smooth movement cleanup

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2022-05-07 23:33:34 +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
bca6a53e8e adds new z-level trait to disable parallax (#66637) (#13353)
* first push woohoo

* more stuff

* Update code/datums/components/z_parallax.dm

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

* mothblockification

* fuck

* fuck 2

* uh

* uh yeah style stuff ig

* more changes

* last changes

* fuck

* fuck 2

* i hate potatopotato

* i hate potato * 2

* a

* god

* woops

* Update code/modules/mapping/space_management/traits.dm

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

* Update code/modules/mapping/space_management/traits.dm

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

* Update code/modules/mapping/space_management/traits.dm

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

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

Co-authored-by: magatsuchi <88991542+magatsuchi@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-07 22:14:14 +01:00
Higgin
02cb529101 Fixes the actual issue with on-mob resprites. (#13395)
* Update reskin_defines.dm

* Update items.dm

* Update items.dm
2022-05-07 22:08:52 +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
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
58dda534db Syringes and injectors icons (#66722) (#13371)
New sprites for the implanter and DNA injector!

Co-authored-by: PestoVerde322 <75247747+PestoVerde322@users.noreply.github.com>
2022-05-06 14:59:18 +01:00
RatFromTheJungle
b14d75dbea [non-modular] [uh oh stinky config change] new AI laws from oldbase, dagoth-bot, and texas-ranger (God Complex, and Frontier Ranger ingame) (#13340)
* Create ai_laws.dm

* Create AI_modules.dm

* Update ai_module.dm

* i hope im allowed to add these here :)

* Update tgstation.dme

* cleanup

* cleanup2plsstopturningmyindentsintospacespls

* cleanup3

* grammar fix
2022-05-06 12:57:25 +01:00