You are viewing a potentially older version of this package. View all versions.
PuppyGirl-TackleBox-0.4.1 icon

TackleBox

View and configure installed mods!

Date uploaded a week ago
Version 0.4.1
Download link PuppyGirl-TackleBox-0.4.1.zip
Downloads 10138
Dependency string PuppyGirl-TackleBox-0.4.1

This mod requires the following mods to function

NotNet-GDWeave-2.0.12 icon
NotNet-GDWeave

Mod loader & runtime script patching for Godot

Preferred version: 2.0.12

README

A mod list and configuration editor for GDWeave mods in Webfishing! 🎣

Adds a button to Webfishing's main menu to view a list of the mods currently loaded by GDWeave. Mods with additional config files will have a config menu, allowing you to enable/disable features of a mod without touching a json file. Currently only true or false values are supported for Tackle Box's config editor but this is subject to change!

Tackle Box's mod menu

For Mod Developers

Tackle Box can display additional metadata for loaded mods, such as its current version, author, and a brief description! To include richer metadata with your mod for Tackle Box to display, add a "Metadata" key to your manifest.json with the following value:

{
    "Name": "The name of your mod",
    "Author": "Your name goes here~!",
    "Version": "Your mod's current version formatted as a string",
    "Description": "A brief description of your mod"
}

For an example of what your manifest should look like, check out Tackle Box's manifest!

Additionally, as of version 0.2.0, Tackle Box comes with additional utilities for developers to take advantage of. To use Tackle Box's utilities in your code, add the following to the top of your script:

onready var TackleBox := $"/root/TackleBox"

Signals

signal mod_config_updated(mod_id, config)

Emits a signal every time a mod's config is updated through Tackle Box's methods

Methods

get_mod_manifest(mod_id: String) -> Dictionary

Returns the mod manifest for the given mod ID. Keys are returned in snake_case

get_mod_metadata(mod_id: String) -> Dictionary

Returns the mod metadata for the given mod ID. Keys are returned in snake_case

get_mod_config(mod_id: String) -> Dictionary

Returns the config for the given mod ID.

set_mod_config(mod_id: String, new_config: Dictionary) -> int

Sets the config for the given mod ID and creates a new config file if one doesn't exist; returns an error code if unable to write to the config