feat: encender cocina de gas

This commit is contained in:
2024-01-26 23:15:20 +01:00
parent c62f42f4f6
commit a938b5d38c
4 changed files with 52 additions and 13 deletions

View File

@@ -1,17 +1,14 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=3 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_mechero.png" type="Texture" id=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 22.5, 12.5 )
[node name="turno_cocina_mechero" type="Area2D"]
pause_mode = 1
script = ExtResource( 1 )
global_id = "turno_cocina_mechero"
esc_script = "res://gymkhana/items/inventory/turno_cocina_mechero.esc"
combine_when_selected_action_is_in = [ "action4" ]
inventory_texture = ExtResource( 2 )
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
@@ -20,7 +17,6 @@ tooltips = {
"action3": "Mirar",
"action4": "Usar"
}
combine_when_selected_action_is_in = [ "action4" ]
animations = null
[node name="Sprite" type="Sprite" parent="."]
@@ -28,10 +24,5 @@ position = Vector2( -2, 0 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -1.5, -0.5 )
shape = SubResource( 1 )
[node name="ESCLocation" type="Position2D" parent="."]
position = Vector2( -51, 69 )
script = ExtResource( 3 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PoolVector2Array( -15, -29, 3, -33, 10, 30, -3, 32 )