Removed the additional text for the current world generator resources.

This commit is contained in:
Relintai 2022-08-05 13:35:56 +02:00
parent 2fbc7a2198
commit 5e6e960d02
7 changed files with 8 additions and 8 deletions

View File

@ -196,7 +196,7 @@ func get_editor_class() -> String:
return "WorldGenBaseResource" return "WorldGenBaseResource"
func get_editor_additional_text() -> String: func get_editor_additional_text() -> String:
return "WorldGenBaseResource" return ""
func setup_property_inspector(inspector) -> void: func setup_property_inspector(inspector) -> void:
inspector.add_slot_line_edit("get_name", "set_name", "Name") inspector.add_slot_line_edit("get_name", "set_name", "Name")

View File

@ -46,7 +46,7 @@ func get_editor_class() -> String:
return "TestContinent" return "TestContinent"
func get_editor_additional_text() -> String: func get_editor_additional_text() -> String:
return "TestContinent" return ""
func _setup_terra_library(library : TerrainLibrary, pseed : int) -> void: func _setup_terra_library(library : TerrainLibrary, pseed : int) -> void:
pass pass

View File

@ -76,7 +76,7 @@ func get_editor_class() -> String:
return "DungeonSpawner" return "DungeonSpawner"
func get_editor_additional_text() -> String: func get_editor_additional_text() -> String:
return "DungeonSpawner" return ""
func get_dungeon_teleporter() -> PackedScene: func get_dungeon_teleporter() -> PackedScene:
return dungeon_teleporter return dungeon_teleporter

View File

@ -56,7 +56,7 @@ func get_editor_class() -> String:
return "Spawner" return "Spawner"
func get_editor_additional_text() -> String: func get_editor_additional_text() -> String:
return "Spawner" return ""
func setup_property_inspector(inspector) -> void: func setup_property_inspector(inspector) -> void:
.setup_property_inspector(inspector) .setup_property_inspector(inspector)

View File

@ -14,7 +14,7 @@ func get_editor_font_color() -> Color:
return Color(0, 0, 0, 1) return Color(0, 0, 0, 1)
func get_editor_class() -> String: func get_editor_class() -> String:
return "TestSubZone" return "TestSubZoneProp"
func get_editor_additional_text() -> String: func get_editor_additional_text() -> String:
return "TestSubZone" return ""

View File

@ -17,4 +17,4 @@ func get_editor_class() -> String:
return "TestSubZone" return "TestSubZone"
func get_editor_additional_text() -> String: func get_editor_additional_text() -> String:
return "TestSubZone" return ""

View File

@ -62,7 +62,7 @@ func get_editor_class() -> String:
return "TestZone" return "TestZone"
func get_editor_additional_text() -> String: func get_editor_additional_text() -> String:
return "TestZone" return ""
static func circle(uv : Vector2, c : Vector2, r : float) -> float: static func circle(uv : Vector2, c : Vector2, r : float) -> float:
c.x += 0.5 c.x += 0.5