Types/MinableProperties: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
m (removed lang template)
Line 1: Line 1:
{{Languages}}
MinableProperties are specified by a list of [[Types/string]]
MinableProperties are specified by a list of [[Types/string]]



Revision as of 14:16, 2 September 2017

MinableProperties are specified by a list of Types/string

mining_time

How long it takes to mine this object.

Influenced by hardness - higher hardness means longer mining time

hardness

An axe will lose this much durability when the item is mined.

An axe is not able to mine an object with a hardness equal or greater than its mining power.

Influences mining time - higher hardness means longer mining time

result

Which item is dropped when this is mined

count

How many of result are dropped

mining_particle

Which set of particles to use.

wooden-particle Wooden-particle.gif
coal-particle Coal-particle.gif
stone-particle Stone-particle.gif
shell-particle Shell-particle.gif
iron-ore-particle Iron-ore-particle.gif
copper-ore-particle Copper-ore-particle.gif

Example

  minable = { mining_time = 1, hardness = 0.5, result = "raw-wood", count = 5, mining_particle = "wooden-particle"}