Re: [NEW] zone files parser

From: Torgny Bjers (artovil@arcanerealms.org)
Date: 10/29/02


From: "Andrew Ermishin" <shicoy@MAIL.RU>
> How about writing a new parser for zone-files? Something like this:
> NUMBER_FIELD number
> STRING_FIELD "string"
> "or continue string"
>
> xxx.MOB
> #
> VNUM 100
> ALIAS "big red dragon"
> NAME "Big red dragon flying this"
> ...
> HIT "1d25+600"
> DAMAGE "1d5+25"
> POSITION 7
> LOAD_EQ vnum_obj : wear_position : precent
> LOAD_INV vnum_obj : precent
>
> #
> next mobiles

Well, the only real thing you actually accomplish by this is to increase the
size of your world files.  If you want truly readable zone files you should
go with XML instead, although that will eat memory and diskspace too, but it
will be far easier to write offline rooms with, among other things.

Regards,
/Torgny

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT