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

Allow vending machines to be repaired #638

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

dvir001
Copy link
Contributor

@dvir001 dvir001 commented Dec 2, 2023

About the PR

When a vending machine gets broken it can now be fixed to working state with full health.

Why / Balance

Why not.

Technical details

C#
When the machine move into broken visuals we add the WeldableComponent to it.
Then we add the WeldableChangedEvent event and make the machine go back to full health and working state.
Finally we remove the WeldableComponent so the machine can only be fixed when its broken.

Media

  • I have added screenshots/videos to this PR showcasing its changes ingame,

Breaking changes

N/A

Changelog
🆑 dvir01

  • tweak: Using welding tools on broken vending machines will restore them to working order.

@Cheackraze Cheackraze merged commit bb95b25 into new-frontiers-14:master Dec 4, 2023
8 of 9 checks passed
FrontierATC added a commit that referenced this pull request Dec 4, 2023
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

Successfully merging this pull request may close these issues.

2 participants