Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old June 19, 2013, 10:13   #1
Hajo
Adept
 
Hajo's Avatar
 
Join Date: Aug 2010
Posts: 142
Hajo is on a distinguished road
Different symbols for wands and rods, how?

In my variant I'm using a custom font with additional symbols, and I've been trying to give wands and rods separate symbols. But I hit a config part that confuses me - the flavor definitions.

I started by giving wands the symbolo no. 221:

Code:
K:wand:Magic Missile:128:221
K:wand:Lightning Bolts:128:221
K:wand:Frost Bolts:128:221
K:wand:Fire Bolts:128:221
...
Then I gave rods rthe symbol no. 222:

Code:
K:rod:Treasure Location:128:222
K:rod:Door/Stair Location:128:222
K:rod:Trap Location:128:222
K:rod:Detection:128:222
...
Finally I noticed the flavor pref section and didn't know what to enter there:

Code:
# Item flavor: Pewter
L:172:130:45

# Item flavor: Ivory
L:171:129:45

# Item flavor: Lead-Plated
L:170:130:45

...
45 was the old symbol for both wands and rods ... now what do I enter there if I want wands to have symbol no. 221 and rods to have smybol no. 222?
__________________
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 June 19, 2013, 10:40   #2
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,850
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Hajo View Post
Finally I noticed the flavor pref section and didn't know what to enter there:

Code:
# Item flavor: Pewter
L:172:130:45

# Item flavor: Ivory
L:171:129:45

# Item flavor: Lead-Plated
L:170:130:45

...
45 was the old symbol for both wands and rods ... now what do I enter there if I want wands to have symbol no. 221 and rods to have smybol no. 222?
I'm confused about this question because the answer seems really obvious to me - replace 45 with 221 for wands and with 222 for rods. Is there something I'm missing?
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old June 19, 2013, 13:15   #3
Hajo
Adept
 
Hajo's Avatar
 
Join Date: Aug 2010
Posts: 142
Hajo is on a distinguished road
It seemed to me that rods and wands use the same flavours, and so I couldn't separete them. If the use different flavors, then the question is, how can I tell which flavor from the list is a rod flavor and which one is a wand flavor?

I have exported the flavors to a pref file with the "dump visuals" command previously, this was the base for my new pref file.
__________________
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 June 19, 2013, 14:56   #4
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,417
Derakon is on a distinguished road
They use the same flavors because of the 45 in the flavor definitions file. Copy the list of wand/rod flavors, and make one list use 221 and the other 222 (where the 45 is in the original list).
Derakon is offline   Reply With Quote
Old June 20, 2013, 09:46   #5
Hajo
Adept
 
Hajo's Avatar
 
Join Date: Aug 2010
Posts: 142
Hajo is on a distinguished road
Cool, thanks a lot
__________________
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
Cool wands/staves/rods in variants? Mikko Lehtinen Variants 7 October 13, 2011 06:58
Feature request: lightning bolt wands and rods should work like the spell bron Vanilla 2 December 20, 2009 00:33
Wands / Rods of xxx Bolt AceRimmer Vanilla 8 August 2, 2009 06:18
Utility of Rods, Wands Cauldron Vanilla 12 June 23, 2009 17:06
Wands and Staves? Larvitz Vanilla 3 January 16, 2009 22:14


All times are GMT +1. The time now is 10:09.


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