Merge branch 'gymkhana/main' of git.fosil.eu:gymkhana/gymkhana into gymkhana/main

This commit is contained in:
2024-02-12 22:27:56 +01:00
65 changed files with 633 additions and 91 deletions

View File

@@ -41,18 +41,18 @@ __meta__ = {
}
[node name="TextureRect" type="TextureRect" parent="main/main"]
margin_top = 92.0
margin_top = 55.0
margin_right = 616.0
margin_bottom = 318.0
margin_bottom = 355.0
texture = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="buttons" type="VBoxContainer" parent="main/main"]
margin_top = 418.0
margin_top = 455.0
margin_right = 616.0
margin_bottom = 658.0
margin_bottom = 695.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false

View File

@@ -0,0 +1,20 @@
extends TextureButton
export(Texture) var musicEnabledTexture: Texture
export(Texture) var musicEnabledHoverTexture: Texture
export(Texture) var musicDisabledTexture: Texture
export(Texture) var musicDisabledHoverTexture: Texture
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func _process(delta: float):
if escoria.game_scene.musicEnabled == true:
texture_normal = musicEnabledTexture
texture_hover = musicEnabledHoverTexture
else:
texture_normal = musicDisabledTexture
texture_hover = musicDisabledHoverTexture

View File

@@ -0,0 +1,10 @@
extends Button
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass

View File

@@ -94,13 +94,13 @@ func _ready():
var time = OS.get_datetime()
var day = time["day"]
var month = time["month"]
if(day == 8 and month ==2):
if( day == 8 and month ==2 ):
escoria.globals_manager.set_global('zorionak_eneko', true)
func _enter_tree():
var room_selector_parent = $CanvasLayer/ui/menu_button/VBoxContainer
var room_selector_parent = $CanvasLayer/ui/menu_button/HBoxContainer
if ESCProjectSettingsManager.get_setting(ESCProjectSettingsManager.ENABLE_ROOM_SELECTOR) \
and room_selector_parent.get_node_or_null("room_select") == null:
@@ -494,3 +494,24 @@ func play_video(video_file: String) -> void:
func clear_tooltip():
if tooltip_node != null:
(tooltip_node as ESCRichTooltip).clear()
var musicEnabled = true
func _on_MusicButton_pressed():
if musicEnabled:
AudioServer.set_bus_volume_db(
AudioServer.get_bus_index(escoria.BUS_MUSIC),
linear2db(0)
)
musicEnabled = false
else:
AudioServer.set_bus_volume_db(
AudioServer.get_bus_index(escoria.BUS_MUSIC),
linear2db(
ESCProjectSettingsManager.get_setting(
ESCProjectSettingsManager.MUSIC_VOLUME
)
)
)
musicEnabled = true

View File

@@ -1,20 +1,27 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=17 format=2]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/inventory/inventory_ui.tscn" type="PackedScene" id=1]
[ext_resource path="res://addons/escoria-core/game/scenes/dialogs/esc_dialog_player.gd" type="Script" id=2]
[ext_resource path="res://addons/escoria-core/game/scenes/camera_player/camera.tscn" type="PackedScene" id=3]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_rich_tooltip.tscn" type="PackedScene" id=4]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/game.gd" type="Script" id=5]
[ext_resource path="res://addons/escoria-core/ui_library/menus/main_menu/main_menu.tscn" type="PackedScene" id=7]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/icons/music-double-note.svg" type="Texture" id=6]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/menus/main_menu/main_menu.tscn" type="PackedScene" id=7]
[ext_resource path="res://addons/escoria-core/ui_library/menus/pause_menu/pause_menu.tscn" type="PackedScene" id=8]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/theme.tres" type="Theme" id=9]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/icons/cog-64-hover.svg" type="Texture" id=10]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/icons/cog-64.svg" type="Texture" id=11]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/video_player/video_player.tscn" type="PackedScene" id=12]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/icons/music-double-note-hover.svg" type="Texture" id=13]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/MusicButton.gd" type="Script" id=14]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/icons/music-double-note-hover-disabled.svg" type="Texture" id=15]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/icons/music-double-note-disabled.svg" type="Texture" id=16]
[node name="game" type="Node2D"]
script = ExtResource( 5 )
main_menu = NodePath("CanvasLayer/main_menu")
pause_menu = NodePath("CanvasLayer/pause_menu")
mouse_tooltip_margin = 70.0
editor_debug_mode = 1
ui_parent_control_node = NodePath("CanvasLayer/ui")
@@ -40,21 +47,35 @@ theme = ExtResource( 9 )
[node name="menu_button" type="Control" parent="CanvasLayer/ui"]
margin_left = 1245.0
margin_top = -644.0
margin_right = 1322.0
margin_bottom = -606.0
margin_top = -643.0
margin_right = 1245.0
margin_bottom = -643.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/ui/menu_button"]
margin_left = -52.0
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/ui/menu_button"]
margin_left = -135.0
margin_top = 6.0
margin_right = 24.0
margin_bottom = 80.0
margin_right = 21.0
margin_bottom = 76.0
alignment = 1
[node name="MenuButton" type="Button" parent="CanvasLayer/ui/menu_button/VBoxContainer"]
margin_right = 76.0
[node name="MusicButton" type="TextureButton" parent="CanvasLayer/ui/menu_button/HBoxContainer"]
margin_left = 44.0
margin_right = 44.0
margin_bottom = 70.0
icon = ExtResource( 11 )
flat = true
script = ExtResource( 14 )
musicEnabledTexture = ExtResource( 6 )
musicEnabledHoverTexture = ExtResource( 13 )
musicDisabledTexture = ExtResource( 16 )
musicDisabledHoverTexture = ExtResource( 15 )
[node name="MenuButton" type="TextureButton" parent="CanvasLayer/ui/menu_button/HBoxContainer"]
margin_left = 48.0
margin_right = 112.0
margin_bottom = 70.0
texture_normal = ExtResource( 11 )
texture_hover = ExtResource( 10 )
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/ui"]
anchor_right = 1.0
@@ -97,4 +118,5 @@ offset_from_cursor_action2 = Vector2( 0, -20 )
offset_from_cursor_action3 = Vector2( 0, 55 )
offset_from_cursor_action4 = Vector2( 0, -55 )
[connection signal="pressed" from="CanvasLayer/ui/menu_button/VBoxContainer/MenuButton" to="." method="_on_MenuButton_pressed"]
[connection signal="pressed" from="CanvasLayer/ui/menu_button/HBoxContainer/MusicButton" to="." method="_on_MusicButton_pressed"]
[connection signal="pressed" from="CanvasLayer/ui/menu_button/HBoxContainer/MenuButton" to="." method="_on_MenuButton_pressed"]

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
stroke-width="1.5"
viewBox="0 0 64 64"
fill="none"
color="#000000"
version="1.1"
id="svg3"
sodipodi:docname="music-double-note-disabled.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview3"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="5.3401293"
inkscape:cx="51.215988"
inkscape:cy="36.984123"
inkscape:window-width="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" />
<path
style="fill:#ff0000;stroke:#f40a09;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none"
d="M 7.4308899,51.792606 53.261256,12.207394"
id="path6" />
<path
style="fill:#ff0000;stroke:#f40a09;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 53.261256,51.792606 7.4308899,12.207394"
id="path6-3" />
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
stroke-width="1.5"
viewBox="0 0 64 64"
fill="none"
color="#000000"
version="1.1"
id="svg3"
sodipodi:docname="music-double-note-hover-disabled.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview3"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="5.3401293"
inkscape:cx="51.215988"
inkscape:cy="36.984123"
inkscape:window-width="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
style="fill:#ff0000;stroke:#f40a09;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none"
d="M 7.4308899,51.792606 53.261256,12.207394"
id="path6" />
<path
style="fill:#ff0000;stroke:#f40a09;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 53.261256,51.792606 7.4308899,12.207394"
id="path6-3" />
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
stroke-width="1.5"
viewBox="0 0 64 64"
fill="none"
color="#000000"
version="1.1"
id="svg3"
sodipodi:docname="music-double-note-hover.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview3"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="3.7760417"
inkscape:cx="88.055172"
inkscape:cy="40.915862"
inkscape:window-width="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3"
style="fill:none;fill-opacity:1;stroke-width:5.197;stroke-dasharray:none;stroke:#bd2ab0;stroke-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
stroke-width="1.5"
viewBox="0 0 64 64"
fill="none"
color="#000000"
version="1.1"
id="svg3"
sodipodi:docname="music-double-note.svg"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview3"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="3.7760417"
inkscape:cx="109.50621"
inkscape:cy="128.57379"
inkscape:window-width="1920"
inkscape:window-height="971"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<path
d="M 61.401264,38.533592 V 2.5986797 L 20.974521,9.1322999 V 45.067212"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path1" />
<path
d="m 50.375792,54.867641 h 3.675155 c 4.059581,0 7.350317,-2.925101 7.350317,-6.533623 V 38.533592 H 50.375792 c -4.059585,0 -7.350321,2.925101 -7.350321,6.53362 v 3.266806 c 0,3.608522 3.290736,6.533623 7.350321,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path2" />
<path
d="m 9.9490451,61.401264 h 3.6751589 c 4.05947,0 7.350317,-2.925104 7.350317,-6.533623 V 45.067212 H 9.9490451 c -4.0594695,0 -7.3503171,2.925104 -7.3503171,6.533619 v 3.26681 c 0,3.608519 3.2908476,6.533623 7.3503171,6.533623 z"
stroke="#000000"
stroke-width="5.19747"
stroke-linecap="round"
stroke-linejoin="round"
id="path3" />
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,47 @@
# A simple main menu
extends Control
# Start the game
func _on_new_game_pressed():
escoria.new_game()
# Show the load slots
func _on_load_game_pressed():
$main.hide()
$load_game.refresh_savegames()
$load_game.show()
# Show the options panel
func _on_options_pressed():
$main.hide()
$options.show()
# Quit the game
func _on_quit_pressed():
escoria.quit()
# Hide the options panel again
func _on_options_back_button_pressed():
reset()
# Hide the load panel
func _on_load_game_back_button_pressed():
reset()
# Resets the UI to initial state
func reset():
$load_game.hide()
$options.hide()
$main.show()
func _on_new_without_intro_pressed():
escoria.globals_manager.set_global("cocina_delante_intro_played",true)
escoria.globals_manager.set_global("cocina_intro_played",true)
escoria.new_game()

View File

@@ -0,0 +1,111 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/menus/main_menu/main_menu.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/design/escoria-logo-small.png" type="Texture" id=3]
[ext_resource path="res://addons/escoria-core/ui_library/menus/options/options.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/ui_library/menus/load_save/load/load_game.tscn" type="PackedScene" id=5]
[node name="main_menu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="load_game" parent="." instance=ExtResource( 5 )]
visible = false
[node name="options" parent="." instance=ExtResource( 4 )]
visible = false
[node name="main" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Panel" type="Panel" parent="main"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false,
"_editor_description_": ""
}
[node name="main" type="VBoxContainer" parent="main"]
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -308.0
margin_right = 308.0
custom_constants/separation = 100
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="main/main"]
margin_top = 55.0
margin_right = 616.0
margin_bottom = 355.0
texture = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="buttons" type="VBoxContainer" parent="main/main"]
margin_top = 455.0
margin_right = 616.0
margin_bottom = 695.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="new_game" type="Button" parent="main/main/buttons"]
margin_right = 616.0
margin_bottom = 150.0
rect_min_size = Vector2( 0, 150 )
size_flags_vertical = 3
text = "NEW_GAME"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="new_game_without_intro" type="Button" parent="main/main/buttons"]
margin_right = 616.0
margin_bottom = 270.0
size_flags_vertical = 3
text = "NEW_GAME (without intro)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="load_game" type="Button" parent="main/main/buttons"]
margin_top = 160.0
margin_right = 616.0
margin_bottom = 180.0
text = "LOAD_GAME"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="options" type="Button" parent="main/main/buttons"]
margin_top = 190.0
margin_right = 616.0
margin_bottom = 210.0
text = "OPTIONS"
[node name="quit" type="Button" parent="main/main/buttons"]
margin_top = 220.0
margin_right = 616.0
margin_bottom = 240.0
text = "QUIT"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="back_button_pressed" from="load_game" to="." method="_on_load_game_back_button_pressed"]
[connection signal="back_button_pressed" from="options" to="." method="_on_options_back_button_pressed"]
[connection signal="pressed" from="main/main/buttons/new_game" to="." method="_on_new_game_pressed"]
[connection signal="pressed" from="main/main/buttons/load_game" to="." method="_on_load_game_pressed"]
[connection signal="pressed" from="main/main/buttons/options" to="." method="_on_options_pressed"]
[connection signal="pressed" from="main/main/buttons/quit" to="." method="_on_quit_pressed"]
[connection signal="pressed" from="main/main/buttons/new_game_without_intro" to="." method="_on_new_without_intro_pressed"]

