From 5e6e960d02e602454bdc830954c936d8ba8e4240 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 5 Aug 2022 13:35:56 +0200 Subject: [PATCH] Removed the additional text for the current world generator resources. --- .../world_generator/resources/world_gen_base_resource.gd | 2 +- game/scripts/world_generator/continents/test_continent.gd | 2 +- game/scripts/world_generator/subzoneprops/dungeon_spawner.gd | 2 +- game/scripts/world_generator/subzoneprops/spawner.gd | 2 +- .../scripts/world_generator/subzoneprops/test_subzone_prop.gd | 4 ++-- game/scripts/world_generator/subzones/test_subzone.gd | 2 +- game/scripts/world_generator/zones/test_zone.gd | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/game/addons/world_generator/resources/world_gen_base_resource.gd b/game/addons/world_generator/resources/world_gen_base_resource.gd index 3a3f152d..122e1ae7 100644 --- a/game/addons/world_generator/resources/world_gen_base_resource.gd +++ b/game/addons/world_generator/resources/world_gen_base_resource.gd @@ -196,7 +196,7 @@ func get_editor_class() -> String: return "WorldGenBaseResource" func get_editor_additional_text() -> String: - return "WorldGenBaseResource" + return "" func setup_property_inspector(inspector) -> void: inspector.add_slot_line_edit("get_name", "set_name", "Name") diff --git a/game/scripts/world_generator/continents/test_continent.gd b/game/scripts/world_generator/continents/test_continent.gd index 868e7464..8a329ac7 100644 --- a/game/scripts/world_generator/continents/test_continent.gd +++ b/game/scripts/world_generator/continents/test_continent.gd @@ -46,7 +46,7 @@ func get_editor_class() -> String: return "TestContinent" func get_editor_additional_text() -> String: - return "TestContinent" + return "" func _setup_terra_library(library : TerrainLibrary, pseed : int) -> void: pass diff --git a/game/scripts/world_generator/subzoneprops/dungeon_spawner.gd b/game/scripts/world_generator/subzoneprops/dungeon_spawner.gd index 8b59bee8..372bc539 100644 --- a/game/scripts/world_generator/subzoneprops/dungeon_spawner.gd +++ b/game/scripts/world_generator/subzoneprops/dungeon_spawner.gd @@ -76,7 +76,7 @@ func get_editor_class() -> String: return "DungeonSpawner" func get_editor_additional_text() -> String: - return "DungeonSpawner" + return "" func get_dungeon_teleporter() -> PackedScene: return dungeon_teleporter diff --git a/game/scripts/world_generator/subzoneprops/spawner.gd b/game/scripts/world_generator/subzoneprops/spawner.gd index 03adc3ca..b665f48f 100644 --- a/game/scripts/world_generator/subzoneprops/spawner.gd +++ b/game/scripts/world_generator/subzoneprops/spawner.gd @@ -56,7 +56,7 @@ func get_editor_class() -> String: return "Spawner" func get_editor_additional_text() -> String: - return "Spawner" + return "" func setup_property_inspector(inspector) -> void: .setup_property_inspector(inspector) diff --git a/game/scripts/world_generator/subzoneprops/test_subzone_prop.gd b/game/scripts/world_generator/subzoneprops/test_subzone_prop.gd index 7571ef8a..56af8abd 100644 --- a/game/scripts/world_generator/subzoneprops/test_subzone_prop.gd +++ b/game/scripts/world_generator/subzoneprops/test_subzone_prop.gd @@ -14,7 +14,7 @@ func get_editor_font_color() -> Color: return Color(0, 0, 0, 1) func get_editor_class() -> String: - return "TestSubZone" + return "TestSubZoneProp" func get_editor_additional_text() -> String: - return "TestSubZone" + return "" diff --git a/game/scripts/world_generator/subzones/test_subzone.gd b/game/scripts/world_generator/subzones/test_subzone.gd index 8fccf3b2..694fac2a 100644 --- a/game/scripts/world_generator/subzones/test_subzone.gd +++ b/game/scripts/world_generator/subzones/test_subzone.gd @@ -17,4 +17,4 @@ func get_editor_class() -> String: return "TestSubZone" func get_editor_additional_text() -> String: - return "TestSubZone" + return "" diff --git a/game/scripts/world_generator/zones/test_zone.gd b/game/scripts/world_generator/zones/test_zone.gd index 08c61d94..e4c00c62 100644 --- a/game/scripts/world_generator/zones/test_zone.gd +++ b/game/scripts/world_generator/zones/test_zone.gd @@ -62,7 +62,7 @@ func get_editor_class() -> String: return "TestZone" func get_editor_additional_text() -> String: - return "TestZone" + return "" static func circle(uv : Vector2, c : Vector2, r : float) -> float: c.x += 0.5