Wrench added to trasera_cocina

This commit is contained in:
2023-03-09 12:39:28 +01:00
parent dc7deb496f
commit 1445f1db78
4 changed files with 62 additions and 5 deletions

View File

@@ -0,0 +1,35 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://gymkhana/items/inventory/assets/wrench.png" type="Texture" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=2]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 37, 33.5 )
[node name="wrench" type="Area2D"]
pause_mode = 1
script = ExtResource( 3 )
global_id = "wrench"
esc_script = "res://gymkhana/items/inventory/wrench.esc"
action1_text = "¿Que es esto?"
action2_text = "Coger"
action3_text = "¿Que es esto?"
action4_text = "Usar"
combine_when_selected_action_is_in = PoolStringArray( "use" )
use_from_inventory_only = true
inventory_texture = ExtResource( 1 )
dialog_color = Color( 1, 1, 1, 1 )
animations = null
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, 0 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 0 )
shape = SubResource( 2 )
[node name="ESCLocation" type="Position2D" parent="."]
position = Vector2( 0, 0 )
script = ExtResource( 2 )