|
|
|
 |

December 6th, 2006, 09:49 PM
|
 |
General
|
|
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
|
|
Re: Spellbook script (in progress) (Python) (fun!!)
Quote:
B0rsuk said:
Manual is disappointing in this aspect.
|
I completely agree... the way spells are listed in the manual should have been a decision by the whole community, not one individual.
__________________
There can be only one.
|

December 6th, 2006, 09:56 PM
|
 |
Second Lieutenant
|
|
Join Date: Mar 2004
Location: Gdansk, Poland
Posts: 420
Thanks: 0
Thanked 15 Times in 4 Posts
|
|
Re: Spellbook script (in progress) (Python) (fun!!
That's not what I meant. There are LOTS of spells, some useful and some not, and the way paths and research schools interact means you spend a LOT of time trying to figure out which spells you can actually cast.
I hope to remedy this.
__________________
Those who do not understand Master Of Magic are condemned to reinvent it - badly.
|

December 6th, 2006, 10:23 PM
|
 |
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: Spellbook script (in progress) (Python) (fun!!
The spells are listed by path. Fire 1, Fire 2, Fire 3... etc. AFAIK, it's the best way to find out just this kind of things. Chhecking three pages in the manual would probably give the same answers yous script does, unless it lets you only look through spesific schools.
In-game, this isn't that hard either. You can browse with 'f', 'd' and 'n' in all screens where spells are listed.
Your script does help those who don't appreciate the manual, but I've been using it extensively for a while now. IMO, it's great.
|

December 8th, 2006, 09:25 PM
|
 |
Second Lieutenant
|
|
Join Date: Mar 2004
Location: Gdansk, Poland
Posts: 420
Thanks: 0
Thanked 15 Times in 4 Posts
|
|
Re: Spellbook script (in progress) (Python) (fun!!
I updated attachment in the first post.
New in version 0.2:
- spellbook.py renamed to pathspells.py
- code cleanup or obfuscation, depending on how you look at it.
- slightly different output by default
- new script: nationspells.py . At the moment just run it without any arguments. It will print you spells castable by each mage listed in mages data file. It works very well, but it doesn't take randoms into account at all.
- new data file: mages . So far, contains mages for Machaka, Ermor, Pythium, Arcoscephale, Man - all from middle era. Won't contain pure priests: waste of time, it's not hard to remember their spell list. But contains priest/mage hybrids. Note: the file has variable amount of columns, which may present a difficulty in parsing. Last optional columns are magic randoms. See for yourself.
- necronomicon data file updated: added Conjuration, Construction, and Holy spells. New column: battle/ritual.
Both data files are nicely grepable.
Basic functionality is alredy here. I'm especially proud from nationspells.py . It still needs a lot of work (randoms), but I think I'll focus on finishing data files now.
You need to put all the files in the same directory, because it's all hardcoded at the moment.
__________________
Those who do not understand Master Of Magic are condemned to reinvent it - badly.
|

December 9th, 2006, 10:51 AM
|
 |
Sergeant
|
|
Join Date: Oct 2003
Location: Vienna, Austria, Europe
Posts: 234
Thanks: 62
Thanked 11 Times in 6 Posts
|
|
Re: Spellbook script (in progress) (Python) (fun!!
nice update. I start to like your program.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|