View File

@@ -27,10 +27,10 @@ stream = SubResource( 1 )
expand = false
[node name="Skip" type="Button" parent="."]
margin_left = 598.0
margin_top = 662.0
margin_right = 685.0
margin_bottom = 694.0
margin_left = 1163.0
margin_top = 680.0
margin_right = 1250.0
margin_bottom = 712.0
shortcut = SubResource( 3 )
text = "Saltar video"
flat = true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -43,8 +43,8 @@ script = ExtResource( 2 )
global_id = "eneko_smoking"
esc_script = "res://gymkhana/characters/eneko/eneko_smoking.esc"
is_movable = true
dialog_color = Color( 1, 1, 1, 1 )
animations = ExtResource( 1 )
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 0.584314, 0.490196, 0.270588, 1 )
tooltips = {
"action1": "cocina_delante_eneko_smoking_action1",
"action2": "cocina_delante_eneko_smoking_action2"
@@ -52,10 +52,11 @@ tooltips = {
action3_target_texts = {
"caja_herramientas": "Regalar",
"turno_cocina_frontal": "Ofrecer",
"turno_cocina_madera": "Ofrecerle leña",
"turno_cocina_madera": "Ofrecerle leña"
}
target_when_selected_action_is_in = [ "action3" ]
selectable = true
animations = ExtResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 32.625, -50.56 )

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,8 @@
extends Node
func _process(delta: float):
if(escoria.globals_manager.get_global("turno_cocina_economica_encendida") == true):
self.visible = true
else:
self.visible = false

View File

@@ -0,0 +1,8 @@
extends Node
func _process(delta: float):
if escoria.globals_manager.get_global("turno_cocina_economica_encendida") and not escoria.globals_manager.get_global("turno_cocina_economica_con_olla"):
self.visible = true
else:
self.visible = false

View File

@@ -4,10 +4,8 @@
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_carton.png" type="Texture" id=2]
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_carton_inventario.png" type="Texture" id=3]
[node name="turno_cocina_carton" type="Area2D"]
pause_mode = 1
rotation = 1.11177
script = ExtResource( 1 )
global_id = "turno_cocina_carton"
esc_script = "res://gymkhana/items/inventory/turno_cocina_carton.esc"
@@ -20,17 +18,14 @@ tooltips = {
"action3": "Mirar",
"action4": "Usar"
}
animations = null
action3_target_texts = {
"turno_cocina_mechero": "Encender el cartón"
}
target_when_selected_action_is_in = [ "action3" ]
animations = null
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( -2, 0 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 2 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -13, -32, 1, -29, 1, -26, 24, -19, 17, 14, 7, 32, -29, 12, -15, -3, -15, -8, -13, -12 )
polygon = PoolVector2Array( -23, -11, -24, 2, -24, 11, -21, 13, -6, 16, 5, 17, 21, 12, 25, 8, 25, -13, 0, -16, -9, -17 )

View File

@@ -2,10 +2,12 @@
say player "Que cosa tan curiosa"
:action2
say player "No lo quiero coger"
say current_player "A la saca!"
set_active turno_cocina_cuerno false
inventory_add turno_cocina_cuerno
:action3
say player "Que cosa tan curiosa"
say player "Parece un cuerno de algo."
:action4
say player "No lo quiero coger"
say player "No tengo claro como funciona."

View File

@@ -1,28 +1,28 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_cuerno.png" type="Texture" id=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_cuerno_inventario.png" type="Texture" id=3]
[node name="turno_cocina_cuerno" type="Area2D"]
pause_mode = 1
script = ExtResource( 1 )
global_id = "turno_cocina_cuerno"
esc_script = "res://gymkhana/items/inventory/turno_cocina_cuerno.esc"
inventory_texture = ExtResource( 2 )
combine_when_selected_action_is_in = [ ]
inventory_texture = ExtResource( 3 )
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "Mirar el cuerno",
"action2": "Coger el cuerno",
"action3": "Mirar",
"action4": "Usar"
"action1": "Mirar el cuerno",
"action2": "Coger el cuerno",
"action3": "Mirar",
"action4": "Usar"
}
animations = null
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( -2, 0 )
scale = Vector2( 0.5, 0.5 )
position = Vector2( 8.125, -8.125 )
texture = ExtResource( 2 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -13, -32, 1, -29, 1, -26, 24, -19, 17, 14, 7, 32, -29, 12, -15, -3, -15, -8, -13, -12 )
polygon = PoolVector2Array( -11, -22, -11, -32, -10, -42, -7, -46, 0, -49, 3, -49, 9, -48, 13, -43, 12, -33, 7, -24, 5, -13, 5, -4, 7, 4, 11, 13, 16, 19, 23, 24, 28, 27, 27, 32, 24, 33, 18, 32, 11, 28, 3, 22, -3, 15, -8, 5, -10, -4, -11, -15 )

