Move some items to inventory folder and names cleanup
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
[ext_resource path="res://gymkhana/items/inventory/assets/bombona.png" type="Texture" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
|
||||
|
||||
[node name="i_bombona" type="Area2D"]
|
||||
[node name="bombona" type="Area2D"]
|
||||
pause_mode = 1
|
||||
position = Vector2( 0, -1 )
|
||||
|
||||
12
gymkhana/items/inventory/bombona2.esc
Normal file
12
gymkhana/items/inventory/bombona2.esc
Normal file
@@ -0,0 +1,12 @@
|
||||
:action1
|
||||
say player "Es naranja"
|
||||
|
||||
:action2
|
||||
set_active bombona2 false
|
||||
inventory_add bombona2
|
||||
|
||||
:action3
|
||||
say player "Es el segundo bolsillo más grande que he visto nunca"
|
||||
|
||||
:action4
|
||||
say player "¡¡Al meterla en mi bolsillo se ha convertido en un dibujo animado!!"
|
||||
10
gymkhana/items/inventory/caja_herramientas.esc
Normal file
10
gymkhana/items/inventory/caja_herramientas.esc
Normal file
@@ -0,0 +1,10 @@
|
||||
:action1
|
||||
say current_player "Parece una caja de herramientas"
|
||||
|
||||
:action2
|
||||
say current_player "Podria ser util!!"
|
||||
set_active caja_herramientas false
|
||||
inventory_add caja_herramientas
|
||||
|
||||
:action3
|
||||
say current_player "Hay de too!"
|
||||
@@ -9,7 +9,7 @@ extents = Vector2( 22.5, 12.5 )
|
||||
[node name="ESCItemWithTooltip" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 1 )
|
||||
global_id = "i_caja_herramientas"
|
||||
global_id = "caja_herramientas"
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
animations = null
|
||||
Reference in New Issue
Block a user