-
Notifications
You must be signed in to change notification settings - Fork 543
Allows certain welders and solders to accept plasma and pacid respectively for faster work. #37669
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
base: Bleeding-Edge
Are you sure you want to change the base?
Allows certain welders and solders to accept plasma and pacid respectively for faster work. #37669
Conversation
do they explode bigger when i light a welding tank with them |
allow solders to take lead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small fixes
if(type == FUEL) | ||
return reagents.get_reagent_amount(FUEL) | ||
else if(type == PLASMA) | ||
return reagents.get_reagent_amount(PLASMA) | ||
else | ||
return reagents.get_reagent_amount(FUEL) + reagents.get_reagent_amount(PLASMA) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if(type == FUEL) | |
return reagents.get_reagent_amount(FUEL) | |
else if(type == PLASMA) | |
return reagents.get_reagent_amount(PLASMA) | |
else | |
return reagents.get_reagent_amount(FUEL) + reagents.get_reagent_amount(PLASMA) | |
return reagents.get_reagent_amount(FUEL) + reagents.get_reagent_amount(PLASMA) |
keep it simple
if(type == SACID) | ||
return reagents.get_reagent_amounts(SACIDS) | ||
else if(type == PACID) | ||
return reagents.get_reagent_amounts(PACIDS) | ||
else | ||
return reagents.get_reagent_amounts(SACIDS + PACIDS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if(type == SACID) | |
return reagents.get_reagent_amounts(SACIDS) | |
else if(type == PACID) | |
return reagents.get_reagent_amounts(PACIDS) | |
else | |
return reagents.get_reagent_amounts(SACIDS + PACIDS) | |
return reagents.get_reagent_amounts(SACIDS + PACIDS) |
[content]
What this does
Allows gatling welders to accept plasma for faster welding and screwsolders to accept pacid for faster soldering. (could probably make regular solders accept pacid too because of how rare screwsolders are, lemme know. ditto other more advanced welders)
Rewrites a few soldering do_afters into a do_solder function to put it on parity with welders and make coding this whole thing easier.
Why it's good
Gives these chems more helpful uses around the station.
How it was tested
Blank circuitboards, suit storage units, lockers, account databases and media broadcasters can all still be soldered.
Pacid affects solder speed.
Plasma affects welding speed.
Changelog
🆑