Skip to content

Latest commit

 

History

History
87 lines (59 loc) · 1.97 KB

respawn-time.rst

File metadata and controls

87 lines (59 loc) · 1.97 KB

RespawnTime section

~il2fb.parsers.mission.sections.respawn_time.RespawnTimeSectionParser is responsible for parsing RespawnTime section. This section defines respawn time for different types of stationary objects.

Section example:

[RespawnTime]
  Bigship 1000000
  Ship 1000000
  Aeroanchored 1000000
  Artillery 1000000
  Searchlight 1000000

Output example:

{
    'respawn_time': {
        'ships': {
            'big': 1000000,
            'small': 1000000,
        },
        'balloons': 1000000,
        'artillery': 1000000,
        'searchlights': 1000000,
    },
}

Output contains a dict with respawn_time element.

Description:

Respawn time is measured by seconds.

Bigship

Respawn time for big ships.

Output path

respawn_time.ships.big

Output type

int

Output value

original value converted to integer number

Ship

Respawn time for small ships.

Output path

respawn_time.ships.small

Output type

int

Output value

original value converted to integer number

Aeroanchored

Respawn time for balloons.

Output path

respawn_time.balloons

Output type

int

Output value

original value converted to integer number

Artillery

Respawn time for artillery.

Output path

respawn_time.artillery

Output type

int

Output value

original value converted to integer number

Searchlight

Respawn time for searchlights.

Output path

respawn_time.searchlights

Output type

int

Output value

original value converted to integer number


Footnotes: