added the game

This commit is contained in:
JHDev2006
2025-09-13 16:30:32 +01:00
parent 5ef689109b
commit 3773bdaf64
3616 changed files with 263702 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
extends EditorExportPlugin
static var hook_pre_processor: _ModLoaderModHookPreProcessor
func _get_name() -> String:
return "Godot Mod Loader Export Plugin"
func _export_begin(features: PackedStringArray, is_debug: bool, path: String, flags: int) -> void:
hook_pre_processor = _ModLoaderModHookPreProcessor.new()
hook_pre_processor.process_begin()
func _export_file(path: String, type: String, features: PackedStringArray) -> void:
if path.begins_with("res://addons") or path.begins_with("res://mods-unpacked"):
return
if type != "GDScript":
return
skip()
add_file(
path,
hook_pre_processor.process_script(path, true).to_utf8_buffer(),
false
)

View File

@@ -0,0 +1 @@
uid://b0csnkkiudklo

View File

@@ -0,0 +1,7 @@
[plugin]
name="A Mod Loader Hooks Exporter"
description="Export plugin to insert static mod hooks into each script."
author="Godot Modding"
version="0.1"
script="plugin.gd"

View File

@@ -0,0 +1,14 @@
@tool
extends EditorPlugin
var _export_plugin: EditorExportPlugin
func _enter_tree():
_export_plugin = preload("res://addons/mod_loader/_export_plugin/export_plugin.gd").new()
add_export_plugin(_export_plugin)
func _exit_tree() -> void:
remove_export_plugin(_export_plugin)

View File

@@ -0,0 +1 @@
uid://l36n5fcc565s