Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old September 13, 2009, 18:29   #1
tummychow
Apprentice
 
Join Date: Sep 2009
Posts: 93
tummychow is on a distinguished road
edit files?

I was fiddling with the edit files to add some new artifacts (they were cheap and unfair. I play Angband for the fun of it, not to boast that I won!) and such, and I wanted some clarification on some of the edit functions.
ONE: How do you add ring or amulet artifacts? I found some related bits in the objects edit file but I'm not sure I understand fully. And is there *any* way to exceed the 15-piece limit on those special artifacts?
TWO: How do I examine the contents of spellbooks and add new spells, or edit the effect of existing spells? The spellbook edit file only lets me edit the mana costs and fail rates of the spells already present.
THREE: Can I every modify the shops to increase the slots in them? In particular, can I expand my house to hold more items?
tummychow is offline   Reply With Quote
Old September 13, 2009, 18:31   #2
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,603
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by tummychow View Post
I was fiddling with the edit files to add some new artifacts (they were cheap and unfair. I play Angband for the fun of it, not to boast that I won!) and such, and I wanted some clarification on some of the edit functions.
ONE: How do you add ring or amulet artifacts? I found some related bits in the objects edit file but I'm not sure I understand fully. And is there *any* way to exceed the 15-piece limit on those special artifacts?
TWO: How do I examine the contents of spellbooks and add new spells, or edit the effect of existing spells? The spellbook edit file only lets me edit the mana costs and fail rates of the spells already present.
THREE: Can I every modify the shops to increase the slots in them? In particular, can I expand my house to hold more items?
All of those have to be done in code, I'm afraid.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old September 13, 2009, 21:38   #3
Pete Mack
Veteran
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 2,399
Donated: $40
Pete Mack is on a distinguished road
Quote:
Originally Posted by takkaria View Post
All of those have to be done in code, I'm afraid.
I don't think you actually need to add the SVALS to tvalsval.h--those names are never actually used; they are just there to keep track.)

But you do need to create generic INSTA_ART objects in object.c, with new svals. (Looking at tvalsval.h 39-49 and 56+ are available for rings, 55+ are available for amulets.)

And you may need to modify limits.txt
Pete Mack is offline   Reply With Quote
Reply


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
Editing lib/edit files moonsdad Vanilla 0 November 9, 2008 11:48
Let me edit the sticky in the Vanilla forum? takkaria Oook! 4 January 26, 2008 18:10
Edit File For Dungeon Generation? Zero Vanilla 3 January 9, 2008 19:17
making a semi-variant (more talk about modifying the /edit .txt files) will_asher Variants 20 December 2, 2007 11:38
Changes to lib/edit files Iemortal Vanilla 1 September 23, 2007 06:26


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


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.