Picked observer, global observer
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bxjtxquhseqdp"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bxjtxquhseqdp"]
|
||||
|
||||
[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://p48fq13qx3d5" path="res://gymkhana/items/inventory/assets/turno_cocina_mechero.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://7jfdrbqf2a0h" path="res://gymkhana/items/inventory/assets/turno_cocina_mechero.png" id="2"]
|
||||
[ext_resource type="Script" uid="uid://cde2xhhd2twx4" path="res://addons/escoria-ui-return-monkey-island/item_components/ESCItemComponentPickedObserver.gd" id="3_fiv88"]
|
||||
|
||||
[node name="turno_cocina_mechero" type="Area2D"]
|
||||
process_mode = 1
|
||||
script = ExtResource("1")
|
||||
global_id = "turno_cocina_mechero"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_mechero.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_common_look",
|
||||
@@ -19,7 +20,6 @@ custom_data = {
|
||||
"action4": "tooltip_common_use"
|
||||
}
|
||||
}
|
||||
animations = null
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(-2, 0)
|
||||
@@ -28,3 +28,6 @@ texture = ExtResource("2")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
polygon = PackedVector2Array(-15, -29, 3, -33, 10, 30, -3, 32)
|
||||
|
||||
[node name="ESCItemComponentPickedObserver" type="Node" parent="."]
|
||||
script = ExtResource("3_fiv88")
|
||||
|
||||
Reference in New Issue
Block a user