Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MDB IGNORE] Eliminates Toxins #60619

Merged
merged 7 commits into from Aug 17, 2021

Conversation

EOBGames
Copy link
Contributor

@EOBGames EOBGames commented Aug 1, 2021

About The Pull Request

Repaths everything referring to "toxins" while actually meaning either the room in science or plasma gas. While this PR might be disrespectful to our forefathers, given this is (I believe) a holdover from as far back as the Exadv1 days, this has constantly irked me since I started working with the code. None of the player-facing stuff has referred to plasma as toxin since before 4407 hit, besides the Toxins Lab, and yet all of the type-paths are still pointing at toxins, making it a nightmare to search for in a map editor, and making the code needlessly easy to confuse with that of toxin damage. So this just fires it into the sun.

Anything relating to Toxins, the science subdepartment, now makes reference to Ordnance instead. This felt fitting enough given the focus of the subdepartment is around the creation of and testing of explosives.
Anything relating to plasma gas has, fittingly, been made to refer to plasma gas.

Edit: Ah yes, I feel I should probably apologise off the bat for the size of this PR- the code touched is mostly atmos machinery and simplemobs, a few sprites here and there, and of course the station maps + a few offstation maps.

Why It's Good For The Game

Makes the code more legible and makes mapping less painful.

Changelog

🆑
code: Management would like to announce that in accordance with new company policy, the Toxins Lab will henceforth be known as the Ordnance Lab. In addition, a number of company protocols have been rewritten with this in mind.
/:cl:

@tgstation-server tgstation-server added Code Improvement Code is now easier to copy paste. Map Edit Thank you for your tile-placing service. It's always appreciated. Sprites A bikeshed full of soulless bikes. labels Aug 1, 2021
@@ -259,7 +259,7 @@ GLOBAL_LIST_INIT(gas_id_to_canister, init_gas_id_to_canister())
greyscale_config = /datum/greyscale_config/canister
greyscale_colors = "#9b5d7f"

/obj/machinery/portable_atmospherics/canister/toxins
/obj/machinery/portable_atmospherics/canister/plasma
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh my god yessssssssssssssssssssssssssssssssssssssssssssssssssssssssss

@Mothblocks
Copy link
Member

i wonder if people will ever call it ordnance instead of toxins. people still call the cryptographic sequencer the emag

Copy link
Member

@Mothblocks Mothblocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a txt file for all conversions in here just like the rest

https://github.com/tgstation/tgstation/tree/master/tools/UpdatePaths

in fact you shouldve done that from the beginning wouldve saved you a ton of work

@EOBGames
Copy link
Contributor Author

EOBGames commented Aug 1, 2021

i wonder if people will ever call it ordnance instead of toxins. people still call the cryptographic sequencer the emag

Doesn't particularly concern me what people actually end up calling it- it being something less pants-on-head than toxins in the code pleases me

@Mothblocks
Copy link
Member

yeah i figured

@tralezab
Copy link
Contributor

tralezab commented Aug 1, 2021

Separating toxins damage and atmos gas is fantastic

@KittyNoodle
Copy link
Contributor

Everyone will continue to call it the bomb lab or toxins lab, but the other changes will be great

@ATH1909
Copy link
Contributor

ATH1909 commented Aug 1, 2021

oh my god yes

❤️

@github-actions github-actions bot added the Merge Conflict Adding upstream files to your repo via drag and drop won't resolve conflicts label Aug 1, 2021
@LemonInTheDark
Copy link
Member

I will have to perform 3 ritual sacrifices and a blood rite, but I suppose it is for the best

@JohnFulpWillard
Copy link
Member

JohnFulpWillard commented Aug 1, 2021

image

I wonder why the maptainer chose this for the name

@Bawhoppen
Copy link
Contributor

Ah, it's fun quirks like it being called toxins that adds flavor to the game. No need to remove, in my opinion.

@EOBGames
Copy link
Contributor Author

EOBGames commented Aug 2, 2021

image

I wonder why the maptainer chose this for the name

