Patch 5
Custom Options » Devlog
NEW STUFF
- option_set_field(mod_type, mod_name, page_name, option_name, field, value)
- Allows changing the properties of an option. Be careful with it.
- option_get_field(mod_type, mod_name, page_name, option_name, field)
- Like the above, but for retrieving the property.
- option_defget_field(mod_type, mod_name, page_name, option_name, field, def_value)
- Returns def_value if the property is missing, or the property's value if not.
- options can now have a "point" field again, but with a different purpose
- Point is like a script reference, but for the options variable.
- An option containing the field "point" with the value ["mod", "old example options", "options"] would ignore the current mod variable and change itself within old example options.mod.gml's global.options.
FIXES?
- changed vertical offsets to better center options
- string_height is now used for options with names taller than one line (giving "pixels" or "lines" as properties still works)
- made minor changes to how text is drawn
I did not test this very much because it shouldn't impact any currently existing configurations. If you find something broken please let me know.
Files
custom options.zip (April 15, 2020) 13 kB
Apr 15, 2020
Get Custom Options
Custom Options
Options controller for your mods
Status | Released |
Category | Game mod |
Author | Squiddy |
Tags | Nuclear Throne Together |
More posts
- 9940, 9944, and v100 (patch 1 and patch 2)77 days ago
- Big Rewrite for v100 Support98 days ago
- A few fixesAug 03, 2022
- More to come (?)Aug 09, 2021
- Final Patch (?)Mar 15, 2021
- Patch 8Jul 26, 2020
- Patch 7Jul 07, 2020
- Patch 6Apr 18, 2020
- Patch 4Apr 09, 2020
Leave a comment
Log in with itch.io to leave a comment.