Prototype/MiningTool

From Official Factorio Wiki
Revision as of 06:24, 15 July 2017 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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"
         }
       }
     }
   },