You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand mod_info to allow a Dictionary[] Actions field.
Implement framework to allow mods to process Actions. (let's call it RunAction).
Actions should add caller prefix to handler logger.
Hide duplicate load log.
All actions have Phase and OnError.
Modnix 3 Beta 2
Make configurable. Pushed to Modnix 3.5 with config presets.
Allow API to find caller. Required to use the correct session. Need to bound caller to thread since API is thread-safe.
The "Include" field runs Actions from another file, relative to the current file or absolute to the mod's folder.
Update PPDefModifier to support action through include.
Allow action mod to load library. Keep it simple. Between Modnix and Scripting Library, if a mod need something more it shouldn't be an action mod.
Supports actions with the "Guid"/"Cls" field, and evaluates it like PPDefModifier. PPDefModifier has been updated and there is no need to have its cake.
Scripting Library Beta 1
A new mod bundled with Modnix.
Each mod have their own eval session, preserved between phases.
Provides the "eval.cs" api to evaluate c# code.
Provides the "pp.def" and "pp.defs" api for quick lookup of game def by guid, path, or type.
Supports actions with the "Eval" field, and evaluates the code on the fly.
Provide data cache for type/name/path.
Helpers to aid in modifying weapon, research, facility data. Weapon done, the rest need more ideas.
Pre-load script evaluator in background.
Scripting Library Beta 2
A way to allow mod to add helpers.
[ ] Rewrite helpers to supports mod unload. Things get messy when multiple mods modify the same data. No good fix I can see.
Use caller mod for API eval context.
A helper to get tactical item with tag(s).
Update dependent libraries.
Try to solve the assembly reference issue again to avoid dll copying.
The text was updated successfully, but these errors were encountered:
Scripting Library no longer works, and I can't fix the dll conflicts. Since all other tasks have been done, this tracker will now be closed.
It was nothing short of a miracle that it worked at all before. Hopefully we can support some other kind of scripting in the future. I am eyeing V8 integration, which should be a lot less messy in term of dlls. It's been a pleasure, .Net Core, I will avoid you even more in the future.
Planned for Modnix 3 (#23).
Modnix 3 Beta 1
RunAction
).Modnix 3 Beta 2
Make configurable.Pushed to Modnix 3.5 with config presets.Allow action mod to load library.Keep it simple. Between Modnix and Scripting Library, if a mod need something more it shouldn't be an action mod.Supports actions with the "Guid"/"Cls" field, and evaluates it like PPDefModifier.PPDefModifier has been updated and there is no need to have its cake.Scripting Library Beta 1
Helpers to aid in modifying weapon, research, facility data.Weapon done, the rest need more ideas.Scripting Library Beta 2
[ ] Rewrite helpers to supports mod unload.Things get messy when multiple mods modify the same data. No good fix I can see.The text was updated successfully, but these errors were encountered: