Types/MinableProperties: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "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 ...")
 
(Removed old prototype docs)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
MinableProperties are specified by a list of [[Types/string]]
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/MinableProperties.html https://lua-api.factorio.com/latest/types/MinableProperties.html]


== mining_time ==
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
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
|[[File:wooden-particle.gif]]
|-
|coal-particle
|[[File:coal-particle.gif]]
|-
|stone-particle
|[[File:stone-particle.gif]]
|-
|shell-particle
|[[File:shell-particle.gif]]
|-
|iron-ore-particle
|[[File:iron-ore-particle.gif]]
|-
|copper-ore-particle
|[[File:copper-ore-particle.gif]]
|}
== Example ==
  minable = { mining_time = 1, hardness = 0.5, result = "raw-wood", count = 5, mining_particle = "wooden-particle"}

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/MinableProperties.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.