I'll have you know I haven't used an ordnance survey map in 5 years! (They're quite high quality, though- very nice if you need to know the exact height of a random hill in the middle of the Yorkshire countryside)

@maxymax13
Copy link
Contributor

maxymax13 commented Aug 3, 2021

i wonder if people will ever call it ordnance instead of toxins. people still call the cryptographic sequencer the emag

do you call doorjacks "Airlock Authentication Override Card™"s then?

@CPTANT
Copy link
Contributor

CPTANT commented Aug 3, 2021

Just call it the plasma lab, lol.

@github-actions
Copy link
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself

@github-actions github-actions bot added the Stale Even the uncaring universe rejects you, why even go on label Aug 11, 2021
@LemonInTheDark
Copy link
Member

Lemme give this a read over, and if I'm good with it I'll bug you about conflicts, cause that's just not fair

@LemonInTheDark LemonInTheDark changed the title Eliminates Toxins [MDB IGNORE] Eliminates Toxins Aug 11, 2021
@tgstation-server tgstation-server removed the Merge Conflict Adding upstream files to your repo via drag and drop won't resolve conflicts label Aug 14, 2021
@@ -44,7 +44,7 @@
#define STOPSPRESSUREDAMAGE (1<<1) //SUIT and HEAD items which stop pressure damage. To stop you taking all pressure damage you must have both a suit and head item with this flag.
#define BLOCK_GAS_SMOKE_EFFECT (1<<2) // blocks the effect that chemical clouds would have on a mob --glasses, mask and helmets ONLY!
#define MASKINTERNALS (1<<3) // mask allows internals
#define GAS_FILTERING (1<<4) //mask filters toxins and other harmful gases
#define GAS_FILTERING (1<<4) //mask filters plasma and other harmful gases
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toxins is a fine use here, it's literally like, plasma trit etc. other harmful is n2o and so on

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aye, fair- I was kinda on full find and replace mode there

the goal was to make stuff less obfuscated, not more
@tgstation-server tgstation-server added the Tools We pretend to be a real development community label Aug 16, 2021
@EOBGames
Copy link
Contributor Author

add a txt file for all conversions in here just like the rest

https://github.com/tgstation/tgstation/tree/master/tools/UpdatePaths

in fact you shouldve done that from the beginning wouldve saved you a ton of work

alright, I've made one- it's also a fantastic file for showing why this PR is necessary, so that's nice

@LemonInTheDark
Copy link
Member

The ritual is finished, payments have been made, and there's only a 20% chance of aran showing up at my door with a hammer. Let's fucking dance

@LemonInTheDark LemonInTheDark merged commit b086323 into tgstation:master Aug 17, 2021
github-actions bot added a commit that referenced this pull request Aug 17, 2021
@maxymax13
Copy link
Contributor

soulless

@LemonInTheDark
Copy link
Member

Opinion noted and ignored

LemonInTheDark pushed a commit to LemonInTheDark/tgstation that referenced this pull request Dec 12, 2021
* [MDB IGNORE] Eliminates Toxins (tgstation#60619)

Repaths everything referring to "toxins" while actually meaning either the room in science or plasma gas. While this PR might be disrespectful to our forefathers, given this is (I believe) a holdover from as far back as the Exadv1 days, this has constantly irked me since I started working with the code. None of the player-facing stuff has referred to plasma as toxin since before 4407 hit, besides the Toxins Lab, and yet all of the type-paths are still pointing at toxins, making it a nightmare to search for in a map editor, and making the code needlessly easy to confuse with that of toxin damage. So this just fires it into the sun.

Anything relating to Toxins, the science subdepartment, now makes reference to Ordnance instead. This felt fitting enough given the focus of the subdepartment is around the creation of and testing of explosives.
Anything relating to plasma gas has, fittingly, been made to refer to plasma gas.

Edit: Ah yes, I feel I should probably apologise off the bat for the size of this PR- the code touched is mostly atmos machinery and simplemobs, a few sprites here and there, and of course the station maps + a few offstation maps.

Makes the code more legible and makes mapping less painful.

(The payment has been made)

* [MDB IGNORE] Eliminates Toxins

Co-authored-by: EOBGames <58124831+EOBGames@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Code is now easier to copy paste. Map Edit Thank you for your tile-placing service. It's always appreciated. Sprites A bikeshed full of soulless bikes. Stale Even the uncaring universe rejects you, why even go on Tools We pretend to be a real development community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet