Difference between revisions of "Mission - atom description"

From Nebuchadnezzar Modding Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
|-
 
|-
 
|no_path_residents_event || atom'''['''Event''']''' || obligatory || Event atom when settlers are not able to reach empty houses.
 
|no_path_residents_event || atom'''['''Event''']''' || obligatory || Event atom when settlers are not able to reach empty houses.
 +
|-
 +
|map || atom'''['''Event''']''' || obligatory || Mission map atom.
 
|}
 
|}
  

Revision as of 15:44, 16 April 2021

<- back to all classes

General description

  • Mission atom is the main atom of any mission.
  • It contains all settings of the mission or links to other atoms containg mission settings.

Properties description

Name Type Default value /
Obligatory
Description
description atom[Description_Mission] obligatory Mission description atom.
first_residents_event atom[Event] obligatory Event atom for the first incoming settlers.
leaving_residents_event atom[Event] obligatory Event atom for the leaving settlers.
returning_residents_event atom[Event] obligatory Event atom for the returning settlers.
no_path_residents_event atom[Event] obligatory Event atom when settlers are not able to reach empty houses.
map atom[Event] obligatory Mission map atom.

Properties in detail

  • See in-game prestige tab where you can find how individual components are computed using these data.

Example

atom ('prestige.nz.13',
{
    monuments_atoms = {
        'mn_category.temple.13',
        'mn_category.palace.13',
        'mn_category.garden.13',
    },
    monuments_atoms_weights = {
        250.0,
        300.0,
        500.0,
    },

    population_atoms = {
        'resident.lower',
        'resident.middle',
        'resident.upper',
    },
    population_atoms_weights = {
        weight_lower,
        weight_middle,
        weight_upper,
    },

    revenue_weight = weight_revenue,
    ui_bound = 2000,
})