mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Update a few class names.
This commit is contained in:
parent
1cd97fcf6d
commit
5589b4f409
@ -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]
|
[ext_resource path="res://modules/planets/test_planet/planets/dung_simple_planet.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
|
||||||
|
@ -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]
|
[ext_resource path="res://modules/planets/test_planet/biomes/simple_biome.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
@ -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]
|
[ext_resource path="res://modules/planets/test_planet/biomes/simple_biome.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[gd_resource type="DungeonRoomData" format=2]
|
[gd_resource type="DungeonRoom" format=2]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
|
@ -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]
|
[ext_resource path="res://modules/planets/test_planet/dungeon_start_rooms/start_room.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
@ -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/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]
|
[resource]
|
||||||
|
@ -25,7 +25,7 @@ func _setup():
|
|||||||
if data.get_dungeon_start_room_data_count() == 0:
|
if data.get_dungeon_start_room_data_count() == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
var drd : DungeonRoomData = data.get_dungeon_start_room_data(0)
|
var drd : DungeonRoom = data.get_dungeon_start_room_data(0)
|
||||||
|
|
||||||
var dung : DungeonRoom
|
var dung : DungeonRoom
|
||||||
if drd.target_script != null:
|
if drd.target_script != null:
|
||||||
|
@ -28,7 +28,7 @@ func _setup():
|
|||||||
if data.get_biome_data_count() == 0:
|
if data.get_biome_data_count() == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
var bdata : BiomeData = data.get_biome_data(0)
|
var bdata : Biome = data.get_biome_data(0)
|
||||||
|
|
||||||
var b : Biome
|
var b : Biome
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ func _setup():
|
|||||||
if bdata.get_dungeon_data_count() == 0:
|
if bdata.get_dungeon_data_count() == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
var dd : DungeonData = bdata.get_dungeon_data(0)
|
var dd : Dungeon = bdata.get_dungeon_data(0)
|
||||||
|
|
||||||
var dung : Dungeon
|
var dung : Dungeon
|
||||||
if dd.target_script != null:
|
if dd.target_script != null:
|
||||||
|
@ -28,7 +28,7 @@ func _setup():
|
|||||||
if data.get_biome_data_count() == 0:
|
if data.get_biome_data_count() == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
var bdata : BiomeData = data.get_biome_data(0)
|
var bdata : Biome = data.get_biome_data(0)
|
||||||
|
|
||||||
var b : Biome
|
var b : Biome
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ func create_planet():
|
|||||||
else:
|
else:
|
||||||
ind = _force_planet
|
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:
|
if planet_data == null:
|
||||||
print("planet_data is null!")
|
print("planet_data is null!")
|
||||||
|
Loading…
Reference in New Issue
Block a user