File tree Expand file tree Collapse file tree 3 files changed +30
-16
lines changed
root/mods-unpacked/GodotModding-UserProfile Expand file tree Collapse file tree 3 files changed +30
-16
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ anchor_bottom = 1.0
8
8
script = ExtResource ( 1 )
9
9
10
10
[connection signal ="pressed" from ="." to ="." method ="_on_IsActiveToggle_pressed" ]
11
+ [connection signal ="toggled" from ="." to ="." method ="_on_IsActiveToggle_toggled" ]
Original file line number Diff line number Diff line change 4
4
"version_number" : " 0.2.0" ,
5
5
"description" : " Example Mod for User Profiles" ,
6
6
"website_url" : " https://github.com/GodotModding" ,
7
- "dependencies" : [],
7
+ "dependencies" : [
8
+
9
+ ],
8
10
"extra" : {
9
11
"godot" : {
10
12
"authors" : [
11
13
" GodotModding"
12
14
],
13
- "optional_dependencies" : [],
14
- "compatible_game_version" : [],
15
+ "optional_dependencies" : [
16
+
17
+ ],
18
+ "compatible_game_version" : [
19
+
20
+ ],
15
21
"compatible_mod_loader_version" : [
16
22
" 6.0.0"
17
23
],
18
- "incompatibilities" : [],
19
- "load_before" : [],
20
- "tags" : [],
24
+ "incompatibilities" : [
25
+
26
+ ],
27
+ "load_before" : [
28
+
29
+ ],
30
+ "tags" : [
31
+ " test1" ,
32
+ " test2"
33
+ ],
21
34
"config_schema" : {
22
35
"$schema" : " https://json-schema.org/draft/2020-12/schema" ,
23
36
"title" : " Config" ,
36
49
"square_scale" : {
37
50
"type" : " number" ,
38
51
"title" : " Square Scale" ,
39
- "minimum" : 0.0 ,
52
+ "minimum" : 0 ,
40
53
"maximum" : 0.3 ,
41
54
"multipleOf" : 0.001 ,
42
55
"default" : 0.1
49
62
"blur_amount" : {
50
63
"type" : " number" ,
51
64
"title" : " Blur Amount" ,
52
- "minimum" : 0.0 ,
53
- "maximum" : 10.0 ,
65
+ "minimum" : 0 ,
66
+ "maximum" : 10 ,
54
67
"multipleOf" : 0.1 ,
55
68
"default" : 5.1
56
69
},
57
70
"mix_amount" : {
58
71
"type" : " number" ,
59
72
"title" : " Mix Amount" ,
60
- "minimum" : 0.0 ,
61
- "maximum" : 1.0 ,
73
+ "minimum" : 0 ,
74
+ "maximum" : 1 ,
62
75
"multipleOf" : 0.01 ,
63
76
"default" : 0.71
64
77
},
Original file line number Diff line number Diff line change @@ -11,22 +11,22 @@ var translations_dir_path := ""
11
11
onready var user_profile_dialog = load ("res://mods-unpacked/GodotModding-UserProfile/content/UserProfiles.tscn" ).instance ()
12
12
13
13
14
- func _init (modLoader = ModLoader ) -> void :
14
+ func _init () -> void :
15
15
ModLoaderLog .info ("Init" , GodotModding_User_Profile_LOG_NAME )
16
16
mod_dir_path = ModLoaderMod .get_unpacked_dir ().plus_file (GodotModding_User_Profile_MOD_DIR )
17
17
18
18
# Add extensions
19
- install_script_extensions (modLoader )
19
+ install_script_extensions ()
20
20
21
21
# Add translations
22
- add_translations (modLoader )
22
+ add_translations ()
23
23
24
24
25
- func install_script_extensions (modLoader ) -> void :
25
+ func install_script_extensions () -> void :
26
26
extensions_dir_path = mod_dir_path .plus_file ("extensions" )
27
27
28
28
29
- func add_translations (modLoader ) -> void :
29
+ func add_translations () -> void :
30
30
translations_dir_path = mod_dir_path .plus_file ("translations" )
31
31
32
32
You can’t perform that action at this time.
0 commit comments