Files
gymkhana-actions/scripts/item-template.tscn

40 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://b2oe12ld0d5jc"]
[ext_resource type="Script" uid="uid://ceym82rf2qnxu" path="res://addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" id="1"]
[ext_resource type="Script" uid="uid://beh3ds4eapldu" path="res://addons/escoria-core/game/core-scripts/esc_location.gd" id="3"]
[sub_resource type="Resource" id="Resource_rnd3g"]
metadata/__load_path__ = "res://gymkhana/items/inventory/assets/BASENAME.png"
[sub_resource type="Resource" id="Resource_h4634"]
metadata/__load_path__ = "res://gymkhana/items/inventory/assets/BASENAME.png"
[sub_resource type="RectangleShape2D" id="1"]
size = Vector2(45, 25)
[node name="BASENAME" type="Area2D"]
process_mode = 1
script = ExtResource("1")
global_id = "BASENAME"
esc_script = "res://gymkhana/items/inventory/BASENAME.esc"
inventory_texture = SubResource("Resource_rnd3g")
dialog_color = Color(1, 1, 1, 1)
action1_text = "¿Que es esto?"
action2_text = "Coger"
action3_text = "Mirar"
action4_text = "Usar"
animations = null
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(-2, 0)
scale = Vector2(0.5, 0.5)
texture = SubResource("Resource_h4634")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-1.5, -0.5)
shape = SubResource("1")
[node name="ESCLocation" type="Marker2D" parent="."]
position = Vector2(-51, 69)
script = ExtResource("3")