caja_herramientas code cleanup
This commit is contained in:
@@ -1,24 +1,26 @@
|
|||||||
[gd_scene load_steps=4 format=2]
|
[gd_scene load_steps=5 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
|
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://gymkhana/items/inventory/assets/caja-herramientas.png" type="Texture" id=2]
|
[ext_resource path="res://gymkhana/items/inventory/assets/caja-herramientas.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id=1]
|
[sub_resource type="RectangleShape2D" id=1]
|
||||||
extents = Vector2( 22.5, 12.5 )
|
extents = Vector2( 22.5, 12.5 )
|
||||||
|
|
||||||
[node name="ESCItemWithTooltip" type="Area2D"]
|
[node name="caja_herramientas" type="Area2D"]
|
||||||
pause_mode = 1
|
pause_mode = 1
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
global_id = "caja_herramientas"
|
global_id = "caja_herramientas"
|
||||||
inventory_texture = ExtResource( 2 )
|
esc_script = "res://gymkhana/items/inventory/caja_herramientas.esc"
|
||||||
dialog_color = Color( 1, 1, 1, 1 )
|
|
||||||
animations = null
|
|
||||||
combine_when_selected_action_is_in = [ "action4" ]
|
combine_when_selected_action_is_in = [ "action4" ]
|
||||||
use_from_inventory_only = true
|
use_from_inventory_only = true
|
||||||
|
inventory_texture = ExtResource( 2 )
|
||||||
|
dialog_color = Color( 1, 1, 1, 1 )
|
||||||
action1_text = "¿Que es esto?"
|
action1_text = "¿Que es esto?"
|
||||||
action2_text = "Coger"
|
action2_text = "Coger"
|
||||||
action3_text = "Mirar dentro"
|
action3_text = "Mirar dentro"
|
||||||
action4_text = "Usar"
|
action4_text = "Usar"
|
||||||
|
animations = null
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite" parent="."]
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
position = Vector2( -2, 0 )
|
position = Vector2( -2, 0 )
|
||||||
@@ -28,3 +30,7 @@ texture = ExtResource( 2 )
|
|||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
position = Vector2( -1.5, -0.5 )
|
position = Vector2( -1.5, -0.5 )
|
||||||
shape = SubResource( 1 )
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
|
[node name="ESCLocation" type="Position2D" parent="."]
|
||||||
|
position = Vector2( -51, 69 )
|
||||||
|
script = ExtResource( 3 )
|
||||||
|
|||||||
@@ -130,8 +130,7 @@ script = ExtResource( 3 )
|
|||||||
global_id = "eneko_smoking"
|
global_id = "eneko_smoking"
|
||||||
|
|
||||||
[node name="caja_herramientas" parent="." instance=ExtResource( 31 )]
|
[node name="caja_herramientas" parent="." instance=ExtResource( 31 )]
|
||||||
esc_script = "res://gymkhana/items/inventory/caja_herramientas.esc"
|
position = Vector2( 707, 422 )
|
||||||
position = Vector2( 707, 522 )
|
|
||||||
|
|
||||||
[node name="ESCLocation" type="Position2D" parent="ESCItemWithTooltip"]
|
[node name="ESCLocation" type="Position2D" parent="ESCItemWithTooltip"]
|
||||||
position = Vector2( -51, 69 )
|
position = Vector2( -51, 69 )
|
||||||
|
|||||||
Reference in New Issue
Block a user