Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old September 13, 2010, 12:23   #1
Hajo
Adept
 
Hajo's Avatar
 
Join Date: Aug 2010
Posts: 142
Hajo is on a distinguished road
How does flavor mapping work?

Flavor mapping seems to have changed since Angband 2.9.3. Back then there have been blocks of 16 entries for each of the flavored item sorts (potions, scrolls, wands, staves ...)

Now I tried to make a flavor mapping for my Iso-UnAngband project, and I see that newer Angband versions have a list of several hundred "L:n:att:chr" entries as flavor mapping. But how do I know which of these are rings, potions, amulets ... or all the the other sorts of flavored things?

Also, there had been mappings for spell effects. Are those in there now, too, and if yes, where are they?
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem
Hajo is offline   Reply With Quote
Old September 13, 2010, 13:35   #2
andrewdoull
Unangband maintainer
 
andrewdoull's Avatar
 
Join Date: Apr 2007
Location: Sydney, Australia
Age: 45
Posts: 872
andrewdoull is on a distinguished road
Quote:
Originally Posted by Hajo View Post
Flavor mapping seems to have changed since Angband 2.9.3. Back then there have been blocks of 16 entries for each of the flavored item sorts (potions, scrolls, wands, staves ...)

Now I tried to make a flavor mapping for my Iso-UnAngband project, and I see that newer Angband versions have a list of several hundred "L:n:att:chr" entries as flavor mapping. But how do I know which of these are rings, potions, amulets ... or all the the other sorts of flavored things?
You need to check against flavor.txt in lib\edit. That'll give you the corresponding tval and possibly sval for the flavor. Tvals are in defines.h.

Quote:
Also, there had been mappings for spell effects. Are those in there now, too, and if yes, where are they?
The graf-xxx.prf files have the definitions.

Andrew
__________________
The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
In UnAngband, the level dives you.
ASCII Dreams: http://roguelikedeveloper.blogspot.com
Unangband: http://unangband.blogspot.com
andrewdoull is offline   Reply With Quote
Old September 13, 2010, 14:40   #3
Hajo
Adept
 
Hajo's Avatar
 
Join Date: Aug 2010
Posts: 142
Hajo is on a distinguished road
Ok, seems easy enough now Thanks for the help!
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem
Hajo 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
random flavor question Hariolor Vanilla 10 September 21, 2009 07:25
Ring of Element - How Do They Work? ElectricPaladin Vanilla 7 May 19, 2009 00:12
Does object recall work? d_m Vanilla 13 April 21, 2009 08:17
I can't seem to get Angband to work kaicharlton Vanilla 4 September 17, 2007 01:30
getting graphics to work arcane Vanilla 5 September 8, 2007 23:39


All times are GMT +1. The time now is 20:22.


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