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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this