Metroidvania-System icon indicating copy to clipboard operation
Metroidvania-System copied to clipboard

Add support for GDScript strict type mode

Open Xinart opened this issue 1 month ago • 7 comments

Describe the issue

When the addon is downloaded it crashes when using Godot with GDScript strict typing mode I'm asking to add GDScript strict type support for users like me, It's not a bug, more a enhencement request Hope it make sense :)

Software used

OS: Windows 11 Godot: Version 4.5.1

To Reproduce

1.Active GDScript strict typing mode on Godot with the following settings setted

Image Image
  1. Download the Godot addon from the AssetLib

Expected behavior

The Output show this :

ERROR: (2) res://SampleProject/Scripts/CustomElements.gd:13 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/CustomElements.gd:19 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/CustomElements.gd:20 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/CustomElements.gd:24 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://SampleProject/Scripts/CustomElements.gd:29 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/CustomElements.gd:11 - Parse Error: Function "draw_elevator()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/CustomElements.gd:22 - Parse Error: Function "draw_label()" has no static return type. (Warning treated as error.) ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://SampleProject/Scripts/CustomElements.gd" with error "Parse error". ERROR: res://SampleProject/Scripts/Game.gd:2 - Parse Error: Could not resolve class "res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd". ERROR: res://SampleProject/Scripts/Game.gd:29 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:49 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:83 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:91 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:95 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:96 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:78 - Parse Error: Function "save_game()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Game.gd:87 - Parse Error: Function "reset_map_starting_coords()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Game.gd:90 - Parse Error: Function "init_room()" has no static return type. (Warning treated as error.) ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://SampleProject/Scripts/Game.gd" with error "Parse error". ERROR: res://SampleProject/Scripts/Player.gd:89 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Player.gd:86 - Parse Error: Function "kill()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Player.gd:91 - Parse Error: Function "on_enter()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Player.gd:69 - Parse Error: Variable "new_animation" has no static type. (Warning treated as error.) ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://SampleProject/Scripts/Player.gd" with error "Parse error". ERROR: res://SampleProject/Scripts/Game.gd:2 - Parse Error: Could not resolve class "res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd". ERROR: res://SampleProject/Scripts/Game.gd:29 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:49 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:83 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:91 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:95 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:96 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:78 - Parse Error: Function "save_game()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Game.gd:87 - Parse Error: Function "reset_map_starting_coords()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Game.gd:90 - Parse Error: Function "init_room()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Portal.gd:0 - Compile Error: Failed to compile depended scripts. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://SampleProject/Scripts/Portal.gd" with error "Parse error". ERROR: res://SampleProject/Scripts/Game.gd:2 - Parse Error: Could not resolve class "res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd". ERROR: res://SampleProject/Scripts/Game.gd:29 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:49 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:83 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:91 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:95 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:96 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://SampleProject/Scripts/Game.gd:78 - Parse Error: Function "save_game()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Game.gd:87 - Parse Error: Function "reset_map_starting_coords()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/Game.gd:90 - Parse Error: Function "init_room()" has no static return type. (Warning treated as error.) ERROR: res://SampleProject/Scripts/SavePoint.gd:0 - Compile Error: Failed to compile depended scripts. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://SampleProject/Scripts/SavePoint.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Database/BorderPaintEditor.gd:2 - Parse Error: Could not resolve class "res://addons/MetroidvaniaSystem/Database/CellPaintEditor.gd". ERROR: res://addons/MetroidvaniaSystem/Database/BorderPaintEditor.gd:14 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Database/BorderPaintEditor.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Database/CellPaintEditor.gd:2 - Parse Error: Could not resolve class "res://addons/MetroidvaniaSystem/Database/SubEditor.gd". ERROR: res://addons/MetroidvaniaSystem/Database/CellPaintEditor.gd:54 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/CellPaintEditor.gd:67 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/CellPaintEditor.gd:67 - Parse Error: Cannot infer the type of "cell_data" variable because the value doesn't have a set type. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Database/CellPaintEditor.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:2 - Parse Error: Could not resolve class "res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd". ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:31 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:69 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:69 - Parse Error: Cannot infer the type of "map_extents" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:70 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:102 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:115 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:118 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapEditor.gd:119 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/MapEditor.gd:120 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Database/MapEditor.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Database/MapViewer.gd:2 - Parse Error: Could not resolve class "res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd". ERROR: res://addons/MetroidvaniaSystem/Database/MapViewer.gd:20 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapViewer.gd:61 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/MapViewer.gd:66 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/MapViewer.gd:75 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapViewer.gd:77 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapViewer.gd:80 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/MapViewer.gd:84 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/MapViewer.gd:90 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/MapViewer.gd:92 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/MapViewer.gd:96 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Database/MapViewer.gd" with error "Parse error". ERROR: (2) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:47 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:51 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:54 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:56 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:57 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:65 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:65 - Parse Error: Cannot infer the type of "cell_data" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:72 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (3) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:73 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:74 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (3) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:75 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:76 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:77 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:78 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:79 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:99 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:100 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (3) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:102 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:103 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:105 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:106 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (3) res://addons/MetroidvaniaSystem/Database/SubEditor.gd:108 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:109 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:114 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:147 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:148 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:155 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:156 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:157 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:158 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:167 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:168 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:178 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:179 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:186 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:187 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:194 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:195 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:204 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:205 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:214 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:214 - Parse Error: Cannot infer the type of "new_scene" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:231 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:231 - Parse Error: Cannot infer the type of "cell_data" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:238 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:239 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:240 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:244 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:246 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:247 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Database/SubEditor.gd:249 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Database/SubEditor.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/EditorExtension/MetSysEditorExtension.gd:86 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/EditorExtension/MetSysEditorExtension.gd:88 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/EditorExtension/MetSysEditorExtension.gd:112 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/EditorExtension/MetSysEditorExtension.gd:113 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/EditorExtension/MetSysEditorExtension.gd:114 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/EditorExtension/MetSysEditorExtension.gd:117 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/EditorExtension/MetSysEditorExtension.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:18 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:38 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:50 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:79 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:89 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:122 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:136 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:260 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:262 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:274 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:361 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:363 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:372 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:389 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:390 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:397 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:410 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:412 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:416 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:418 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/CellView.gd:495 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:500 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:502 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:506 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:548 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/CellView.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/CollectibleFoundItem.gd:13 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CollectibleFoundItem.gd:15 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CollectibleFoundItem.gd:15 - Parse Error: Cannot infer the type of "room" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Scripts/CollectibleFoundItem.gd:22 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/CollectibleFoundItem.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:46 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:47 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (3) res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:55 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:66 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:66 - Parse Error: Cannot infer the type of "map_extents" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:67 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:106 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:152 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd:157 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/EditorMapView.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/MapBuilder.gd:13 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapBuilder.gd:19 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/MapBuilder.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:374 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:455 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:486 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:493 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:536 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:539 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:549 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:58 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:59 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:61 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:79 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:97 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:114 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:116 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:119 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:142 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:144 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:187 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:203 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:204 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:205 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:207 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:209 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:210 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:216 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:221 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:223 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:224 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:244 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:245 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:246 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:247 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:248 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:249 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:252 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:254 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:255 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:257 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:263 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:264 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:265 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:278 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/MapData.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:70 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:96 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:97 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:126 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:157 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:158 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:160 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:194 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:210 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:217 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:226 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:271 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/MapView.gd:309 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/MapView.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:374 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:455 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:486 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:493 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:536 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:539 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:549 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:58 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:59 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:61 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:79 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:97 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:114 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:116 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:119 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:142 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:144 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:187 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:203 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:204 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:205 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:207 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:209 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:210 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:216 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:221 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:223 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:224 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:244 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:245 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:246 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:247 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:248 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:249 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:252 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:254 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:255 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:257 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:263 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:264 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:265 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapData.gd:278 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:22 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:39 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:50 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:51 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:57 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:61 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:74 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:81 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:86 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:95 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:101 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:118 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:141 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:148 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:154 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:169 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:175 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:177 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:179 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:181 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:18 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:38 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:50 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:79 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:89 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:122 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:136 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:260 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:262 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:274 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:361 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:363 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:372 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:389 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:390 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:397 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:410 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:412 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:416 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:418 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/CellView.gd:495 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:500 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:502 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:506 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/CellView.gd:548 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:18 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:19 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:23 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:29 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:36 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:43 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:67 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:76 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:85 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapBuilder.gd:13 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapBuilder.gd:19 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:70 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:96 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:97 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:126 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:157 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:158 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:160 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:194 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:210 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:217 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:226 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MapView.gd:271 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/MapView.gd:309 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/MetroidvaniaSystem.gd:0 - Compile Error: Failed to compile depended scripts. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/MetroidvaniaSystem.gd" with error "Compilation failed". ERROR: res://addons/MetroidvaniaSystem/Scripts/PlayerLocationInstance.gd:7 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/PlayerLocationInstance.gd:18 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/PlayerLocationInstance.gd:19 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/PlayerLocationInstance.gd:19 - Parse Error: Cannot infer the type of "player_position" variable because the value doesn't have a set type. ERROR: (4) res://addons/MetroidvaniaSystem/Scripts/PlayerLocationInstance.gd:21 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/PlayerLocationInstance.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:22 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:39 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:50 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:51 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:57 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:61 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:74 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:81 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:86 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:95 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:101 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:118 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:141 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:148 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:154 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:169 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:175 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:177 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:179 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd:181 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/RoomInstance.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:18 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:19 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:23 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:29 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:36 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:43 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:67 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:76 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Scripts/SaveData.gd:85 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Scripts/SaveData.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:68 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:78 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:82 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:85 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:87 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:91 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (4) res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:103 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:103 - Parse Error: Cannot infer the type of "new_position" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:106 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:111 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:113 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:115 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:142 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd:149 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Template/Nodes/Minimap.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd:9 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd:27 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd:27 - Parse Error: Cannot infer the type of "cell_data" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd:29 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd:29 - Parse Error: Cannot infer the type of "override" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd:34 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd:36 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd:36 - Parse Error: Cannot infer the type of "override" variable because the value doesn't have a set type. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Template/Scripts/Modules/PassageAutomapper.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/RoomTransitions.gd:11 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/RoomTransitions.gd:14 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/RoomTransitions.gd:18 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/RoomTransitions.gd:18 - Parse Error: Cannot infer the type of "prev_room_instance" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/RoomTransitions.gd:25 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Template/Scripts/Modules/RoomTransitions.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/ScrollingRoomTransitions.gd:23 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/ScrollingRoomTransitions.gd:24 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/ScrollingRoomTransitions.gd:27 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/ScrollingRoomTransitions.gd:34 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/ScrollingRoomTransitions.gd:34 - Parse Error: Cannot infer the type of "prev_room_instance" variable because the value doesn't have a set type. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/ScrollingRoomTransitions.gd:44 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/Modules/ScrollingRoomTransitions.gd:44 - Parse Error: Cannot infer the type of "offset" variable because the value doesn't have a set type. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Template/Scripts/Modules/ScrollingRoomTransitions.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:34 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:44 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:54 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:34 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:44 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:54 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/MetSysModule.gd:0 - Compile Error: Failed to compile depended scripts. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Template/Scripts/MetSysModule.gd" with error "Parse error". ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:34 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:44 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: (2) res://addons/MetroidvaniaSystem/Template/Scripts/MetSysGame.gd:54 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/MetSysModule.gd:0 - Compile Error: Failed to compile depended scripts. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/SaveManager.gd:96 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/SaveManager.gd:117 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/SaveManager.gd:121 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/SaveManager.gd:132 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: res://addons/MetroidvaniaSystem/Template/Scripts/SaveManager.gd:135 - Parse Error: Identifier "MetSys" not declared in the current scope. ERROR: modules/gdscript/gdscript.cpp:3041 - Failed to load script "res://addons/MetroidvaniaSystem/Template/Scripts/SaveManager.gd" with error "Parse error".

