Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old August 10, 2012, 07:03   #1
delinas
Rookie
 
Join Date: Aug 2012
Posts: 2
delinas is on a distinguished road
Custom Prompts

I am wondering if it is possible to create custom prompts when my health drops to a certain point. I often forget about spells, potions and more often wands that might prevent me from dying. For example, when my health gets to a certain point, I would like a message saying "Wand? Spell? Potion?" instead of the default warning. Thanks in advance!
delinas is offline   Reply With Quote
Old August 10, 2012, 07:57   #2
kaypy
Adept
 
Join Date: May 2009
Posts: 156
kaypy is on a distinguished road
Not without recompiling your own version. Although if you can compile your own build (see instructions on the dev forum) then its a very trivial change- just seach for "Low hitpoint warning" in the code and replace it with your own string. Its in spells1.c for some reason...
kaypy is offline   Reply With Quote
Old August 10, 2012, 08:08   #3
delinas
Rookie
 
Join Date: Aug 2012
Posts: 2
delinas is on a distinguished road
Thanks so much. I'll see how it goes in the morning.
delinas is offline   Reply With Quote
Old August 10, 2012, 22:16   #4
Monkey Face
Rookie
 
Join Date: Feb 2009
Posts: 22
Monkey Face is on a distinguished road
What you can do is to go to the Options Menu (= sign) and option H is a hitpoint warning level. Options are 0 to 9. Whatever number you choose, you get a warning when your hitpoints drop below 10 * that percentage of your maximum. So if you choose a 5, you'll get a warning every time you take damage (including continuing damage such as cuts and poison) where your hit points fall below 50% of your maximum. If you choose a 9, the warning will show up when you are at less than 90% of your maximum.

If you do not take any damage on a turn, you won't get a warning, even if you are below the threshold.
Monkey Face 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
Idea - Shops with custom-built items and changing prices ekolis Variants 4 April 5, 2012 09:15
Custom race question Zambaku Vanilla 14 June 3, 2011 14:13
Custom creatures :D bpleshek Variants 5 September 6, 2008 23:41


All times are GMT +1. The time now is 08:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.