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

Major refactoring & use item feature #1

Merged
merged 6 commits into from Mar 8, 2024
Merged

Major refactoring & use item feature #1

merged 6 commits into from Mar 8, 2024

Conversation

yuzhengwen
Copy link
Owner

No description provided.

Now all crystal items added (even from starting inventory) are useable (by right clicking it)
Added BaseInventoryItem and various interfaces.
New item class can derive from base item and implement custom logic (e.g. drop, use, equip, etc)
- Removed UI_InventoryItem
- Added a MouseDragItem object that is enabled when dragging an inventory item
- Allows for more custom behaviour (e.g. splitting stacks) in future
@yuzhengwen yuzhengwen merged commit b9233ea into main Mar 8, 2024
yuzhengwen added a commit that referenced this pull request Mar 13, 2024
Merge pull request #1 from yuzhengwen/Features
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.

None yet

1 participant