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

Feature/graph #327

Draft
wants to merge 10 commits into
base: refactor/mutliplayer
Choose a base branch
from
Draft

Feature/graph #327

wants to merge 10 commits into from

Conversation

susch19
Copy link
Member

@susch19 susch19 commented Feb 28, 2024

No description provided.

susch19 and others added 10 commits October 18, 2023 21:07
* with all the common functions like adding, removing, splitting and merging and so on
* added a new pencil class, which holds the different graphs of the world
* added new light blocks for on and off state, texture thanks to gallimathias

Co-authored-by: Marcus Aurelius <[email protected]>
* because distributing energy can't be done with a simple base logic and needs a special graph type
* implemented serialization and deserilization of nodes and graphs for persistant fun
* added new source, target and transfer interfaces, so we can destinguish between these  easier in the update and add logic
* fixed set block meta should not invoke the changed event if the meta data didn't actually change
* add new set block meta in chunk column with index3 instead of x,y,z
* added new operators for index2 and index3 to make some calculations easier

Co-authored-by: Marcus Aurelius <[email protected]>
* where a block can be in multiple graphs at the same time
* modified existing interfaces to match multiple graph types, because some proeprties are only required for energy graph
* made trasnfertype into an array, so we can check multiple and also create mutliple graphs for one block if required
* extracted cable, signaler block definitions into own definition to clear the original type
* added new simpleblock material type, which can be used at multiple points to not create materials that shouldn't exists logically
* since now we can toggle generatos on and off
* fixed deserialisation of nodes contained in multiple graphs beeing multiple instances
* renamed apply to interact and interact to hit, so the namings are more descriptive of what they are intended to mean
* added hit and interact to selection, so we can call different methods on the service
* replaced global chunk cache in pencil and graph with simulation, since we can get the gcc with the planet on pencil and simulation can be of better use inside the nodes themselves

Co-authored-by: Marcus Aurelius <[email protected]>
* so that we can toggle generators by standing on the sensor and therefore turn on the lights

Co-authored-by: Marcus Aurelius <[email protected]>
* so that we can transfer between chests and maybe even with other portable entities like the player
* started to add new storage interface item, so that we can interact with all connected inventories at the same time
* added specialisation of transfer screen to support the new storage interface
* moved on close to base of ui component, because currently every ui component uses it and has the same starting lines

Co-authored-by: Marcus Aurelius <[email protected]>
* by adding a new multi inventory component, which adds a new clear function for the temporary inventory
* fixed ui not updating, since we need to check version before returning because of same show value
* added new interaction service methods, so we can register interactions on items and not only blocks

Co-authored-by: Marcus Aurelius <[email protected]>
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.

1 participant