Picked observer, global observer

This commit is contained in:
2025-09-14 04:44:12 +02:00
parent 5e1d88c333
commit f41fc361b8
28 changed files with 183 additions and 103 deletions

View File

@@ -1,8 +1,9 @@
[gd_scene load_steps=4 format=3 uid="uid://dgucic2086suo"]
[gd_scene load_steps=5 format=3 uid="uid://dgucic2086suo"]
[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="Texture2D" uid="uid://brjb1fkbo0so" path="res://gymkhana/items/inventory/assets/turno_cocina_olla_inv_vacia.png" id="2"]
[ext_resource type="Texture2D" uid="uid://bhdcferfexcgb" path="res://gymkhana/items/inventory/assets/turno_cocina_olla.png" id="3"]
[ext_resource type="Script" uid="uid://cde2xhhd2twx4" path="res://addons/escoria-ui-return-monkey-island/item_components/ESCItemComponentPickedObserver.gd" id="4_v2esb"]
[node name="turno_cocina_olla_vacia" type="Area2D"]
process_mode = 1
@@ -18,6 +19,7 @@ global_id = "turno_cocina_olla_vacia"
esc_script = "res://gymkhana/items/inventory/turno_cocina_olla_vacia.esc"
combine_when_selected_action_is_in = PackedStringArray("action4")
inventory_texture = ExtResource("2")
inventory_texture_hovered = ExtResource("2")
custom_data = {
"tooltips": {
"action1": "tooltip_common_look",
@@ -32,3 +34,6 @@ texture = ExtResource("3")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array(-59, 41, -59, -44, -63, -48, -62, -52, -59, -54, -49, -58, -34, -60, -16, -62, 1, -61, 21, -60, 44, -57, 57, -53, 61, -47, 58, -41, 56, -29, 62, -29, 64, -27, 58, -25, 56, -21, 53, 33, 50, 44, 44, 52, 33, 55, 12, 59, -12, 59, -40, 56, -54, 50)
[node name="ESCItemComponentPickedObserver" type="Node" parent="."]
script = ExtResource("4_v2esb")