Xinart avatar Oct 29 '25 16:10 Xinart

ANyway i'm fixing this, i'll do a PR for this

Xinart avatar Oct 29 '25 18:10 Xinart

You can exclude addons from warnings and I'd suggest doing that. I tried to make the code typed, omitting types where they are unnecessary and would make the code more complex. I don't want to add types for the sake of it. (although I didn't check the errors yet, maybe it won't be that bad)

KoBeWi avatar Oct 29 '25 18:10 KoBeWi

Yeah it is the case (actualy it is by default) Image

But the problem wasn't from the addon folder (ouf), but from the SampleProject folder, so it make sense that Godot putted errors on my side :)

Those files where concerned (res://SampleProject/) :

  • Scripts/CustomElements.gd
  • Scripts/Game.gd
  • Scripts/Player.gd
  • Maps/Junction.tscn::GDScript_taojh
  • Objects/CollectionGridItem.tscn::GDScript_h4gwg
  • Game.tscn::GDScript_u7odr
  • Game.tscn::GDScript_66suq

I corrected them and did a commit on my local machine

I just need a permission from you to do a PR

Image

Or do you prefer that i send you thos modified files here ? As you wish :)

Xinart avatar Oct 29 '25 19:10 Xinart

Sample project is low effort, because it's supposed to showcase the addon, not how to make a game. Feel free to make a PR if you want to improve it, though not sure why would you want to do it if its code isn't really designed to be reused in a real project.

KoBeWi avatar Oct 29 '25 20:10 KoBeWi

For learning purpose i guess and making it accessible for the (few) other ones that may use GDScript in strict type mode, but yeah what i push here realy comes to details actually haha

I need your permissions to make PR and push new branches to do so

Xinart avatar Oct 29 '25 22:10 Xinart

It's a public repo, anyone can open a pull request. You need to make a fork.

KoBeWi avatar Oct 29 '25 22:10 KoBeWi

It's a public repo, anyone can open a pull request. You need to make a fork.

My bad, first time i'm doing this so thank you for guiding me

Xinart avatar Oct 30 '25 21:10 Xinart