-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
Basemats Part 1: Framework & Fixes #10135
Basemats Part 1: Framework & Fixes #10135
Conversation
…items-PLUS-chairs-&-tables
Gonna be broken as shit for the time being, just a proof of concept for now. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…items-PLUS-chairs-&-tables
Im going to simply not include glass & diamond. Theres already quite some heft to this PR, we can find a snowflake solution to that later. A maintainer also told me they didnt like Diamonds being a basemat, so that will be an opportunity to make it more palatable. |
This PR is now good to go |
Risky merge |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
I lied. That modular fabricator code was gross. Explicitly defining what we want to inherit material effects should generate a hell of a lot less edge-cases & use less processing. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…items-PLUS-chairs-&-tables
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.
yolomerge 2 electric boogaloo
This PR made an unnecessary variable name change across the board. This causes unnecessary conflicts and headaches for open PRs for no substantial gain.
|
I am personally not against var name change when a massive change like this was brought because it is a good notification for people who are doing some works on the changed variable. |
Ports:
About The Pull Request
This PR is an attempt at porting basemats, while trying to skip all the problems it caused at the time of its initial implementation. (Looking at you Uranium coins.)
DISCLAIMER: While the port list is long, this is effectively ONE content pr, with NINE fix prs stacked on top. This is very much a framework, as I did not wish to knowingly introduce the horrendous bugs the single pr brought upon TG. As such I've limited the applicable basemat materials quite a bit, all expansions to this are planned in Part 2
Effectively, basemats are a concept of making chairs and other objects from different materials, and the crafted objects from those materials inheriting their properties
closes #10245
TODO
Why It's Good For The Game
We technically already have it, just at a small scale. I think adding the framework to this will mesh with Pigeons planned ideas nicely.
Players also have been wanting things like statue sculpting & tile reskinning, of which this is a prerequisite.
Testing Photographs and Procedure
Screenshots&Videos
Searers are made with plasma as an ingredient, but added code in protolathe makes sure they dont inherit plasma's burn-on-hit ability
Deconstructing the objects gives back the expected materials
decon.mp4
Tables & Chairs
Testing Stacks and Material refunding
dreamseeker_I0nd6L2ATM.mp4
Changelog
🆑 rkz, kitz-katz, willox, ninjanomnom, haukeschaumann, Qustinnus, TemporalOroborous
add: Adds additional framework to basemats, Materials under the label 'basemat' include Iron, Titanium, Plastic, Uranium, Plasma, Silver and Gold.
add: Adds ability to craft chairs and tables out of any basemat material.
tweak: Miner satchels now provide minor radiation protection from their contents, this is to prevent uranium ore from giving you cancer just for existing.
refactor: lazy initializes the basemats subsystem to cut down on processing
refactor: reduces overall unecessary lists in the basemats & custom_materials code
fix: fixes a bug relating to duplicating materials
fix: fixes a bug where basemats would exagerrate their material properties.
fix: fixes a bug where basemats properties would be inherited by anything crafted with them in an auto/protolathe
/:cl: