PDA

View Full Version : question on p_class.txt format


Reus
April 9, 2009, 21:22
Hi,
being an absolute beginner in the Angband source code, I have a question on the start-equipment entries ("E:...") in the p_class.txt file:
Why does an entry specify the tval (as text) AND the name of the object of the equipment object? Is the name alone not enough?
Thanks in advance for any help.

PaulBlay
April 9, 2009, 21:39
Hi,
being an absolute beginner in the Angband source code, I have a question on the start-equipment entries ("E:...") in the p_class.txt file:
Why does an entry specify the tval (as text) AND the name of the object of the equipment object? Is the name alone not enough?
Thanks in advance for any help.

No the name alone is not enough. Some names are not unique. (The "Potion of ..." "Scroll of ..." portion is not included in the name).

Reus
April 10, 2009, 08:15
Thank you for the clarification.