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

Hackable rework #786

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Hackable rework #786

wants to merge 9 commits into from

Conversation

Legend-Master
Copy link
Collaborator

@Legend-Master Legend-Master commented Dec 28, 2024

Fix #705

  • Rework hackable to be a just a workable copy instead of both workable and pickable
  • When you have something that is hackable, we add in workable component with action set to ACTIONS.HACK so that most DST things can work on them as mentioned in hackable相关 #705, and we also add in hackable component for consistency for our other components to interact with it easier
  • Hackable will forward actions to workable if they both exist on the same entity and workable action is ACTIONS.HACK
  • Shearable's canshear is not set from hackable anymore, we will need to set it manually on state change and/or on work finished

Some other changes:

  • grass_tall now uses growable
  • tubertrees no longer grow its tubers with the old hackable behavior, instead it will now gets +1 tuber on growing to tall, and grow to 2 tubers when growing to short

@Legend-Master Legend-Master linked an issue Dec 28, 2024 that may be closed by this pull request
@Legend-Master Legend-Master marked this pull request as ready for review December 29, 2024 14:33
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.

hackable相关
1 participant