Difference between revisions of "Description Mission - atom description"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
atom ('city.nz.13.jerusalem', | atom ('city.nz.13.jerusalem', | ||
{ | { | ||
− | + | atom ('mission.description.nz.11', | |
− | + | { | |
− | + | title = "@mission.nz.11", | |
− | + | period = {-722, -705}, | |
− | + | period_in_title = true, | |
− | + | map = "images/ui/maps/mission_11.png", | |
− | + | short_description = "@mission.nz.11.desc", | |
− | + | long_description = { | |
− | + | "@mission.nz.11.a", | |
− | + | "@mission.nz.11.b", | |
− | + | "@mission.nz.11.c", | |
− | + | "@mission.nz.11.d", | |
}, | }, | ||
− | + | city = "@mission.nz.11.city", | |
− | + | city_description = { | |
− | + | "@mission.nz.11.city.a", | |
}, | }, | ||
− | + | victory = "images/ui/victory_image.png", | |
− | + | }) | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}) | }) | ||
</pre> | </pre> |
Revision as of 17:28, 16 April 2021
General description
- Contains mission description used in the mission screens.
Properties description
Name | Type | Default value / Obligatory |
Description |
---|---|---|---|
title | locale string | obligatory | Mission title. |
Properties in detail
position
- It's position in pixels from the top left cornder of map texture.
label alignment
- Use -1 for left/top alignment
- Use 0 for center alignment
- Use 1 for right/bottom alignment
max_prestige
- If defined then the prestige component of city relation is computed as ratio between current prestige and this max prestige multiply by maximal value of prestige relation component.
Example
atom ('city.nz.13.jerusalem', { atom ('mission.description.nz.11', { title = "@mission.nz.11", period = {-722, -705}, period_in_title = true, map = "images/ui/maps/mission_11.png", short_description = "@mission.nz.11.desc", long_description = { "@mission.nz.11.a", "@mission.nz.11.b", "@mission.nz.11.c", "@mission.nz.11.d", }, city = "@mission.nz.11.city", city_description = { "@mission.nz.11.city.a", }, victory = "images/ui/victory_image.png", }) })