merge fix
This commit is contained in:
@@ -1 +1 @@
|
|||||||
../../escoria-demo-game/addons/escoria-core
|
../../escoria-demo-game-new-interpreter-and-savegames/addons/escoria-core
|
||||||
@@ -1,19 +1,19 @@
|
|||||||
[gd_resource type="Theme" load_steps=3 format=2]
|
[gd_resource type="Theme" load_steps=3 format=3 uid="uid://dvwfrnya2nhxu"]
|
||||||
|
|
||||||
[ext_resource path="res://addons/escoria-ui-return-monkey-island/fonts/caslonantique.tres" type="FontFile" id=1]
|
[ext_resource type="FontFile" path="res://addons/escoria-ui-return-monkey-island/fonts/caslonantique.tres" id="1"]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id=1]
|
[sub_resource type="StyleBoxFlat" id="1"]
|
||||||
content_margin_left = 5.0
|
content_margin_left = 5.0
|
||||||
content_margin_right = 5.0
|
|
||||||
content_margin_top = 5.0
|
content_margin_top = 5.0
|
||||||
|
content_margin_right = 5.0
|
||||||
content_margin_bottom = 5.0
|
content_margin_bottom = 5.0
|
||||||
bg_color = Color( 0, 0, 0, 0.815686 )
|
bg_color = Color(0, 0, 0, 0.815686)
|
||||||
corner_radius_top_left = 8
|
corner_radius_top_left = 8
|
||||||
corner_radius_top_right = 8
|
corner_radius_top_right = 8
|
||||||
corner_radius_bottom_right = 8
|
corner_radius_bottom_right = 8
|
||||||
corner_radius_bottom_left = 8
|
corner_radius_bottom_left = 8
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
default_font = ExtResource( 1 )
|
default_font = ExtResource("1")
|
||||||
RichTextLabel/styles/normal = SubResource( 1 )
|
RichTextLabel/styles/normal = SubResource("1")
|
||||||
VBoxContainer/constants/separation = 1
|
VBoxContainer/constants/separation = 1
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ func _init():
|
|||||||
|
|
||||||
# Ready function
|
# Ready function
|
||||||
func _ready():
|
func _ready():
|
||||||
|
super._ready()
|
||||||
if selectable:
|
if selectable:
|
||||||
super._ready()
|
super._ready()
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -460,10 +460,10 @@ func save_game(p_savegame: ESCSaveGame) -> void:
|
|||||||
func get_start_location() -> ESCLocation:
|
func get_start_location() -> ESCLocation:
|
||||||
if _room_exists(current_room_key):
|
if _room_exists(current_room_key):
|
||||||
for object in _get_room_objects_objects(current_room_key).values():
|
for object in _get_room_objects_objects(current_room_key).values():
|
||||||
if is_instance_valid(object.node):
|
if is_instance_valid(object.node) \
|
||||||
var loc := object.node as ESCLocation
|
and object.node is ESCLocation \
|
||||||
if loc and loc.is_start_location:
|
and object.node.is_start_location:
|
||||||
return loc
|
return object.node
|
||||||
|
|
||||||
escoria.logger.warn(
|
escoria.logger.warn(
|
||||||
self,
|
self,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[gd_resource type="Environment" load_steps=2 format=2]
|
[gd_resource type="Environment" load_steps=2 format=3 uid="uid://b826eo66vqyyg"]
|
||||||
|
|
||||||
[sub_resource type="Sky" id=1]
|
[sub_resource type="Sky" id="1"]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
background_mode = 2
|
background_mode = 2
|
||||||
background_sky = SubResource( 1 )
|
sky = SubResource("1")
|
||||||
|
|||||||
Reference in New Issue
Block a user