View File

@@ -18,12 +18,12 @@ say player "Por ahora, con leer el libro de recetas bastará."
set_interactive turno_cocina_peso true
set_active turno_cocina_cocina_gas true
set_active turno_cocina_bol true
set_interactive turno_cocina_carton true
set_active cocina_cuchillos true
set_active cocina_fregadero_izq true
set_active cocina_fregadero_der true
set_active cocina_puerta_delante true
set_active cocina_puerta_detras true
set_active turno_cocina_cuerno false
set_interactive cocina_patata true
set_active cocina_debajo_sofa true
set_angle player 90

View File

@@ -1,8 +1,10 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_olla_inv_con_agua.png" type="Texture" id=2]
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_olla.png" type="Texture" id=3]
[ext_resource path="res://gymkhana/particles/SmokeParticles.tscn" type="PackedScene" id=4]
[ext_resource path="res://gymkhana/items/inventory/scripts/turno_cocina_olla_llena_economica_encendida_observer.gd" type="Script" id=5]
[node name="turno_cocina_olla_llena" type="Area2D"]
pause_mode = 1
@@ -21,9 +23,9 @@ tooltips = {
action3_target_texts = {
"turno_cocina_ajo": "Echar en la olla.",
"turno_cocina_bol_lentejas": "Echar en la olla.",
"turno_cocina_madera": "Meter leña en la económica",
"turno_cocina_patata": "Echar en la olla.",
"turno_cocina_romero": "Echar en la olla.",
"turno_cocina_madera": "Meter leña en la económica"
"turno_cocina_romero": "Echar en la olla."
}
target_when_selected_action_is_in = [ "action3" ]
animations = null
@@ -33,3 +35,6 @@ texture = ExtResource( 3 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -59, 25, -59, 47, -35, 56, 7, 58, 54, 52, 55, -13, 61, -50, 35, -60, -18, -60, -62, -54 )
[node name="SmokeParticles" parent="." instance=ExtResource( 4 )]
script = ExtResource( 5 )

View File

@@ -0,0 +1,5 @@
:observe
> [!turno_cocina_economica_encendida]
custom turno_cocina_olla_llena SmokeParticles hidden
> [turno_cocina_economica_encendida]
custom turno_cocina_olla_llena SmokeParticles hidden

View File

@@ -0,0 +1,31 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://gymkhana/particles/assets/smoke.png" type="Texture" id=1]
[sub_resource type="Curve" id=1]
min_value = -360.0
max_value = 360.0
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 13.0909 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="Gradient" id=2]
colors = PoolColorArray( 0.8125, 0.8125, 0.8125, 1, 0.917647, 0.917647, 0.917647, 0 )
[node name="SmokeParticles" type="CPUParticles2D"]
position = Vector2( -2, -63 )
scale = Vector2( 1.48, 1 )
amount = 20
lifetime = 2.0
speed_scale = 0.63
explosiveness = 0.06
randomness = 0.84
lifetime_randomness = 0.55
texture = ExtResource( 1 )
emission_shape = 1
emission_sphere_radius = 1.0
direction = Vector2( 0, 1 )
spread = 103.24
gravity = Vector2( 0, -98 )
angular_velocity = 42.36
angular_velocity_curve = SubResource( 1 )
scale_amount_random = 0.1
color_ramp = SubResource( 2 )

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 799 KiB

After

Width:  |  Height:  |  Size: 524 KiB

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=23 format=2]
[gd_scene load_steps=24 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/characters/oier/oier.tscn" type="PackedScene" id=2]
@@ -18,8 +18,9 @@
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina/assets/gas-encendido3.png" type="Texture" id=16]
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina/assets/gas-encendido1.png" type="Texture" id=17]
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina/assets/gas-encendido2.png" type="Texture" id=18]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_carton.tscn" type="PackedScene" id=19]
[ext_resource path="res://gymkhana/particles/SmokeParticles.tscn" type="PackedScene" id=19]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_cuerno.tscn" type="PackedScene" id=20]
[ext_resource path="res://gymkhana/items/inventory/scripts/turno_cocina_sin_olla_economica_encendida_observer.gd" type="Script" id=21]
[sub_resource type="NavigationPolygon" id=3]
vertices = PoolVector2Array( 2398, 485, 2442, 499, 2446, 617, 2409, 597, 2283, 493, 144, 568, 3, 570, -56, 524, 111, 445, 162, 471, 229, 445, 200, 465, 252, 478, 305, 524, 273, 570, 2287, 687, 2062, 635, 2113, 565, 696, 737, 512, 591, 703, 699, 1269, 739, 1241, 699, 1502, 646, 1409, 752, 1345, 667, 1489, 627, 1347, 563, 1480, 587, 1466, 514, 1345, 505, 1382, 439, 2109, 424, 2238, 386, 1788, 325, 2018, 419, 1787, 383, 1466, 412, 1493, 479, 1305.5, 467, 1337.5, 449, 1306.5, 498 )
@@ -119,7 +120,7 @@ animations = null
[node name="puerta_delante_collision" type="CollisionPolygon2D" parent="puerta_delante"]
position = Vector2( 2385, -81 )
scale = Vector2( 0.963362, 0.9875 )
polygon = PoolVector2Array( 9.34229, 531.646, 10.3804, 161.013, 124.564, 97.2152, 107.955, 583.291 )
polygon = PoolVector2Array( 44.1165, 551.899, 44.1165, 541.772, 38.9263, 515.443, 36.8501, 487.089, 25.4319, 459.747, 7.7854, 437.468, 10.3804, 161.013, 124.564, 97.2152, 120.751, 208.793, 108.474, 210.633, 104.322, 228.861, 105.36, 255.19, 109.512, 271.392, 114.703, 279.494, 106.398, 457.721, 103.284, 469.873, 83.5615, 487.089, 70.0671, 524.557, 59.6868, 555.949 )
[node name="puerta_delante_start" type="Position2D" parent="puerta_delante"]
position = Vector2( 2379, 526 )
@@ -372,6 +373,7 @@ position = Vector2( -56, 78 )
script = ExtResource( 5 )
[node name="turno_cocina_olla_llena" parent="." instance=ExtResource( 12 )]
visible = false
position = Vector2( 1281, 491 )
scale = Vector2( 1.06318, 1.06318 )
@@ -380,29 +382,14 @@ position = Vector2( -160.838, 201.283 )
script = ExtResource( 5 )
interaction_direction = 3
[node name="turno_cocina_carton" parent="." instance=ExtResource( 19 )]
position = Vector2( 1586, 536 )
rotation = 1.44513
scale = Vector2( 0.8, 0.8 )
[node name="turno_cocina_carton_collision" type="CollisionPolygon2D" parent="turno_cocina_carton"]
position = Vector2( 15.9014, -11.2695 )
polygon = PoolVector2Array( 8.0011, -8.38965, 1.29077, 24.7809, -8.50018, 42.443, -45.2213, 23.9447, -30.6265, 8.14941, -31.2399, 3.03223, -28.1329, -1.61511, -29.5033, -20.6873, -14.7783, -17.5671, -15.0916, -15.0868 )
[node name="turno_cocina_carton_location" type="Position2D" parent="turno_cocina_carton"]
position = Vector2( 93.7431, -73.8329 )
script = ExtResource( 5 )
[node name="turno_cocina_cuerno" parent="." instance=ExtResource( 20 )]
position = Vector2( 2805, 151 )
rotation = 1.44513
scale = Vector2( 0.8, 0.8 )
combine_when_selected_action_is_in = [ ]
position = Vector2( 2801, 175 )
[node name="turno_cocina_cuerno_collision" type="CollisionPolygon2D" parent="turno_cocina_cuerno"]
position = Vector2( 15.9014, -11.2695 )
polygon = PoolVector2Array( 8.0011, -8.38965, 1.29077, 24.7809, -8.50018, 42.443, -45.2213, 23.9447, -30.6265, 8.14941, -31.2399, 3.03223, -28.133, -1.61509, -29.5033, -20.6873, -14.7783, -17.5671, -15.0916, -15.0868 )
[node name="turno_cocina_cuerno_location" type="Position2D" parent="turno_cocina_cuerno"]
position = Vector2( 421.503, 164.124 )
[node name="ESCLocation" type="Position2D" parent="turno_cocina_cuerno"]
position = Vector2( -81, 334 )
script = ExtResource( 5 )
[node name="SmokeParticles" parent="." instance=ExtResource( 19 )]
position = Vector2( 1297, 504 )
scale = Vector2( 1.07999, 1 )
script = ExtResource( 21 )

