Update a few class names.

This commit is contained in:
Relintai 2021-02-21 19:35:23 +01:00
parent 1cd97fcf6d
commit 5589b4f409
10 changed files with 14 additions and 14 deletions

View File

@ -1,6 +1,6 @@
[gd_resource type="PlanetData" load_steps=3 format=2]
[gd_resource type="Planet" load_steps=3 format=2]
[ext_resource path="res://modules/planets/test_planet/biomes/2_tdungb.tres" type="BiomeData" id=1]
[ext_resource path="res://modules/planets/test_planet/biomes/2_tdungb.tres" type="Biome" id=1]
[ext_resource path="res://modules/planets/test_planet/planets/dung_simple_planet.gd" type="Script" id=2]

View File

@ -1,4 +1,4 @@
[gd_resource type="BiomeData" load_steps=2 format=2]
[gd_resource type="Biome" load_steps=2 format=2]
[ext_resource path="res://modules/planets/test_planet/biomes/simple_biome.gd" type="Script" id=1]

View File

@ -1,6 +1,6 @@
[gd_resource type="BiomeData" load_steps=3 format=2]
[gd_resource type="Biome" load_steps=3 format=2]
[ext_resource path="res://modules/planets/test_planet/dungeons/1_test.tres" type="DungeonData" id=1]
[ext_resource path="res://modules/planets/test_planet/dungeons/1_test.tres" type="Dungeon" id=1]
[ext_resource path="res://modules/planets/test_planet/biomes/simple_biome.gd" type="Script" id=2]

View File

@ -1,3 +1,3 @@
[gd_resource type="DungeonRoomData" format=2]
[gd_resource type="DungeonRoom" format=2]
[resource]

View File

@ -1,4 +1,4 @@
[gd_resource type="DungeonRoomData" load_steps=2 format=2]
[gd_resource type="DungeonRoom" load_steps=2 format=2]
[ext_resource path="res://modules/planets/test_planet/dungeon_start_rooms/start_room.gd" type="Script" id=1]

View File

@ -1,7 +1,7 @@
[gd_resource type="DungeonData" load_steps=3 format=2]
[gd_resource type="Dungeon" load_steps=3 format=2]
[ext_resource path="res://modules/planets/test_planet/dungeons/dungeon.gd" type="Script" id=1]
[ext_resource path="res://modules/planets/test_planet/dungeon_rooms/2_test_start_room.tres" type="DungeonRoomData" id=2]
[ext_resource path="res://modules/planets/test_planet/dungeon_rooms/2_test_start_room.tres" type="DungeonRoom" id=2]
[resource]

View File

@ -25,7 +25,7 @@ func _setup():
if data.get_dungeon_start_room_data_count() == 0:
return
var drd : DungeonRoomData = data.get_dungeon_start_room_data(0)
var drd : DungeonRoom = data.get_dungeon_start_room_data(0)
var dung : DungeonRoom
if drd.target_script != null:

View File

@ -28,7 +28,7 @@ func _setup():
if data.get_biome_data_count() == 0:
return
var bdata : BiomeData = data.get_biome_data(0)
var bdata : Biome = data.get_biome_data(0)
var b : Biome
@ -55,7 +55,7 @@ func _setup():
if bdata.get_dungeon_data_count() == 0:
return
var dd : DungeonData = bdata.get_dungeon_data(0)
var dd : Dungeon = bdata.get_dungeon_data(0)
var dung : Dungeon
if dd.target_script != null:

View File

@ -28,7 +28,7 @@ func _setup():
if data.get_biome_data_count() == 0:
return
var bdata : BiomeData = data.get_biome_data(0)
var bdata : Biome = data.get_biome_data(0)
var b : Biome

View File

@ -60,7 +60,7 @@ func create_planet():
else:
ind = _force_planet
var planet_data : Planet = ResourceLoader.load(planet_files[ind], "PlanetData")
var planet_data : Planet = ResourceLoader.load(planet_files[ind], "Planet")
if planet_data == null:
print("planet_data is null!")