Sign in to follow this  
konsul

removes forage

Recommended Posts

 

Everything can be found in the grass. If you turn off the Foraging, players will begin to plant gardens and sell products of the garden. I am looking for a specialist who can make such a mod. Ready to pay a fee

Edited by konsul

Share this post


Link to post
Share on other sites

But how will players get the items to grow in gardens in the first place?  Where do the first potato come from if it can't be foraged for?  This seems like an odd request as no one is going to be foraging for thousands of potato's anyway as farming and gardening are already better than foraging for getting large amounts of this stuff anyway.

Share this post


Link to post
Share on other sites

In real life, you cannot find everything in the grass. You must first buy. The player will buy the first potato in the capital and will propagate it.

Share this post


Link to post
Share on other sites

This is really very simple, might be a good mod for a beginner to try.

 

in Server.java you will find

  public static boolean isForagable(int tilex, int tiley) {
    int value = flagsMesh.getTile(tilex, tiley);
    return (value & 0x40) == 64;
  }

Hook into that method and make it always return false. With that change the game will always say the tile can't be foraged and so you wouldn't even get the forage option as an action.

Share this post


Link to post
Share on other sites

Cuddles Thank you very much. Those who make mods, it became clear what to do,but I do not know how to make a mod . I did a mod for men of war, Arma, but Wurm for me is not clear at all. The most important thing is to write a file .class

Edited by konsul

Share this post


Link to post
Share on other sites

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
Sign in to follow this