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:
@@ -15,10 +15,12 @@ esc_script = "res://gymkhana/items/inventory/caja_herramientas.esc"
|
||||
combine_when_selected_action_is_in = [ "action4" ]
|
||||
inventory_texture = ExtResource( 2 )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
action1_text = "¿Que es esto?"
|
||||
action2_text = "Coger"
|
||||
action3_text = "Mirar dentro"
|
||||
action4_text = "Usar"
|
||||
tooltips = {
|
||||
"action1": "¿Que es esto?",
|
||||
"action2": "Coger",
|
||||
"action3": "Mirar dentro",
|
||||
"action4": "Usar"
|
||||
}
|
||||
action3_target_texts = {
|
||||
"wrench": "Guardarla en la caja"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user