Types/MinableProperties: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
ForFoxAche (talk | contribs)  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 ..."  | 
				No edit summary  | 
				||
| 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 17:19, 29 August 2016
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 | 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"}