[changed] Sandbox will allow faster building and mining #1973
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Status
Description
This PR makes changes to allow faster building and mining in Sandbox mode.
This makes sense to me because Sandbox mode should be all about building stuff.
Although
PlacementCommon.as
was changed to not check for rules tag"faster building"
anymore, I added it back in and added the tag toSandbox_Rules.as
.I noticed
BuilderLogic.as
would list animations"chop_fast"
and"strike_fast"
even though they aren't listed inBuilder.cfg
.So I added them to
Builder.cfg
, reducing the animation time from 12 ticks to 8 ticks each.The faster version is applied when rules has tag
"faster mining"
, which is also set toSandbox_Rules.as
.If players would prefer the normal speed, maybe we can think about adding a player-based setting to allow both, either in the menu or within the game-world (as a button in buildershop maybe).
Tested in offline and online, works as intended.