-
Notifications
You must be signed in to change notification settings - Fork 78
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
Traps: InstantPlacement & RemoveOnceDepleted #3635
base: master
Are you sure you want to change the base?
Conversation
Add new properties: InstantPlacement & RemoveOnceDepleted
I suppose TrapStats should still get merged into TrapConfigStats, any reason why 1 of the properties is in 1 and the other in the other? |
Yes, merging those two in a future PR would be a good idea. The reason for this PR is simply that it was more practical:
|
This comment was marked as outdated.
This comment was marked as outdated.
to me code looks fine, and yeah merging should be seperate PR so fine by me |
I fixed the conflicts. |
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.
👍 looks good, and will come in handy for eventually being able to place and remove traps via script.
(I assume you can't do the opposite and force doors to be placed with crates because doors are slabs and transparency wouldn't work for slabs and it'd probably involve making some sort of "door blueprint" slab that only you can see etc etc and that would be awful to code)
Thanks for the review! |
Two new properties for traps:
InstantPlacement
&RemoveOnceDepleted
.Good for tower defense map.