SlimeVoid / CollaborativeMod

GNU Lesser General Public License v3.0
1 stars 0 forks source link

Possible to create Linked Plans #20

Open Tarig0 opened 10 years ago

Tarig0 commented 10 years ago

If we make it so the Collab Bench has 3 crafting grids we should allow for the crafting results to be shared between each grid.

Example

Blazepowder -> Eye of Ender -> wand using Eye of ender.

OR

two crafted item -> one

What we would do is when a player inserts a plan scan the player inventory for the needed items (since all the internal inventory will be used up.)

If all matches found stop and show solid crafting result.

else show ghost crafting result.

When a user Clicks the ghost item attempt to scan the other two crafting result slots.

If a solid Item is found craft it and move the item into the original grid until all slots for that item is filled.

(We Could add a tick handler here to add some penalty for using this feature, allow users to cancel the action(by invalidating the item being crafted), and keep lag down)

If a ghost of a required item is found attempt the same thing again and ensure we don't look at the original crafting grid.

Tarig0 commented 10 years ago

We could also add a button to cancel the auto craft process as an option to stop the process.