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,16 +1,21 @@
[gd_scene load_steps=3 format=3 uid="uid://cpeqaymxabewi"]
[gd_scene load_steps=4 format=3 uid="uid://cpeqaymxabewi"]
[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://nktfki1vvj7h" path="res://gymkhana/items/inventory/assets/turno_cocina_bol_inventario.png" id="2"]
[ext_resource type="Texture2D" uid="uid://276uevmvuuhp" path="res://gymkhana/items/inventory/assets/turno_cocina_bol_inventario.png" id="2"]
[ext_resource type="Script" uid="uid://cde2xhhd2twx4" path="res://addons/escoria-ui-return-monkey-island/item_components/ESCItemComponentPickedObserver.gd" id="3_g5aye"]
[node name="turno_cocina_bol" type="Area2D"]
process_mode = 1
script = ExtResource("1")
action3_target_texts = {
"turno_cocina_peso": "tooltip_turno_cocina_bol_action3_turno_cocina_peso"
}
target_when_selected_action_is_in = ["action3"]
global_id = "turno_cocina_bol"
esc_script = "res://gymkhana/items/inventory/turno_cocina_bol.esc"
combine_when_selected_action_is_in = ["action4"]
combine_when_selected_action_is_in = PackedStringArray("action4")
inventory_texture = ExtResource("2")
dialog_color = Color(1, 1, 1, 1)
inventory_texture_hovered = ExtResource("2")
custom_data = {
"tooltips": {
"action1": "tooltip_turno_cocina_bol_action1",
@@ -18,8 +23,6 @@ custom_data = {
"action4": "tooltip_common_use"
}
}
action3_target_texts = {
"turno_cocina_peso": "tooltip_turno_cocina_bol_action3_turno_cocina_peso"
}
target_when_selected_action_is_in = ["action3"]
animations = null
[node name="ESCItemComponentPickedObserver" type="Node" parent="."]
script = ExtResource("3_g5aye")