Factorio Runtime DocsVersion 2.0.18

ClassLuaAchievementPrototypeextendsLuaPrototypeBasechanged

Prototype of a achievement.

Members

allowed_without_fight :: R boolean
objective_condition new :: R string?
amount new :: R uint?
limited_to_one_game new :: R boolean?
within new :: R uint?
to_build new :: R LuaEntityPrototype?
surface new :: R string?
count new :: R uint?
more_than_manually new :: R boolean?
dont_build new :: R array[LuaEntityPrototype] ?
excluded new :: R array[LuaEntityPrototype] ?
included new :: R array[LuaEntityPrototype] ?
dont_research new :: R array[LuaItemPrototype] ?
research_with new :: R array[LuaItemPrototype] ?
last_hour_only new :: R boolean?
minimum_energy_produced new :: R double?
armor new :: R LuaItemPrototype?
alternative_armor new :: R LuaItemPrototype?
limit_quality new :: R LuaQualityPrototype?
damage_type new :: R LuaDamagePrototype?
damage_dealer new :: R array[LuaEntityPrototype] ?
to_kill new :: R array[LuaEntityPrototype] ?
personally new :: R boolean?
in_vehicle new :: R boolean?
type_to_kill new :: R string?
not_to_kill new :: R LuaEntityPrototype?
type_not_to_kill new :: R string?
module new :: R array[string] ?
limit_equip_quality new :: R LuaQualityPrototype?
minimum_damage new :: R float?
should_survive new :: R boolean?
type_of_dealer new :: R string?
item_product new :: R LuaItemPrototype?
quality new :: R LuaQualityPrototype?
fluid_product new :: R LuaFluidPrototype?
technology new :: R LuaTechnologyPrototype?
research_all new :: R boolean?
science_pack new :: R LuaItemPrototype?
ammo_type new :: R LuaItemPrototype?
minimum_distance new :: R double?
to_use new :: R LuaItemPrototype?
valid :: R boolean

Is this object valid? [...]

Is this object valid? [...]

object_name :: R string

The class name of this object. [...]

The class name of this object. [...]

Inherited from LuaPrototypeBase
type :: R string

Type of this prototype.

Type of this prototype.

name :: R string

Name of this prototype.

Name of this prototype.

order :: R string

The string used to alphabetically sort these prototypes. [...]

The string used to alphabetically sort these prototypes. [...]

localised_name :: R LocalisedString
localised_description :: R LocalisedString
group :: R LuaGroup

Group of this prototype.

Group of this prototype.

subgroup :: R LuaGroup

Subgroup of this prototype.

Subgroup of this prototype.

hidden :: R boolean
hidden_in_factoriopedia :: R boolean
parameter :: R boolean

Attributes

allowed_without_fight :: Read boolean  


objective_condition :: Read string  ?new


amount :: Read uint  ?new


limited_to_one_game :: Read boolean  ?new


within :: Read uint  ?new


to_build :: Read LuaEntityPrototype  ?new


surface :: Read string  ?new


count :: Read uint  ?new


more_than_manually :: Read boolean  ?new


dont_build :: Read array[LuaEntityPrototype]  ?new


excluded :: Read array[LuaEntityPrototype]  ?new


included :: Read array[LuaEntityPrototype]  ?new


dont_research :: Read array[LuaItemPrototype]  ?new


research_with :: Read array[LuaItemPrototype]  ?new


last_hour_only :: Read boolean  ?new


minimum_energy_produced :: Read double  ?new


armor :: Read LuaItemPrototype  ?new


alternative_armor :: Read LuaItemPrototype  ?new


limit_quality :: Read LuaQualityPrototype  ?new


damage_type :: Read LuaDamagePrototype  ?new


damage_dealer :: Read array[LuaEntityPrototype]  ?new


to_kill :: Read array[LuaEntityPrototype]  ?new


personally :: Read boolean  ?new


in_vehicle :: Read boolean  ?new


type_to_kill :: Read string  ?new


not_to_kill :: Read LuaEntityPrototype  ?new


type_not_to_kill :: Read string  ?new


module :: Read array[string]  ?new


limit_equip_quality :: Read LuaQualityPrototype  ?new


minimum_damage :: Read float  ?new


should_survive :: Read boolean  ?new


type_of_dealer :: Read string  ?new


item_product :: Read LuaItemPrototype  ?new


quality :: Read LuaQualityPrototype  ?new


fluid_product :: Read LuaFluidPrototype  ?new


technology :: Read LuaTechnologyPrototype  ?new


research_all :: Read boolean  ?new


science_pack :: Read LuaItemPrototype  ?new


ammo_type :: Read LuaItemPrototype  ?new


minimum_distance :: Read double  ?new


to_use :: Read LuaItemPrototype  ?new


valid :: Read boolean  

Is this object valid? This Lua object holds a reference to an object within the game engine. It is possible that the game-engine object is removed whilst a mod still holds the corresponding Lua object. If that happens, the object becomes invalid, i.e. this attribute will be false. Mods are advised to check for object validity if any change to the game state might have occurred between the creation of the Lua object and its access.


object_name :: Read string  

The class name of this object. Available even when valid is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct.

Classes

Concepts

Events

Defines