Introduce Tablet Computer#131
Open
IpsumCapra wants to merge 6 commits intoNorth-Western-Development:1.20.1from
Open
Introduce Tablet Computer#131IpsumCapra wants to merge 6 commits intoNorth-Western-Development:1.20.1from
IpsumCapra wants to merge 6 commits intoNorth-Western-Development:1.20.1from
Conversation
This commit introduces the basis of the Tablet item. It contains: - The item registration for the tablet - Its name, description and textures - All classes required for its virtual machine instance - All network message classes to allow communication between server and client - Required container classes - Level capability to store tablet states on server
When the player destroys the tablet in any way, its VM state is now removed from the level capability, and where applicable, from the client-side cache.
Also adds a required TerminalUserProvider resolver for TabletStates to the File Import/Export Card.
Register an item property for the Tablet which allows its texture to change depending on whether or not it is running.
Register the crafting recipe for the Tablet.
Also corrects a typo in the robot entry.
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.
Tablets for OC2:R!
This PR introduces tablet computers. A feature I was sorely missing from OC. While this isn't my first contribution to (the original) OC2, this is my first time creating such a feature for any sort of mod. All feedback, questions and suggestions are welcome.
Important implementation facts:
Screenshots: