Re: [xsrcg-devel] Checking in...
Status: Planning
Brought to you by:
murphymacleod
From: Max N. <max...@ya...> - 2004-11-01 15:47:58
|
On Nov 1, 2004, at 14:29, Jesse Wattenbarger wrote: > All I've coded so far are a few classes for the "main" stuff. Like I > wrote an AttrMod class this morning. I also wrote an elf.py that takes > advantage of the class. I'm fairly new to python as I just picked it > up > the other night. I'm using the online book, www.diveintopython.org. > It > is what really helped me fall in love with the language. I've attached > my elf.py and attr_mod.py to this email just for fun and comments. > I'll > get the svn repository up today, though so that all my code is visible > and so that Max can upload his code. Let me know what you guys think. > If you can't tell by the files, I'm aiming to make it *very* modular. > races can be added simply by creating a race.py file and loading it. I'll have a look at what you did tomorrow (right now I have a coursework assignment to complete, due tomorrow morning ;) ). Meanwhile, here's what I coded. It's not pretty, but it converts EDGE.DAT to XML just fine (although the XML specs are subject to change). The ILNode class can be reused to create other types of XML-based item lists. -- Max maxnoel_fr at yahoo dot fr -- ICQ #85274019 "Look at you hacker... A pathetic creature of meat and bone, panting and sweating as you run through my corridors... How can you challenge a perfect, immortal machine?" |