GodotModding / godot-mod-loader

A general purpose mod loader for GDScript based Godot Games [3.x/4.x]
https://discord.godotmodding.com
Creative Commons Zero v1.0 Universal
344 stars 26 forks source link

feat: :sparkles: added `steam_workshop_id` to `ModManifest` #393

Closed KANAjetzt closed 5 months ago

KANAjetzt commented 5 months ago

Added an optional field steam_workshop_id to ModManifest.

In the editor, it is validated with a basic string length check. Once loaded from a workshop path, it's validated based on the zip_path. If invalid, it's overridden by the correct ID retrieved from the zip_path.

closes #390

ZackeryRSmith commented 5 months ago

This PR seems to introduce a parser error at path.gd:58 as "zip_path_global" is not declared

KANAjetzt commented 5 months ago

Good catch! I thought I only messed it up locally. I'll push a fix real quick.👍