View Single Post
  #15  
Old 01-20-2002, 12:52 PM
madborg
Banned
 
Join Date: Jan 2002
Posts: 322
Default

why can't the server do it?

Ok, I understand that at some point the items are new-- don't exist in the database. The same is true when I spawn a mob -- it doesn't exist in the database either.

But with a couple of simple hooks, couldn't this work?

#script <filename>

and in the script you would have

#spawn .....

#createitem .... or #additem

Of course its possible that I could try to create something that is "bad" but the spawn and createitem routines can deal with that.

Even if later a fancier scripting mechanism went in place, the underlying mechanism would stay the same. Actually I would keep everything in some other format and then run a program to convert to #spawn or #createitem.

Interactively it would work the same way, if you use the #createitem command, then it is persistent. Of course some editing hooks would be good to so that properties could be changed.

Am I talking about the same thing or did i miss the point?
Reply With Quote