View File

@@ -12,10 +12,8 @@
> [turno_cocina_economica_con_olla]
set_active turno_cocina_olla_llena true
set_active turno_cocina_economica false
> [!turno_cocina_economica_con_olla]
set_active turno_cocina_olla_llena false
set_active turno_cocina_economica true
# Position player depending of last scene
> [eq ESC_LAST_SCENE cocina_detras]
@@ -37,12 +35,12 @@ set_active turno_cocina_economica false [turno_cocina_economica_con_olla]
set_interactive turno_cocina_peso false
set_active turno_cocina_cocina_gas false
set_active turno_cocina_bol false
set_interactive turno_cocina_carton false
set_active cocina_cuchillos false
set_active cocina_fregadero_izq false
set_active cocina_fregadero_der false
set_active cocina_puerta_delante false
set_active cocina_puerta_detras false
set_active turno_cocina_cuerno false
set_interactive cocina_patata false
set_active cocina_debajo_sofa false
accept_input SKIP

View File

@@ -9,14 +9,14 @@ say current_player "Debería llenar la olla de agua primero."
:action3 turno_cocina_olla_llena
set_active turno_cocina_olla_llena true
say current_player "Me siento un cocinero de verdad."
set_global turno_cocina_economica_con_olla true
inventory_remove turno_cocina_olla_llena
say current_player "Me siento un cocinero de verdad."
:action3 turno_cocina_madera
say current_player "Más madera que es la guerra!"
set_global turno_cocina_economica_con_madera true
inventory_remove turno_cocina_madera
say current_player "Más madera que es la guerra!"
:action3 turno_cocina_carton
say current_player "Prefiero meter el cartón cuando esté encendido."
@@ -26,6 +26,7 @@ say current_player "Prefiero meter el cartón cuando esté encendido."
say current_player "Debería meter leña primero."
stop
> [turno_cocina_economica_con_madera]
say current_player "He encendido la cocina, a cocinar!"
set_global turno_cocina_economica_encendida true
inventory_remove turno_cocina_carton_encendido
say current_player "He encendido la cocina, a cocinar!"

