unified tooltips as dictionary (#8)
## Changes - From one variable for each tooltip to dictionary - Should not break the game. ## How to test - Run game - In `cocina_delante` every tooltip yould appear as always. - The rest of the rooms/items appear without tooltip. ## Side effects - `set_tooltip` ESC command doesn't work untill `tooltip` is set to the in the new way. It changes the tooltip to every object without the new tooltip. - Should be gone when we update every object. Reviewed-on: gymkhana/gymkhana#8 Co-authored-by: oier <oierbravo@gmail.com> Co-committed-by: oier <oierbravo@gmail.com>
This commit is contained in:
@@ -14,10 +14,12 @@ global_id = "turno_cocina_madera"
|
||||
esc_script = "res://gymkhana/items/inventory/turno_cocina_madera.esc"
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
action1_text = "¿Que es esto?"
|
||||
action2_text = "Coger"
|
||||
action3_text = "Mirar"
|
||||
action4_text = "Usar"
|
||||
tooltips = {
|
||||
"action1": "¿Que es esto?",
|
||||
"action2": "Coger",
|
||||
"action3": "Mirar",
|
||||
"action4": "Usar"
|
||||
}
|
||||
animations = null
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
|
||||
Reference in New Issue
Block a user