|September 22, 2007, 06:13||#1|
Join Date: Sep 2007
Location: Abq - New Mexico
Changes to lib/edit files
so i've been playing Angband a while now. and started working with the lib/edit directory.
is there anywhere where a list of edits can be found?
N:440:& C Bag~
F:SHOW_MODS | EASY_KNOW |
F:WIS | INT | SUST_WIS | SUST_INT
D: Simple, Timeless, and a great place for
D: all your spell books.
i've added some new items like the above to the object.txt
they work, show up as drops ect...
but i want to know how to add the random +'s to the weapon.
it is a sub item of the blunt set. i could not use 21:21:0 so i
skiped ahead to after the artifact 21:50:0
and also where the pval to an object for a flag for WIS or STR come from?
|# 'I' is for basic information. The tval is for the type of item, the
|# sval identifies the subtype and the pval indicates the amount of
|# effect the item has, if applicable (a fixed value: variable pvals
|# are currently hard-coded.)
|* Note that "flags1" contains all flags dependant on "pval" (including
|* stat bonuses, but NOT stat sustainers), plus all "extra attack damage"
|* flags (SLAY_XXX and BRAND_XXX).
How is pval calculated?
i've looked all over the internet for a editing guide to the lib/edit directory with no luck.
anyone have any ideas. Searching the code is a long process.
i've been writing better
##### comments #####
in my .txt files as i learn more but any help would be great.
so far it's alot of trial and error. and a lot of rolling back my version.
Last edited by Iemortal; September 22, 2007 at 07:27.
|September 23, 2007, 05:26||#2|
Join Date: Apr 2007
Location: San Antonio, TX
I don't think you can have random +s in the object.txt, you would have to put it is an ego. Any +s (pval) in object.txt are fixed.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Problem with saving and score files||Skeeblix||Vanilla||3||July 24, 2007 21:38|
|Analysis of the /lib directory and suggested changes.||CJNyfalt||Vanilla||5||June 22, 2007 12:26|