Skip to content
Blake-The-Terraria-Modder edited this page Aug 20, 2011 · 1 revision

For this I will use the copper picaxe but there is no reason why you can't use anything else!

In the item.cs add

public static int copper = 0x23;    

Then find copper picaxe and change

this.pick = 0x23;    

to

 this.pick = copper;     

Then in your on-chat function add

if (command == "instantmine")
                {
                    if (parameter == "on")
                    {
                        Item.copper = 100000;
                    }
                    if (parameter == "off")
                    {
                        Item.copper = 0x23;
                    }
                }    

Now if you type "/instantmine on|off"... Well you finish that

Clone this wiki locally