Inherits from PrototypeBase |
icons optional | :: array[IconData] | Can't be an empty array. |
Can't be an empty array. | ||
icon optional | :: FileName | Path to the icon file. |
Path to the icon file. | ||
icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels, e.g. |
The size of the square icon, in pixels, e.g. | ||
icon_mipmaps optional | :: IconMipMapType | Icons of reduced size will be used at decreased scale. |
Icons of reduced size will be used at decreased scale. | ||
default_temperature | :: double | Also the minimum temperature of the fluid. |
Also the minimum temperature of the fluid. | ||
base_color | :: Color | Used by bars that show the fluid color, like the flamethrower turret fill bar in the tooltip, or the fill bar for the fluid wagon tooltip; and for the pipe windows and storage tank fill gauges. |
Used by bars that show the fluid color, like the flamethrower turret fill bar in the tooltip, or the fill bar for the fluid wagon tooltip; and for the pipe windows and storage tank fill gauges. | ||
flow_color | :: Color | Used only for pipe windows or storage tank fill gauges. |
Used only for pipe windows or storage tank fill gauges. | ||
max_temperature optional | :: double | |
heat_capacity optional | :: Energy | Joule needed to heat 1 Unit by 1 °C. |
Joule needed to heat 1 Unit by 1 °C. | ||
fuel_value optional | :: Energy | |
emissions_multiplier optional | :: double | Scales pollution generated when the fluid is consumed. |
Scales pollution generated when the fluid is consumed. | ||
subgroup optional | :: ItemSubGroupID | The value of this property may not be an empty string. |
The value of this property may not be an empty string. | ||
gas_temperature optional | :: double | Above this temperature the |
Above this temperature the | ||
hidden optional | :: bool | Hides the fluid from the signal selection screen. |
Hides the fluid from the signal selection screen. | ||
auto_barrel optional | :: bool | Whether the fluid should be included in the barrel recipes automatically generated by the base mod. |
Whether the fluid should be included in the barrel recipes automatically generated by the base mod. |
type | :: string | Specifies the kind of prototype this is. |
Specifies the kind of prototype this is. | ||
name | :: string | Unique textual identification of the prototype. |
Unique textual identification of the prototype. | ||
order optional | :: Order | Used to order prototypes in inventory, recipes and GUIs. |
Used to order prototypes in inventory, recipes and GUIs. | ||
localised_name optional | :: LocalisedString | Overwrites the name set in the locale file. |
Overwrites the name set in the locale file. | ||
localised_description optional | :: LocalisedString | Overwrites the description set in the locale file. |
Overwrites the description set in the locale file. |
{
type = "fluid",
name = "water",
default_temperature = 15,
max_temperature = 100,
heat_capacity = "0.2KJ",
base_color = { r = 0, g = 0.34, b = 0.6 },
flow_color = { r = 0.7, g = 0.7, b = 0.7 },
icon = "__base__/graphics/icons/fluid/water.png",
icon_size = 64,
icon_mipmaps = 4,
order = "a[fluid]-a[water]"
}