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

Is it possible to keep the reference to oldThing if it's being replaced by more than one newThing? #29

Open
Garethp opened this issue Nov 1, 2021 · 0 comments

Comments

@Garethp
Copy link
Contributor

Garethp commented Nov 1, 2021

One of the things I want to support in my Compatibility mod is replacing the larger (2x4) Planters from Vanilla Furniture Expanded - Farming with 2 regular (1x4) Hydroponics bays. Moving over the grown plant setting is easy enough, but it only moves it over for the first item. I'm assuming that's because when the first Hydroponics is built, the Planter is deconstructed and so when the second Hydroponics is built there's no reference to the original Planter to get it's plant setting anymore.

I couldn't see a way myself but I was hoping you'd have more insight, but I'm wondering if it's possible to either fire an action when the blueprint is placed so I can store a reference to the plant type then or if it's possible to hold onto the original objects settings after despawn for a certain amount of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant