add Japanese item names to discoveries list
When playing as a Samurai, add things like "osaku" to the discoveries list even though they don't have separate descriptions to be used when not yet discovered. Non-magic ones are pre-discovered and players can now use the '\' command to figure out what things like "tanko" mean without resorting to '/?'. "wooden harp" has been getting changed to "koto (harp)"; make that be | koto [wooden harp] (koto) "magic harp" has been staying as "magic harp (harp)"; add it to the list of Japanese item names. Since it's magic it isn't pre-discovered. Once discovered it becomes | magic koto [magic harp] (koto) Those two needed special case handling, none of the other items did aside from forcing them to be discoverable when lacking descriptions. The discoveries list now has things like | wakizashi [short sword] | naginata [glaive] (single-edged polearm) | gunyoki [food ration] if--and only if--the hero is a Samurai.
This commit is contained in:
@@ -1977,6 +1977,7 @@ extern char *makeplural(const char *);
|
||||
extern char *makesingular(const char *);
|
||||
extern struct obj *readobjnam(char *, struct obj *);
|
||||
extern int rnd_class(int, int);
|
||||
extern const char *Japanese_item_name(int, const char *);
|
||||
extern const char *armor_simple_name(struct obj *);
|
||||
extern const char *suit_simple_name(struct obj *);
|
||||
extern const char *cloak_simple_name(struct obj *);
|
||||
|
||||
Reference in New Issue
Block a user