Re: [Pybem-developers] Re: base36!
Brought to you by:
abriggs
|
From: Anthony B. <ab...@ii...> - 2002-06-25 14:43:22
|
At 10:23 PM +0800 25/6/02, Adrian Smith wrote:
>OK, deal, you do the items/skills and I'll do a parser.
>We should be able to read in the items/skills from an XML file.
I would prefer something a little more human-readable/writable, but
it's up to you - maybe we could have some sort of switch to read in
XML/text.
I just think that the syntax (at least for specifying items) would be
better as something like:
skill knight
synonyms knig
effect +lvl combat
+lvl upkeep
requires skills sword riding shield heraldry
items sword horse plate_armour shield
I think it's less readable as something like:
<skillspec>
<synonyms>knig</synonyms>
<effect><bonus addto="combat">+lvl</bonus>
<require type="skill">combat</require>
<require type="skill">sword</require>
<require type="skill">riding</require>
<require type="skill">shield</require>
<require type="skill">heraldry</require>
<require type="item">sword</require>
<require type="item">horse</require>
<require type="item">plate armour</require>
<require type="item">shield</require>
</effect>
</skillspec>
I've expounded on this at length, so I'll shut up now, but just so
you know what I think ;) Feel free to poke your nose into items if
you like...
Ant
--
----------------------------------------------------
HyPEraCtiVE? HeY, WhO aRE YoU cALliNg HypERaCtIve?!
aB...@Ii...
----------------------------------------------------
|