has_flag(flag) | → boolean | Does this prototype have a flag enabled? |
Does this prototype have a flag enabled? | ||
get_ammo_type(ammo_source_type?) | → AmmoType? | The type of this ammo prototype. |
The type of this ammo prototype. | ||
help() | → string | All methods and properties that this object supports. |
All methods and properties that this object supports. | ||
type [R] | :: string | Type of this prototype. [...] |
Type of this prototype. [...] | ||
name [R] | :: string | Name of this prototype. |
Name of this prototype. | ||
localised_name [R] | :: LocalisedString | |
localised_description [R] | :: LocalisedString | |
order [R] | :: string | The string used to alphabetically sort these prototypes. [...] |
The string used to alphabetically sort these prototypes. [...] | ||
place_result [R] | :: LuaEntityPrototype? | Prototype of the entity that will be created by placing this item, if any. |
Prototype of the entity that will be created by placing this item, if any. | ||
place_as_equipment_result [R] | :: LuaEquipmentPrototype? | Prototype of the equipment that will be created by placing this item in an equipment grid, if any. |
Prototype of the equipment that will be created by placing this item in an equipment grid, if any. | ||
place_as_tile_result [R] | :: PlaceAsTileResult? | The place-as-tile result if one is defined, if any. |
The place-as-tile result if one is defined, if any. | ||
stackable [R] | :: boolean | Is this item allowed to stack at all? |
Is this item allowed to stack at all? | ||
default_request_amount [R] | :: uint | The default request value. |
The default request value. | ||
stack_size [R] | :: uint | Maximum stack size of the item specified by this prototype. |
Maximum stack size of the item specified by this prototype. | ||
wire_count [R] | :: uint | The number of items needed to connect two entities with this as wire. |
The number of items needed to connect two entities with this as wire. | ||
fuel_category [R] | :: string? | The fuel category of this item prototype, if any. |
The fuel category of this item prototype, if any. | ||
burnt_result [R] | :: LuaItemPrototype? | The result of burning this item as fuel, if any. |
The result of burning this item as fuel, if any. | ||
fuel_value [R] | :: float | Fuel value when burned. |
Fuel value when burned. | ||
fuel_acceleration_multiplier [R] | :: double | The acceleration multiplier when this item is used as fuel in a vehicle. |
The acceleration multiplier when this item is used as fuel in a vehicle. | ||
fuel_top_speed_multiplier [R] | :: double | The fuel top speed multiplier when this item is used as fuel in a vehicle. |
The fuel top speed multiplier when this item is used as fuel in a vehicle. | ||
fuel_emissions_multiplier [R] | :: double | The emissions multiplier if this is used as fuel. |
The emissions multiplier if this is used as fuel. | ||
subgroup [R] | :: LuaGroup | The subgroup this prototype belongs to. |
The subgroup this prototype belongs to. | ||
group [R] | :: LuaGroup | The group this prototype belongs to. |
The group this prototype belongs to. | ||
flags [R] | :: ItemPrototypeFlags | The flags for this item prototype. |
The flags for this item prototype. | ||
rocket_launch_products [R] | :: array[Product] | The results of launching this item in a rocket. |
The results of launching this item in a rocket. | ||
can_be_mod_opened [R] | :: boolean | If this item can be mod-opened. |
If this item can be mod-opened. | ||
magazine_size [R] | :: float? | Size of full magazine. |
Size of full magazine. | ||
reload_time [R] | :: float? | Amount of extra time (in ticks) it takes to reload the weapon after depleting the magazine. |
Amount of extra time (in ticks) it takes to reload the weapon after depleting the magazine. | ||
equipment_grid [R] | :: LuaEquipmentGridPrototype? | The prototype of this armor's equipment grid, if any. |
The prototype of this armor's equipment grid, if any. | ||
resistances [R] | :: dictionary[string → Resistance]? | Resistances of this armor item, if any, indexed by damage type name. |
Resistances of this armor item, if any, indexed by damage type name. | ||
inventory_size_bonus [R] | :: uint? | The inventory size bonus for this armor prototype. |
The inventory size bonus for this armor prototype. | ||
capsule_action [R] | :: CapsuleAction? | The capsule action for this capsule item prototype. |
The capsule action for this capsule item prototype. | ||
attack_parameters [R] | :: AttackParameters? | The gun attack parameters. |
The gun attack parameters. | ||
inventory_size [R] | :: uint? | The main inventory size for item-with-inventory-prototype. |
The main inventory size for item-with-inventory-prototype. | ||
item_filters [R] | :: dictionary[string → LuaItemPrototype]? | |
item_group_filters [R] | :: dictionary[string → LuaGroup]? | |
item_subgroup_filters [R] | :: dictionary[string → LuaGroup]? | |
filter_mode [R] | :: "none" or "whitelist" or "blacklist" ? | The filter mode used by this item with inventory. |
The filter mode used by this item with inventory. | ||
insertion_priority_mode [R] | :: "default" or "never" or "always" or "when-manually-filtered" ? | The insertion priority mode used by this item with inventory. |
The insertion priority mode used by this item with inventory. | ||
localised_filter_message [R] | :: LocalisedString? | The localised string used when the player attempts to put items into this item with inventory that aren't allowed. |
The localised string used when the player attempts to put items into this item with inventory that aren't allowed. | ||
extend_inventory_by_default [R] | :: boolean? | If this item with inventory extends the inventory it resides in by default. |
If this item with inventory extends the inventory it resides in by default. | ||
default_label_color [R] | :: Color? | The default label color used for this item with label, if any. |
The default label color used for this item with label, if any. | ||
draw_label_for_cursor_render [R] | :: boolean? | If true, and this item with label has a label it is drawn in place of the normal number when held in the cursor. |
If true, and this item with label has a label it is drawn in place of the normal number when held in the cursor. | ||
speed [R] | :: float? | The repairing speed if this is a repairing tool. |
The repairing speed if this is a repairing tool. | ||
module_effects [R] | :: ModuleEffects? | Effects of this module. |
Effects of this module. | ||
category [R] | :: string? | The name of a LuaModuleCategoryPrototype. [...] |
The name of a LuaModuleCategoryPrototype. [...] | ||
tier [R] | :: uint? | Tier of the module inside its category. [...] |
Tier of the module inside its category. [...] | ||
limitations [R] | :: array[string]? | An array of recipe names this module is allowed to work with. [...] |
An array of recipe names this module is allowed to work with. [...] | ||
limitation_message_key [R] | :: string? | The limitation message key used when the player attempts to use this modules in some place it's not allowed. |
The limitation message key used when the player attempts to use this modules in some place it's not allowed. | ||
straight_rail [R] | :: LuaEntityPrototype? | The straight rail prototype used for this rail planner prototype. |
The straight rail prototype used for this rail planner prototype. | ||
curved_rail [R] | :: LuaEntityPrototype? | The curved rail prototype used for this rail planner prototype. |
The curved rail prototype used for this rail planner prototype. | ||
repair_result [R] | :: array[TriggerItem]? | The repair result of this repair tool prototype. |
The repair result of this repair tool prototype. | ||
selection_border_color [R] | :: Color? | The color used when doing normal selection with this selection tool prototype. |
The color used when doing normal selection with this selection tool prototype. | ||
alt_selection_border_color [R] | :: Color? | The color used when doing alt selection with this selection tool prototype. |
The color used when doing alt selection with this selection tool prototype. | ||
reverse_selection_border_color [R] | :: Color? | The color used when doing reverse selection with this selection tool prototype. |
The color used when doing reverse selection with this selection tool prototype. | ||
alt_reverse_selection_border_color [R] | :: Color? | The color used when doing alt reverse selection with this selection tool prototype. |
The color used when doing alt reverse selection with this selection tool prototype. | ||
selection_mode_flags [R] | :: SelectionModeFlags? | Flags that affect which entities will be selected. |
Flags that affect which entities will be selected. | ||
alt_selection_mode_flags [R] | :: SelectionModeFlags? | Flags that affect which entities will be selected during alternate selection. |
Flags that affect which entities will be selected during alternate selection. | ||
reverse_selection_mode_flags [R] | :: SelectionModeFlags? | Flags that affect which entities will be selected during reverse selection. |
Flags that affect which entities will be selected during reverse selection. | ||
alt_reverse_selection_mode_flags [R] | :: SelectionModeFlags? | Flags that affect which entities will be selected during alt reverse selection. |
Flags that affect which entities will be selected during alt reverse selection. | ||
selection_cursor_box_type [R] | :: CursorBoxRenderType? | |
alt_selection_cursor_box_type [R] | :: CursorBoxRenderType? | |
reverse_selection_cursor_box_type [R] | :: CursorBoxRenderType? | |
alt_reverse_selection_cursor_box_type [R] | :: CursorBoxRenderType? | |
always_include_tiles [R] | :: boolean? | If tiles area always included when doing selection with this selection tool prototype. |
If tiles area always included when doing selection with this selection tool prototype. | ||
entity_filter_mode [R] | :: PrototypeFilterMode? | The entity filter mode used by this selection tool. |
The entity filter mode used by this selection tool. | ||
alt_entity_filter_mode [R] | :: PrototypeFilterMode? | The alt entity filter mode used by this selection tool. |
The alt entity filter mode used by this selection tool. | ||
reverse_alt_entity_filter_mode [R] | :: PrototypeFilterMode? | The reverse entity filter mode used by this selection tool. |
The reverse entity filter mode used by this selection tool. | ||
alt_reverse_alt_entity_filter_mode [R] | :: PrototypeFilterMode? | The alt reverse entity filter mode used by this selection tool. |
The alt reverse entity filter mode used by this selection tool. | ||
tile_filter_mode [R] | :: PrototypeFilterMode? | The tile filter mode used by this selection tool. |
The tile filter mode used by this selection tool. | ||
alt_tile_filter_mode [R] | :: PrototypeFilterMode? | The alt tile filter mode used by this selection tool. |
The alt tile filter mode used by this selection tool. | ||
reverse_tile_filter_mode [R] | :: PrototypeFilterMode? | The reverse tile filter mode used by this selection tool. |
The reverse tile filter mode used by this selection tool. | ||
alt_reverse_tile_filter_mode [R] | :: PrototypeFilterMode? | The alt reverse tile filter mode used by this selection tool. |
The alt reverse tile filter mode used by this selection tool. | ||
entity_filters [R] | :: dictionary[string → LuaEntityPrototype]? | The entity filters used by this selection tool indexed by entity name. |
The entity filters used by this selection tool indexed by entity name. | ||
alt_entity_filters [R] | :: dictionary[string → LuaEntityPrototype]? | The alt entity filters used by this selection tool indexed by entity name. |
The alt entity filters used by this selection tool indexed by entity name. | ||
reverse_entity_filters [R] | :: dictionary[string → LuaEntityPrototype]? | The reverse entity filters used by this selection tool indexed by entity name. |
The reverse entity filters used by this selection tool indexed by entity name. | ||
alt_reverse_entity_filters [R] | :: dictionary[string → LuaEntityPrototype]? | The alt reverse entity filters used by this selection tool indexed by entity name. |
The alt reverse entity filters used by this selection tool indexed by entity name. | ||
entity_type_filters [R] | :: dictionary[string → true ]? | The entity type filters used by this selection tool indexed by entity type. [...] |
The entity type filters used by this selection tool indexed by entity type. [...] | ||
alt_entity_type_filters [R] | :: dictionary[string → true ]? | The alt entity type filters used by this selection tool indexed by entity type. [...] |
The alt entity type filters used by this selection tool indexed by entity type. [...] | ||
reverse_entity_type_filters [R] | :: dictionary[string → true ]? | The reverse entity type filters used by this selection tool indexed by entity type. [...] |
The reverse entity type filters used by this selection tool indexed by entity type. [...] | ||
alt_reverse_entity_type_filters [R] | :: dictionary[string → true ]? | The alt reverse entity type filters used by this selection tool indexed by entity type. [...] |
The alt reverse entity type filters used by this selection tool indexed by entity type. [...] | ||
tile_filters [R] | :: dictionary[string → LuaTilePrototype]? | The tile filters used by this selection tool indexed by tile name. |
The tile filters used by this selection tool indexed by tile name. | ||
alt_tile_filters [R] | :: dictionary[string → LuaTilePrototype]? | The alt tile filters used by this selection tool indexed by tile name. |
The alt tile filters used by this selection tool indexed by tile name. | ||
reverse_tile_filters [R] | :: dictionary[string → LuaTilePrototype]? | The reverse tile filters used by this selection tool indexed by tile name. |
The reverse tile filters used by this selection tool indexed by tile name. | ||
alt_reverse_tile_filters [R] | :: dictionary[string → LuaTilePrototype]? | The alt reverse tile filters used by this selection tool indexed by tile name. |
The alt reverse tile filters used by this selection tool indexed by tile name. | ||
entity_filter_slots [R] | :: uint? | The number of entity filters this deconstruction item has. |
The number of entity filters this deconstruction item has. | ||
tile_filter_slots [R] | :: uint? | The number of tile filters this deconstruction item has. |
The number of tile filters this deconstruction item has. | ||
durability_description_key [R] | :: string? | The durability message key used when displaying the durability of this tool. |
The durability message key used when displaying the durability of this tool. | ||
durability [R] | :: double? | The durability of this tool item. |
The durability of this tool item. | ||
infinite [R] | :: boolean? | If this tool item has infinite durability. |
If this tool item has infinite durability. | ||
mapper_count [R] | :: uint? | How many filters an upgrade item has. |
How many filters an upgrade item has. | ||
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. [...] |
ammo_source_type | :: "default" or "player" or "turret" or "vehicle" ? | Defaults to |
Defaults to |