mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 23:48:11 +00:00
added the game
This commit is contained in:
19
addons/mod_tool/templates/minimal/manifest.json
Normal file
19
addons/mod_tool/templates/minimal/manifest.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "ModName",
|
||||
"namespace": "AuthorName",
|
||||
"version_number": "0.0.1",
|
||||
"description": "Description of your mod...",
|
||||
"website_url": "https://github.com/exampleauthor/examplemod",
|
||||
"dependencies": [],
|
||||
"extra": {
|
||||
"godot": {
|
||||
"authors": ["AuthorName"],
|
||||
"optional_dependencies": [],
|
||||
"load_before": [],
|
||||
"incompatibilities": [],
|
||||
"compatible_mod_loader_version": ["7.0.0"],
|
||||
"compatible_game_version": ["0.0.1"],
|
||||
"config_schema": {}
|
||||
}
|
||||
}
|
||||
}
|
37
addons/mod_tool/templates/minimal/mod_main.gd
Normal file
37
addons/mod_tool/templates/minimal/mod_main.gd
Normal file
@@ -0,0 +1,37 @@
|
||||
extends Node
|
||||
|
||||
|
||||
const MOD_DIR := "AuthorName-ModName"
|
||||
const LOG_NAME := "AuthorName-ModName:Main"
|
||||
|
||||
var mod_dir_path := ""
|
||||
var extensions_dir_path := ""
|
||||
var translations_dir_path := ""
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
mod_dir_path = ModLoaderMod.get_unpacked_dir().path_join(MOD_DIR)
|
||||
# Add extensions
|
||||
install_script_extensions()
|
||||
install_script_hook_files()
|
||||
|
||||
# Add translations
|
||||
add_translations()
|
||||
|
||||
|
||||
func install_script_extensions() -> void:
|
||||
extensions_dir_path = mod_dir_path.path_join("extensions")
|
||||
|
||||
|
||||
func install_script_hook_files() -> void:
|
||||
extensions_dir_path = mod_dir_path.path_join("extensions")
|
||||
|
||||
|
||||
func add_translations() -> void:
|
||||
translations_dir_path = mod_dir_path.path_join("translations")
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
|
1
addons/mod_tool/templates/minimal/mod_main.gd.uid
Normal file
1
addons/mod_tool/templates/minimal/mod_main.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://batioljx51vjr
|
Reference in New Issue
Block a user