… | |
… | |
1235 | if (spell->subtype == SP_CHANGE_ABILITY) |
1235 | if (spell->subtype == SP_CHANGE_ABILITY) |
1236 | buf.printf ("\nH<The effect will last about %.10g seconds.>", |
1236 | buf.printf ("\nH<The effect will last about %.10g seconds.>", |
1237 | TICK2TIME (change_ability_duration (spell, this))); |
1237 | TICK2TIME (change_ability_duration (spell, this))); |
1238 | } |
1238 | } |
1239 | |
1239 | |
|
|
1240 | // Display a hint about inscribable items [empty books] |
|
|
1241 | // This includes the amount of text they can hold. |
|
|
1242 | if (type == INSCRIBABLE) |
|
|
1243 | { |
|
|
1244 | if (other_arch && other_arch->type == SCROLL) |
|
|
1245 | buf.printf ("\nH<You can use the inscription skill to inscribe a spell into it.>"); |
|
|
1246 | else |
|
|
1247 | buf.printf ("\nH<You can use the inscription skill to inscribe text into it. It has room for up to %d characters.>", |
|
|
1248 | weight_limit); |
|
|
1249 | } |
|
|
1250 | |
1240 | buf << '\n'; |
1251 | buf << '\n'; |
1241 | |
1252 | |
1242 | // the dungeon master additionally gets a complete dump |
1253 | // the dungeon master additionally gets a complete dump |
1243 | if (who && who->flag [FLAG_WIZLOOK]) |
1254 | if (who && who->flag [FLAG_WIZLOOK]) |
1244 | { |
1255 | { |