|
|
|
|
|
December 12th, 2006, 06:50 PM
|
|
Second Lieutenant
|
|
Join Date: Mar 2004
Location: Gdansk, Poland
Posts: 420
Thanks: 0
Thanked 15 Times in 4 Posts
|
|
You can\'t grep dead trees.
I finished the basic version of necronomicon file. It contains all common spells of all schools (531), but not national ones. Columns: paths(primary first), spell name, research level, research school, battle/ritual.
I tested it with my spellbook script and with the following command:
Code:
egrep -v '(F|W|A|E|S|D|N|B)* [^ ]* [0-9] (Conjuration|Alteration|Enchantment|Construction|H oly|Thaumaturgy|Evocation|Blood_Magic) (battle|ritual)' necronomicon
...but it's not a perfect way, I'm afraid. It found two typos (Conuration, Enchantmen) so there could be more. Please report if you find any. It was a very tedious work, and I occasionaly caught myself writing wrong spell levels or battle instead of ritual (or vice versa).
Dust off your regular expression skills and have some fun ! Also check following linux commands: egrep, awk, wc, diff, sort, uniq, cut, cat, and cowsay. The last one is not installed by default.
And don't forget to praise me.
ToDo:
- national spells
- additional columns: number of effects, range, area of effect, duration, underwater/surface/anywhere, spell type, damage, and other boring stuff.
__________________
Those who do not understand Master Of Magic are condemned to reinvent it - badly.
|
December 12th, 2006, 10:59 PM
|
Corporal
|
|
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
|
|
Re: You can\'t grep dead trees.
Excellent! Thanks, B0rsuk!
__________________
No plan survives contact with the enemy.
--Helmut von Moltke
Have too may pretender files to keep track of? Use catgod to view them.
|
December 12th, 2006, 11:43 PM
|
|
Sergeant
|
|
Join Date: Jan 2004
Location: athens, georgia
Posts: 274
Thanks: 0
Thanked 1 Time in 1 Post
|
|
ANNOUNCEMENT: B0rsuk is new Prophet
I hereby announce to the world that B0rsuk, greatest Hero in the world, slaughterer of the beast, Sorceror of the Necronomicon, is the Prophet of Uh-Nu-Buh.
Good work, my dark jedi.
This will make a lot of people in the mod section happy too, so make sure you post a link to it there as well!!
__________________
--Uh-Nu-Buh, Fire/Death
|
December 12th, 2006, 11:47 PM
|
|
Sergeant
|
|
Join Date: Oct 2006
Posts: 351
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: ANNOUNCEMENT: B0rsuk is new Prophet
Are prophets allowed to have such long titles?
__________________
Just because you're paranoid doesn't mean they're not out to get you.
|
December 12th, 2006, 11:54 PM
|
|
Sergeant
|
|
Join Date: Jan 2004
Location: athens, georgia
Posts: 274
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Re: ANNOUNCEMENT: B0rsuk is new Prophet
Mine are. Don't worry, UninspiredName, you can be my next prophet (after B0rsuk gets smashed by one of my numerous enemies on the forum, we'll have to wait a few turns, then I will make the announcement.)
__________________
--Uh-Nu-Buh, Fire/Death
|
December 13th, 2006, 04:54 AM
|
|
General
|
|
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
|
|
Re: ANNOUNCEMENT: B0rsuk is new Prophet
B0rsuk, to properly honor you, I shall wear the icon you so generously gifted me, just as soon as I get around to equipping it, lazy fat procrastinator that I am.
thank you again!
__________________
You've sailed off the edge of the map--here there be badgers!
|
December 13th, 2006, 01:51 PM
|
Sergeant
|
|
Join Date: Mar 2004
Posts: 304
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: ANNOUNCEMENT: B0rsuk is new Prophet
I'm a little confused as to the purpose of this. What do I do with it?
|
December 13th, 2006, 02:20 PM
|
Colonel
|
|
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: ANNOUNCEMENT: B0rsuk is new Prophet
It's a plain text file, for us Windoze users I've put it in Excel format, much more practical
|
December 13th, 2006, 03:05 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
Re: ANNOUNCEMENT: B0rsuk is new Prophet
Looks good. Since stealing that outright would be bad manners, do I have permission to swipe this for use in the Dom3 DB project if I decide to do spells as well?
Edi
|
December 13th, 2006, 03:25 PM
|
|
Second Lieutenant
|
|
Join Date: Mar 2004
Location: Gdansk, Poland
Posts: 420
Thanks: 0
Thanked 15 Times in 4 Posts
|
|
Re: ANNOUNCEMENT: B0rsuk is new Prophet
You're allowed to do that, but keep in mind I'll add more columns and spells (national) in future. You may have additional work to do later if you use it now.
__________________
Those who do not understand Master Of Magic are condemned to reinvent it - badly.
|
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
|
|
|
|
|