Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Tools types


darkhog
 Share

Recommended Posts

Yea, but how to add/remove tool types. I know where to set them. I just don't know where to create/edit them.

I need few more tool types that the ones provided with EO (Hatchet, Pickaxe and Rod), specifically Enchanted Pickaxe and Enchanted Hatched, so magical resources can only be mined with enchanted pickaxes, not the normal ones. unfortunately I don't know where to edit tool types (not tools, they're edited in Items, but their types).
Link to comment
Share on other sites

Go to your client, and go to frmEditor_Item. Look for cmbTool, and click on it. Go into its properties and look for the "list" property. Add whatever tool type you want.

Now look for Private Sub scrlTool_Change()

Add another case and add there your new tool. For example,

```

Select Case scrlTool.Value

Case 0

Name = "None"

Case 1

Name = "Hatchet"

Case 2

Name = "Rod"

Case 3

Name = "Pickaxe"

Case 4

Name = "New Tool"

End Select

```

Then save and compile. Enjoy!
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...