Picked observer, global observer
This commit is contained in:
@@ -1,17 +1,22 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dyejne0ibag68"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dyejne0ibag68"]
|
||||
|
||||
[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://qkq00po4xvto" path="res://gymkhana/items/inventory/assets/turno_cocina_carton.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfxjkbugt0jld" path="res://gymkhana/items/inventory/assets/turno_cocina_carton_inventario.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpqta35jfbrd3" path="res://gymkhana/items/inventory/assets/turno_cocina_carton.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cw3t327fk3bcg" path="res://gymkhana/items/inventory/assets/turno_cocina_carton_inventario.png" id="3"]
|
||||
[ext_resource type="Script" uid="uid://cde2xhhd2twx4" path="res://addons/escoria-ui-return-monkey-island/item_components/ESCItemComponentPickedObserver.gd" id="4_2tvrr"]
|
||||
|
||||
[node name="turno_cocina_carton" type="Area2D"]
|
||||
process_mode = 1
|
||||
script = ExtResource("1")
|
||||
action3_target_texts = {
|
||||
"turno_cocina_mechero": "tooltip_turno_cocina_carton_action3_turno_cocina_mechero"
|
||||
}
|
||||
target_when_selected_action_is_in = ["action3"]
|
||||
global_id = "turno_cocina_carton"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_carton.esc"
|
||||
combine_when_selected_action_is_in = ["action4"]
|
||||
combine_when_selected_action_is_in = PackedStringArray("action4")
|
||||
inventory_texture = ExtResource("3")
|
||||
dialog_color = Color(1, 1, 1, 1)
|
||||
inventory_texture_hovered = ExtResource("3")
|
||||
custom_data = {
|
||||
"tooltips": {
|
||||
"action1": "tooltip_common_look",
|
||||
@@ -20,14 +25,12 @@ custom_data = {
|
||||
"action4": "tooltip_common_use"
|
||||
}
|
||||
}
|
||||
action3_target_texts = {
|
||||
"turno_cocina_mechero": "tooltip_turno_cocina_carton_action3_turno_cocina_mechero"
|
||||
}
|
||||
target_when_selected_action_is_in = ["action3"]
|
||||
animations = null
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
polygon = PackedVector2Array(-23, -11, -24, 2, -24, 11, -21, 13, -6, 16, 5, 17, 21, 12, 25, 8, 25, -13, 0, -16, -9, -17)
|
||||
|
||||
[node name="ESCItemComponentPickedObserver" type="Node" parent="."]
|
||||
script = ExtResource("4_2tvrr")
|
||||
|
||||
Reference in New Issue
Block a user