mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Enabled the addons and fixed script error.
This commit is contained in:
parent
93584c5c4a
commit
e3b9584296
@ -28,6 +28,7 @@ process/fix_alpha_border=true
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=true
|
detect_3d=true
|
||||||
|
@ -28,6 +28,7 @@ process/fix_alpha_border=true
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=true
|
detect_3d=true
|
||||||
|
@ -28,6 +28,7 @@ process/fix_alpha_border=true
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=true
|
detect_3d=true
|
||||||
|
@ -28,6 +28,7 @@ process/fix_alpha_border=true
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=true
|
detect_3d=true
|
||||||
|
@ -28,6 +28,7 @@ process/fix_alpha_border=true
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=true
|
detect_3d=true
|
||||||
|
@ -91,17 +91,17 @@ func duplicate_content_entry(entry : WorldGenBaseResource, add : bool = true) ->
|
|||||||
|
|
||||||
return de
|
return de
|
||||||
|
|
||||||
func setup_terra_library(library : TerramanLibrary, pseed : int) -> void:
|
func setup_terra_library(library, pseed : int) -> void:
|
||||||
_setup_terra_library(library, pseed)
|
_setup_terra_library(library, pseed)
|
||||||
|
|
||||||
for c in get_content():
|
for c in get_content():
|
||||||
if c:
|
if c:
|
||||||
c.setup_terra_library(library, pseed)
|
c.setup_terra_library(library, pseed)
|
||||||
|
|
||||||
func _setup_terra_library(library : TerramanLibrary, pseed : int) -> void:
|
func _setup_terra_library(library, pseed : int) -> void:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
func generate_terra_chunk(chunk: TerraChunk, pseed : int, spawn_mobs: bool) -> void:
|
func generate_terra_chunk(chunk, pseed : int, spawn_mobs: bool) -> void:
|
||||||
var p : Vector2 = Vector2(chunk.get_position_x(), chunk.get_position_z())
|
var p : Vector2 = Vector2(chunk.get_position_x(), chunk.get_position_z())
|
||||||
|
|
||||||
var stack : Array = get_hit_stack(p)
|
var stack : Array = get_hit_stack(p)
|
||||||
@ -113,13 +113,11 @@ func generate_terra_chunk(chunk: TerraChunk, pseed : int, spawn_mobs: bool) -> v
|
|||||||
for i in range(stack.size()):
|
for i in range(stack.size()):
|
||||||
stack[i]._generate_terra_chunk(chunk, pseed, spawn_mobs, stack, i)
|
stack[i]._generate_terra_chunk(chunk, pseed, spawn_mobs, stack, i)
|
||||||
|
|
||||||
func _generate_terra_chunk(chunk: TerraChunk, pseed : int, spawn_mobs: bool, stack : Array, stack_index : int) -> void:
|
func _generate_terra_chunk(chunk, pseed : int, spawn_mobs: bool, stack : Array, stack_index : int) -> void:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
func _generate_terra_chunk_fallback(chunk: TerraChunk, pseed : int, spawn_mobs: bool) -> void:
|
func _generate_terra_chunk_fallback(chunk, pseed : int, spawn_mobs: bool) -> void:
|
||||||
chunk.channel_ensure_allocated(TerraChunkDefault.DEFAULT_CHANNEL_TYPE, 1)
|
pass
|
||||||
chunk.channel_ensure_allocated(TerraChunkDefault.DEFAULT_CHANNEL_ISOLEVEL, 1)
|
|
||||||
chunk.set_voxel(1, 0, 0, TerraChunkDefault.DEFAULT_CHANNEL_ISOLEVEL)
|
|
||||||
|
|
||||||
func generate_map(pseed : int) -> Image:
|
func generate_map(pseed : int) -> Image:
|
||||||
var img : Image = Image.new()
|
var img : Image = Image.new()
|
||||||
|
@ -34,6 +34,16 @@ _global_script_classes=[ {
|
|||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://player/CharacterSkeleton2DGD.gd"
|
"path": "res://player/CharacterSkeleton2DGD.gd"
|
||||||
}, {
|
}, {
|
||||||
|
"base": "ColorRect",
|
||||||
|
"class": "ColorTile",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/color-palette/ColorTile.gd"
|
||||||
|
}, {
|
||||||
|
"base": "Resource",
|
||||||
|
"class": "Continent",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/world_generator/resources/continent.gd"
|
||||||
|
}, {
|
||||||
"base": "Entity",
|
"base": "Entity",
|
||||||
"class": "DisplayPlayerGD",
|
"class": "DisplayPlayerGD",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
@ -49,6 +59,11 @@ _global_script_classes=[ {
|
|||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://scripts/entities/EntityDataGD.gd"
|
"path": "res://scripts/entities/EntityDataGD.gd"
|
||||||
}, {
|
}, {
|
||||||
|
"base": "Container",
|
||||||
|
"class": "FlexGridContainer",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/color-palette/utilities/FlexGridContainer.gd"
|
||||||
|
}, {
|
||||||
"base": "Node",
|
"base": "Node",
|
||||||
"class": "GEAction",
|
"class": "GEAction",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
@ -344,6 +359,16 @@ _global_script_classes=[ {
|
|||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://player/NetworkedPlayer.gd"
|
"path": "res://player/NetworkedPlayer.gd"
|
||||||
}, {
|
}, {
|
||||||
|
"base": "Reference",
|
||||||
|
"class": "Palette",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/color-palette/Palette.gd"
|
||||||
|
}, {
|
||||||
|
"base": "Reference",
|
||||||
|
"class": "PaletteImporter",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/color-palette/PaletteImporter.gd"
|
||||||
|
}, {
|
||||||
"base": "",
|
"base": "",
|
||||||
"class": "PlayerGD",
|
"class": "PlayerGD",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
@ -369,6 +394,11 @@ _global_script_classes=[ {
|
|||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://scripts/spells/gd_spell_script.gd"
|
"path": "res://scripts/spells/gd_spell_script.gd"
|
||||||
}, {
|
}, {
|
||||||
|
"base": "Resource",
|
||||||
|
"class": "SubZone",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/world_generator/resources/subzone.gd"
|
||||||
|
}, {
|
||||||
"base": "GameModule",
|
"base": "GameModule",
|
||||||
"class": "UIGuiChildModule",
|
"class": "UIGuiChildModule",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
@ -378,6 +408,26 @@ _global_script_classes=[ {
|
|||||||
"class": "UIWindowModule",
|
"class": "UIWindowModule",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://scripts/game_modules/ui_window_module.gd"
|
"path": "res://scripts/game_modules/ui_window_module.gd"
|
||||||
|
}, {
|
||||||
|
"base": "Resource",
|
||||||
|
"class": "WorldGenBaseResource",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/world_generator/resources/world_gen_base_resource.gd"
|
||||||
|
}, {
|
||||||
|
"base": "Resource",
|
||||||
|
"class": "WorldGenWorld",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/world_generator/resources/world_gen_world.gd"
|
||||||
|
}, {
|
||||||
|
"base": "Resource",
|
||||||
|
"class": "WorldGeneratorSettings",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/world_generator/resources/world_generator_settings.gd"
|
||||||
|
}, {
|
||||||
|
"base": "Resource",
|
||||||
|
"class": "Zone",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/world_generator/resources/zone.gd"
|
||||||
} ]
|
} ]
|
||||||
_global_script_class_icons={
|
_global_script_class_icons={
|
||||||
"BrushPrefabs": "",
|
"BrushPrefabs": "",
|
||||||
@ -385,9 +435,12 @@ _global_script_class_icons={
|
|||||||
"CharacterAtlasEntry2D": "",
|
"CharacterAtlasEntry2D": "",
|
||||||
"CharacterSkeketonAttachPoint": "",
|
"CharacterSkeketonAttachPoint": "",
|
||||||
"CharacterSkeleton2DGD": "",
|
"CharacterSkeleton2DGD": "",
|
||||||
|
"ColorTile": "",
|
||||||
|
"Continent": "",
|
||||||
"DisplayPlayerGD": "",
|
"DisplayPlayerGD": "",
|
||||||
"EntityAIGD": "",
|
"EntityAIGD": "",
|
||||||
"EntityDataGD": "",
|
"EntityDataGD": "",
|
||||||
|
"FlexGridContainer": "res://addons/color-palette/utilities/FlexGridContainerIcon.png",
|
||||||
"GEAction": "",
|
"GEAction": "",
|
||||||
"GEBrighten": "",
|
"GEBrighten": "",
|
||||||
"GEBrush": "",
|
"GEBrush": "",
|
||||||
@ -447,13 +500,20 @@ _global_script_class_icons={
|
|||||||
"Menu": "",
|
"Menu": "",
|
||||||
"MobGD": "",
|
"MobGD": "",
|
||||||
"NetworkedPlayerGD": "",
|
"NetworkedPlayerGD": "",
|
||||||
|
"Palette": "",
|
||||||
|
"PaletteImporter": "",
|
||||||
"PlayerGD": "",
|
"PlayerGD": "",
|
||||||
"PlayerMaster": "",
|
"PlayerMaster": "",
|
||||||
"SpeedResource": "",
|
"SpeedResource": "",
|
||||||
"SpellEffectVisualBasic": "",
|
"SpellEffectVisualBasic": "",
|
||||||
"SpellGD": "",
|
"SpellGD": "",
|
||||||
|
"SubZone": "",
|
||||||
"UIGuiChildModule": "",
|
"UIGuiChildModule": "",
|
||||||
"UIWindowModule": ""
|
"UIWindowModule": "",
|
||||||
|
"WorldGenBaseResource": "",
|
||||||
|
"WorldGenWorld": "",
|
||||||
|
"WorldGeneratorSettings": "",
|
||||||
|
"Zone": ""
|
||||||
}
|
}
|
||||||
Node="input/actionbar_5_11"
|
Node="input/actionbar_5_11"
|
||||||
|
|
||||||
@ -497,7 +557,7 @@ window/size/ui_scale_touch=1.0
|
|||||||
|
|
||||||
[editor_plugins]
|
[editor_plugins]
|
||||||
|
|
||||||
enabled=PoolStringArray( "res://addons/Godoxel/plugin.cfg", "res://addons/mat_maker_gd/plugin.cfg", "res://addons/tile_generator/plugin.cfg" )
|
enabled=PoolStringArray( "res://addons/Godoxel/plugin.cfg", "res://addons/color-palette/plugin.cfg", "res://addons/data_manager/plugin.cfg", "res://addons/mat_maker_gd/plugin.cfg", "res://addons/tile_generator/plugin.cfg", "res://addons/world_generator/plugin.cfg" )
|
||||||
|
|
||||||
[ess]
|
[ess]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user