Resource gathering

Place for questions and answers for all newcomers and new coders. This is a free for all forum, no question is too stupid and to noob.
Post Reply
greasontim
Posts: 73
Joined: Tue Feb 15, 2011 3:14 pm

Resource gathering

Post by greasontim »

So working on a text base MMO.
But hitting a small issue, how to allow the players to gather resources for crafting........

1) Allow purchasing of resources through store
2) Salvage equipment and get one the crafting resources of that item (1/X, and only able to get 50% of that resource back)
3) Monster drops

I'll take any other suggestions on how to do this as well.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Resource gathering

Post by Jackolantern »

I have always liked getting resources from the world itself (such as wood cut from trees, metals from mining veins, etc.) plus rare resources from monster drops (like caterpillar silk, monster bones, shells, etc.). The only thing with PBBGs though is that you have to make sure resource nodes aren't mindless to gather from or players will easily make a JS bot to do it for them.
The indelible lord of tl;dr
greasontim
Posts: 73
Joined: Tue Feb 15, 2011 3:14 pm

Re: Resource gathering

Post by greasontim »

the question comes down to then, how to pull off gathering from the world map in a text based game.

Edit: Guess I could make a thing that does a random number to pick the type of resource then what it is if there is any in that location.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Resource gathering

Post by Jackolantern »

That sounds good! :cool:
The indelible lord of tl;dr
greasontim
Posts: 73
Joined: Tue Feb 15, 2011 3:14 pm

Re: Resource gathering

Post by greasontim »

Jackolantern wrote:That sounds good! :cool:
Which sucks, cause I have to write all the code for the world now....... and the battle system isnt event ready yet XD
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Resource gathering

Post by Jackolantern »

Just lay out a good plan beforehand. Nothing makes coding go smoother than having a plan on how things will fit together :cool:
The indelible lord of tl;dr
User avatar
Callan S.
Posts: 2042
Joined: Sun Jan 24, 2010 5:43 am

Re: Resource gathering

Post by Callan S. »

Perhaps just give a text list of locations the character can visit and search for resources. Various places give different resources - like the forest will more likely give firewood than the desert, for example.

Put a time limit on it between salvage expeditions and that's a pretty good method.
Post Reply

Return to “Beginner Help and Support”