LevelSensor.byml: Difference between revisions

imported>Leoetlino
add more detailed docs for LevelSensor
imported>Leoetlino
m fix formatting
Line 10: Line 10:
The root element is a dictionary.
The root element is a dictionary.


=== enemy ==
=== enemy ===
'''enemy''' is used to configure enemy upgrades. It is an array of dictionaries of the following form:
'''enemy''' is used to configure enemy upgrades. It is an array of dictionaries of the following form:


Line 27: Line 27:
|}
|}


=== flag ==
=== flag ===
'''flag''' determines how many points an enemy kill is worth and it is used to calculate the total number of points (see [[Difficulty scaling]] for more information). It is an array of dictionaries of the following form:
'''flag''' determines how many points an enemy kill is worth and it is used to calculate the total number of points (see [[Difficulty scaling]] for more information). It is an array of dictionaries of the following form:


Line 44: Line 44:
|}
|}


=== setting ==
=== setting ===
'''setting''' is a dictionary of the following form:
'''setting''' is a dictionary of the following form:


Line 61: Line 61:
|}
|}


=== weapon ==
=== weapon ===
'''weapon''' is used to configure weapon upgrades and modifiers. It is an array of dictionaries of the following form:
'''weapon''' is used to configure weapon upgrades and modifiers. It is an array of dictionaries of the following form: