diff options
-rw-r--r-- | devtools/create_xeen/constants.cpp | 3 | ||||
-rw-r--r-- | dists/engine-data/xeen.ccs | bin | 43729 -> 43748 bytes | |||
-rw-r--r-- | engines/xeen/locations.cpp | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/devtools/create_xeen/constants.cpp b/devtools/create_xeen/constants.cpp index db1c73d063..81ca71c130 100644 --- a/devtools/create_xeen/constants.cpp +++ b/devtools/create_xeen/constants.cpp @@ -952,7 +952,8 @@ const char *const EXPERIENCE_FOR_LEVEL = const char *const LEARNED_ALL = "%s has learned all we can teach!"; -const char *const ELIGIBLE_FOR_LEVEL = "%s is eligible for level %d."; +const char *const ELIGIBLE_FOR_LEVEL = "%s is eligible for level %u.\x3l\n" + "\v081Cost\x3r\t000%u"; const char *const TRAINING_TEXT = "\x0D\x03""cTraining Options\n" diff --git a/dists/engine-data/xeen.ccs b/dists/engine-data/xeen.ccs Binary files differindex 801168a2ee..767b7ed5ed 100644 --- a/dists/engine-data/xeen.ccs +++ b/dists/engine-data/xeen.ccs diff --git a/engines/xeen/locations.cpp b/engines/xeen/locations.cpp index 95bb7c7649..7934c05ddf 100644 --- a/engines/xeen/locations.cpp +++ b/engines/xeen/locations.cpp @@ -1043,8 +1043,9 @@ Common::String TrainingLocation::createLocationText(Character &ch) { msg = Common::String::format(Res.LEARNED_ALL, ch._name.c_str()); } else { // Eligble for level increase + uint cost = ch._level._permanent * ch._level._permanent * 10; msg = Common::String::format(Res.ELIGIBLE_FOR_LEVEL, - ch._name.c_str(), ch._level._permanent + 1); + ch._name.c_str(), ch._level._permanent + 1, cost); } return Common::String::format(Res.TRAINING_TEXT, msg.c_str(), |