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

[WIP] Revamp the procedural crafting system. #974

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

IntegratedQuantum
Copy link
Member

@IntegratedQuantum IntegratedQuantum commented Jan 27, 2025

  • Add a button (WOOOOO! Progress!)
  • Load a list of tool types from the assets
  • Use the button to toggle between the available tool types
  • Store the selected tool type in the inventory and sync it with the server (→done with the open command)
    • How should it be sent to the server? By numerical id with a palette, or directly as a string? (→string is the easiest
    • What should happen if the player clicks the button while something is in the crafting grid? Should it just reject it so we don't have to deal with the problems? (→solved by depositing, closing and reopening the inventory entirely)
  • Support adding properties to each slot (source property of material, destination property of the tool and factor), which get added together to form the tool stats
  • Support disabling slots(can't place items there), or making them mandatory(can't craft if empty).
  • Support selecting which blocks it can mine.
  • Add the base tools (axe, pickaxe, shovel)
  • Support for tool textures to allow more control over the procedural generation (these should allow the artist to say which pixel corresponds to which slot using a color coding theme)
  • cleanup

fixes #594
fixes #238
fixes #947
progress towards #89
progress towards #625

This can be used to toggle the thing.
@IntegratedQuantum IntegratedQuantum marked this pull request as draft January 27, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant