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

Add improved scripting api with event helper functions #440

Merged
merged 66 commits into from
Feb 9, 2024
Merged

Conversation

GregHib
Copy link
Owner

@GregHib GregHib commented Feb 9, 2024

Working towards #324
Provides methods to make scripts more readable and easier to write. Should not have any impact on content or functionality.

Next steps:

  • Phasing out Priority
  • Move event emitting from Entities into a single Store
  • Add a Handlers system for 1:1 O(1) lookups
  • Add a different Events system for 1:Many lookups
  • Optional: Add feedback mechanics for when actions failed Ai Robustness #241

Fixes:

  • Items on death wealth calculations
  • Creating potato's with butter

@GregHib GregHib merged commit ab4ab86 into main Feb 9, 2024
1 of 2 checks passed
@GregHib GregHib deleted the event-helpers branch February 9, 2024 21:52
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