When you say you stored them in a table, are you saying that you have a
static array defined the way classes are?

If you are, then you won't be able to accomplish editing it that way.  The
problem, of course is that when you statically define an array, it's part
of the code and has to be compiled.

As the others mentioned, you need to have a file that is read into memory
by the mud, and you will have some olc type command that allows you to
manipulate the items in memory. So if you haven't already, you'll want to
set up a data structure to hold the items, such as a linked list. In stock
rom, this would be analagous to how pfiles or area files are used.

>
>
> Hello. I am making a forage system and I have the items stored in the
> table
> depending on the zone they are in. This means that I have to put them in
> by
> hand. I was thinking it would be cool if I made an editor to allow the
> builders
> to place these items themselves. However, I have no clue in order how to
> do
> this, so I decided to post here looking for some general suggestions and
> maybe
> some pseudocode.
>
> The problem for me is having the editor to change the table in the file,
> if I
> could get that done then I could make a custom editor for them!


Reply via email to