View File

@@ -1,10 +1,11 @@
:action1
say player "Parece que funciona."
play_lib_snd cocina_fregadero_der
:action2
say player "No tengo donde meter el agua."
:action3 turno_cocina_olla_vacia
# play_lib_snd cocina_fregader_izq
play_lib_snd cocina_fregadero_der
say player "Agua a ojo... en su justa medida."
inventory_remove turno_cocina_olla_vacia
inventory_add turno_cocina_olla_llena

View File

@@ -1,11 +1,12 @@
:action1
play_lib_snd cocina_fregadero_izq
say player "Parece que funciona."
:action2
say player "No tengo donde meter el agua."
:action3 turno_cocina_olla_vacia
# play_lib_snd cocina_fregader_izq
play_lib_snd cocina_fregadero_izq
say player "Agua a ojo... en su justa medida."
inventory_remove turno_cocina_olla_vacia
inventory_add turno_cocina_olla_llena

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=13 format=2]
[gd_scene load_steps=14 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/characters/oier/oier.tscn" type="PackedScene" id=2]
@@ -11,6 +11,7 @@
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina_delante/assets/foreground.png" type="Texture" id=9]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_madera.tscn" type="PackedScene" id=10]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_ajo.tscn" type="PackedScene" id=11]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_carton.tscn" type="PackedScene" id=12]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( -768, 301, -1163, 462, -1161, 358, -532, 166, 676, 59, 651, -8, 720, -10, 760, 50, 167, 278, 419, 146, 36, 211, -86, 216, -236, 229, -87, 153, 22, 154, -360, 166 )
@@ -110,7 +111,6 @@ global_id = "puerta_detras_start"
[node name="EnekoSmoking" parent="." instance=ExtResource( 8 )]
position = Vector2( 813, 440 )
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 0.584314, 0.490196, 0.270588, 1 )
[node name="ESCLocation" type="Position2D" parent="EnekoSmoking"]
position = Vector2( -44, 82 )
@@ -164,3 +164,10 @@ script = ExtResource( 5 )
[node name="turno_cocina_ajo" parent="." instance=ExtResource( 11 )]
position = Vector2( 858, 399 )
[node name="turno_cocina_carton" parent="." instance=ExtResource( 12 )]
position = Vector2( 1221, 423 )
[node name="ESCLocation" type="Position2D" parent="turno_cocina_carton"]
position = Vector2( -52, 34 )
script = ExtResource( 5 )

View File

@@ -1,4 +1,12 @@
:setup
# Uncomment to disable intro scene
#set_global cocina_delante_intro_played true
#set_global cocina_intro_played true
> [!cocina_delante_intro_played]
accept_input SKIP
stop_snd
play_video res://gymkhana/videos/turno_cocina/intro_subs.ogv
inventory_add turno_cocina_frontal
set_active turno_cocina_ajo false [!turno_cocina_eneko_catando]
anim eneko_smoking idle
@@ -19,14 +27,10 @@ set_angle player 90
:ready
# Uncomment to disable intro scene
set_global cocina_delante_intro_played true
set_global cocina_intro_played true
> [!cocina_delante_intro_played]
set_global cocina_delante_intro_played true
accept_input SKIP
stop_snd
play_video res://gymkhana/videos/turno_cocina/intro.ogv
queue_event eneko_smoking intro_dialog intro_dialog_channel true
set_gui_visible true
walk_block player puerta_cocina_start

Binary file not shown.