Jump to content

Recommended Posts

Hi!

I would like to modify the shadowdiggers to dig grass, saplings and berry bushes but I couldn't find where it checks for what it digs up. In the SGshadowwaxwell.lua at the actionhandlers it checks for prechop, premine and predig tags but I'm not sure what it depends on if something has these tags and also it's not sure if I'm searching for the solution in the good file.

If anyone can tell me how it works, I would appreciate it.

Shadowdiggers check what they dig up in shadowwaxwellbrain.lua in the FindEntityToWorkAction function.

There is a local table DIG_TAGS which has the tags of entities that should be dug up. To change this, you will need to change the brain. Unfortunaly, I'm don't know that much about brains, perhaps somebody else can help you there :)

 

 

  • Like 2

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
×
  • Create New...