Re: [Pybem-developers] boojum
Brought to you by:
abriggs
From: Anthony B. <ab...@ii...> - 2002-06-18 02:11:41
|
At 6:24 PM +0800 17/6/02, Adrian Smith wrote: >I think supporting Legends as a second game would be a good test, >because it has a lot of feature richness but is limited by how it >is hardcoded. A more flexible Legends would be amazing. >One thing that it does do fairly well is separate the engine from >the game (module). > >Another game you might want to have a look at is Eldritch, >which Mark Thomas wrote after playing Atlantis, as basically a >better Atlantis. I think he has succeeded in many ways, though it >is more complex and basically a headache keeping track of all your >stuff (to train a knight you need to have heroes with a variety of >skills - sword, riding, manoever, armor, shield; plus magic to >enchant up your knights; then to make the gear you need to gather >iron, coal, make steel, hides -> leather, hors -> warhorse, >oak -> make lance, make armour, make sword, make shield, make ...). Yeah, all this will be (relatively) trivial to do if we can get items/skills working the way I'd like. To do that, we need two things: coding for the items, and a general-purpose parser (for the config files). Once we've got those, it's probably going to be a case of adding lines to the config file: skill sword synonyms swor effect +lvl combat requires item sword item sword effect +2 combat requires skill sword or skill knight synonyms knig effect +lvl combat effect +lvl upkeep requires skill sword requires skill riding requires skill shield requires skill heraldry requires item sword requires item horse requires item plate_armour requires item shield If you were after a general case, you could have something like: skill combat effect +lvl combat requires item weapon item sword synonyms swor type weapon effect +2 combat requires skill combat item axe synonyms ax type weapon, tool effect +1 combat, +1 lumb, +1 weap etc. For readability, we could probably just read lines until we get to the next item/skill, and do the same for synonyms, effects and requirements. So, you could rephrase the knight skill as: skill knight synonyms knig effect +lvl combat +lvl upkeep requires skills sword riding shield heraldry items sword horse plate_armour shield That looks a bit more readable ;) >I like what you say about RAD Python, it's great that you can throw >something together to flesh out the design, then keep refactoring it >continuously. Yeah, though I really need to do more unit tests, as I found out after the last couple of commits ;) Ant -- ---------------------------------------------------- HyPEraCtiVE? HeY, WhO aRE YoU cALliNg HypERaCtIve?! aB...@Ii... ---------------------------------------------------- |