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

[ENHANCEMENT] ModStore #4230

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

[ENHANCEMENT] ModStore #4230

wants to merge 1 commit into from

Conversation

cyn0x8
Copy link
Contributor

@cyn0x8 cyn0x8 commented Feb 26, 2025

will work well alongside #4172

adds a simple helper class for scripts to store arbitrary data during runtime

this is different from storing data in modules as this data will persist as long as the game is open, and is also different from Save.instance.modOptions in that its intended to be temporary and also compatible with any type

ive frequently encountered scenarios where certain things need to persist through mod reloads, and made a kinda complex workaround script to compensate, but itd be a lot nicer to have this class to use instead!!

it works well

@github-actions github-actions bot added status: pending triage Awaiting review. size: medium A medium pull request with 100 or fewer changes. pr: haxe PR modifies game code. and removed size: medium A medium pull request with 100 or fewer changes. labels Feb 26, 2025
@Hundrec Hundrec added type: enhancement Involves an enhancement or new feature. topic: mods Related to the creation or use of mods. size: medium A medium pull request with 100 or fewer changes. labels Feb 26, 2025
@MAZ12211
Copy link

MAZ12211 commented Feb 26, 2025

Wtf, beast engine?
I never knew this existed, looks really useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. status: pending triage Awaiting review. topic: mods Related to the creation or use of mods. type: enhancement Involves an enhancement or new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants