[WF-General] Earthworms as bait for fishing

Max Randor max.randor at googlemail.com
Sat May 30 04:38:54 PDT 2009

One point you might want to consider is that modeling lots of earth
worms across the entire land surface of the world is going to take a
lot of computational power even if it would be realistic.
It would probably be better if the mound of earth had in its
constructor a probability of having earth worms and so the number of
earth worms would vary from mound of dirt to mound of dirt and so be
realistic but without having thousands of earthworms being stored in
The only difference in this from your second option is that instead of
the number of earthworms that were under that patch of ground being
added to the pile of dirt the number is instead randomly generated
with a suitable probability distribution.

It has however been a good while since I did any Worldforge related
stuff and so I may be very wrong.

I am glad to see the Worldforge seems to be doing well.


Max Randor

2009/5/30 Amey Parulekar <amey.par at gmail.com>:
> Hi,
> I'm currently working on the AI for fish, and while the bugs are being
> ironed out I'm thinking about how to implement the task of obtaining
> earthworms for bait. There are two approaches that come to mind:
> 1) A simple task in which the earthworms would be immobile and placed
> a few inches into the ground. The player clicks on the ground and
> selects "gather_bait()" and the some earthworms are added to the
> player's inventory and removed from the ground
> 2) The earthworms move around inside the ground, and the player digs
> up a mound of dirt with a shovel, and then selects "gather_bait()" on
> the mound, and all of the earthworms that were present in the patch
> that the player dug up will be added to the player's inventory.
> The first approach is not so simulationist but is very simple to
> implement, whereas the second one is very realistic and
> correspondingly tougher to implement. What do you guys think? Which
> one would be better? And if you have a third idea or suggestions as to
> how I can improve these ideas, those would be very much welcome :)
> Amey
> _______________________________________________
> General mailing list
> General at mail.worldforge.org
> http://mail.worldforge.org/lists/listinfo/general

More information about the General mailing list