feat: Implement server-side support for custom block properties (Waypoint Priority, Text rich formatting, Pickup Locked/Uses/Attachments)#40
Open
flaouve wants to merge 24 commits into
Conversation
…y before adding to ObjectFromId
…stant and timed interactions
…LabAPI ignores Logger.Debug without framework debug flag) - bump to 0.2.3
…p version to 0.2.4
…p blocks, and bump version to 0.2.5
Author
|
I wrote 40 lines of unnecessary code for debugging, but just so you know, the code isn't working whether it's fixed or not, it's still working as intended, but |
…ROptimizer and bump to v0.2.6
…iccheck test command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This Pull Request implements the server-side handling and generation logic for the new custom block properties compiled by the updated Unity Editor helper.
Important
Compatibility Warning: This server-side update is fully backwards compatible with older schematic files. However, to utilize the new features (such as Waypoint priority, text alignment/size, and pickup uses), you should build your schematics using the matching updated Unity editor project: https://github.com/FuffyPal/Fla-SL-CustomObjects
Key Changes
Animatorcomponent from the specifiedTargetObject, checking the target object itself, its children, and its parents.Priorityproperty mapping for bot navigation.AttachmentsCodemapping to spawn weapons with custom scope/attachment builds.NumberOfUses(Uses) mapping viaPickupUsesLeftto allow finite or infinite item spawns.Lockedproperty to register pickups as button indicators (ButtonPickups).Logger.DebugtoLogger.Infoinside debug-conditional code blocks to bypass framework-level debug log suppression, allowing server administrators to easily test interactions.ObjectFromIdlookup dictionary to prevent server crashes on schemas with overlapping IDs.