Files
gymkhana-actions/gymkhana/rooms/turno_cocina/cocina_delante/esc/cocina_delante.esc
oier 2d32f4b312 Localization (#15)
## Changes (escoria-core)
> Pending to do a PR to the core.
- Added `es` langcode with the corresponding flag image.
- Translated literals for `es`

## Changes (gymkhana)
-  Added `turno_cocina` localization csv.
- Proof of concept for tooltips & dialogs.

## Notes
- For tooltips just use the literals. Godot will automatically search for a translation key first.
- For ESC just use `translation_key:"Default text"`

## How to test
- In the option menu ES should be selectable.
- The `frontal` item in the inventory should have the tooltips and the `say` command translated in `en`,`fr` and `es`.

Reviewed-on: gymkhana/gymkhana#15
Co-authored-by: oier <oierbravo@gmail.com>
Co-committed-by: oier <oierbravo@gmail.com>
2023-09-26 00:13:55 +02:00

32 lines
760 B
Plaintext

:setup
inventory_add turno_cocina_frontal
anim eneko_smoking idle
> [eq ESC_LAST_SCENE despensa]
teleport player puerta_despensa_start
set_angle player 180
stop
> [eq ESC_LAST_SCENE cocina_detras]
teleport player puerta_detras_start
set_angle player 180
stop
> [eq ESC_LAST_SCENE cocina]
teleport player puerta_cocina_start
set_angle player 180
stop
teleport player new_game_start_location
set_angle player 180
:ready
set_global new_game true
> [new_game]
set_global new_game false
accept_input SKIP
set_gui_visible false
walk_block player puerta_cocina_start
set_angle player 180
say current_player hello_start_game:"Alo Uli!"
set_gui_visible true
accept_input ALL