Go Back   Angband Forums > Angband > Vanilla

Thread Tools Display Modes
Old September 22, 2007, 06:13   #1
Join Date: Sep 2007
Location: Abq - New Mexico
Age: 47
Posts: 5
Iemortal is on a distinguished road
Question 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~
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.
Iemortal is offline   Reply With Quote
Old September 23, 2007, 05:26   #2
DaJAngband Maintainer
will_asher's Avatar
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,124
Donated: $10
will_asher is on a distinguished road
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.
will_asher is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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

All times are GMT +1. The time now is 02:56.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.