Skip to content

Commit 840652e

Browse files
authored
Merge - v0.1.1
2 parents 538f401 + 1454458 commit 840652e

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Git stuff
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.gitmodules export-ignore
5+
.github/ export-ignore
6+
/README.md export-ignore
7+
/CONTRIBUTING.md export-ignore
8+
/LICENSE export-ignore
9+
10+
# Tests
11+
test/ export-ignore
12+
13+
# Files not required by AssetLib downloads
14+
/icon.png

.gitattrubutes

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Godot Mod Loader Development Tool
44

5-
<img alt="Godot Mod Loader Devtool Logo" src="https://github.com/GodotModding/godot-mod-tool/assets/41547570/fe277599-b8c0-4eaf-8268-3eca1a78d1ff" width="256" />
5+
<img alt="Godot Mod Loader Devtool Logo" src="https://github.com/GodotModding/godot-mod-tool/blob/main/icon.png" width="256" />
66

77
<br />
88
<br />
@@ -25,17 +25,17 @@ The mod tool aims to improve the development experience when creating [Godot Mod
2525
- Create new script override file
2626
- Create new asset overwrite
2727
- Create a simple mod skeleton with a single click
28-
- Easy installation as an addon (soon™ from the AssetLib)
28+
- Easy installation as an addon (from the AssetLib)
2929

3030

3131
## Installation
3232
1. Download the latest release from the [releases page](https://github.com/GodotModding/godot-mod-tool)
3333
1. Add the `mod_tool` folder to your Godot project's `addons` folder
3434
1. Enable the addon in the Godot editor's Project Settings
3535

36-
Even more convenient, you can install the addon from the AssetLib (coming soon™).
36+
Even more convenient, you can install the addon from the AssetLib.
3737
1. Go to the AssetLib tab
38-
1. Search for `mod tool`
38+
1. Search for [`mod loader dev tool`](https://godotengine.org/asset-library/asset?filter=mod+loader+dev+tool)
3939
1. Click `Install` on the addon
4040
1. Enable the addon in the Godot editor's Project Settings
4141

addons/mod_tool/interface/file_system/file_system_context_actions.gd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ class_name FileSystemContextActions
22
extends Node
33

44

5-
onready var mod_tool_store: ModToolStore = get_node_or_null("/root/ModToolStore")
5+
var mod_tool_store: ModToolStore
66
var base_theme: Theme
77

88

9-
func _init(file_system_dock: FileSystemDock, p_base_theme: Theme) -> void:
10-
base_theme = p_base_theme
9+
func _init(_mod_tool_store: ModToolStore, file_system_dock: FileSystemDock, p_base_theme: Theme) -> void:
10+
mod_tool_store = _mod_tool_store
1111
connect_file_system_context_actions(file_system_dock)
12+
base_theme = p_base_theme
1213

1314

1415
func connect_file_system_context_actions(file_system_dock: FileSystemDock) -> void:

addons/mod_tool/interface/panel/tools_panel.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ func set_editor_plugin(plugin: EditorPlugin) -> void:
4545
mod_tool_store.editor_file_system = editor_plugin.get_editor_interface().get_resource_filesystem()
4646

4747
context_actions = FileSystemContextActions.new(
48+
mod_tool_store,
4849
editor_plugin.get_editor_interface().get_file_system_dock(),
4950
editor_plugin.get_editor_interface().get_base_control().theme
5051
)

icon.png

406 KB
Loading

0 commit comments

Comments
 (0)