Prototype/MiningTool: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
LazyFridge (talk | contribs)  Created page with "==basics== A tool to mine ore out of the ground, breaks rocks, and damage enemies. ==properites== ===type=== '''type''': Types/string Must be "mining-tool" ===action=== Te..."  | 
				LazyFridge (talk | contribs) mNo edit summary  | 
				||
| Line 1: | Line 1: | ||
==basics==  | ==basics==  | ||
A tool to mine ore out of the ground,   | A tool to mine ore out of the ground, break rocks, and damage enemies.  | ||
==properites==  | ==properites==  | ||
===type===  | ===type===  | ||
Revision as of 06:25, 15 July 2017
basics
A tool to mine ore out of the ground, break rocks, and damage enemies.
properites
type
type: Types/string Must be "mining-tool"
action
Tells the mining tool what to do when the player uses it.
example
   {
     type="direct",
     action_delivery =
     {
       type = "instant",
       target_effects =
       {
         type = "damage",
         damage =
         {
           amount = 8,
           type = "physical"
         }
       }
     }
   },