Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 9, 2008, 17:25   #1
warlin
Rookie
 
Join Date: Sep 2008
Posts: 22
warlin is on a distinguished road
macro - light thee dark roomie!

I've been trying to create a macro that lights up my surrounding.

All my light items are inscribed by 3, e.g.

rod of illumination {z3}
staff of light {r3}
scroll of light {u3}
phial {A3}

I want to have a macro that tries to activate 3, then tries rods 3, then staff 3 then lastly a scroll 3.

That way I will have a macro that will last me up through the various stages of a character levels.

I seldom (never) have more than one set of light source, but it doesnt hurt if the macro tries all 4 of them

I tried with:

A3\ez3\eu3\er3\e

But both the activation and the read scroll doesnt clear itself with the \e, so it stops.
A z3\eu3\e works though.
__________________
RIP: Sleuthapple III

Last edited by warlin; October 10, 2008 at 11:19.
warlin is offline   Reply With Quote
Old October 10, 2008, 08:41   #2
warlin
Rookie
 
Join Date: Sep 2008
Posts: 22
warlin is on a distinguished road
Quote:
Originally Posted by warlin View Post
A z3\eu3\e works though.
correction that only works if you have no rods...

so I'm back to square one.

Anyone know how to do this?
__________________
RIP: Sleuthapple III
warlin is offline   Reply With Quote
Old October 10, 2008, 13:18   #3
Psi
Knight
 
Join Date: Apr 2007
Location: Surrey, UK
Age: 45
Posts: 870
Psi is on a distinguished road
If it just isn't clearing the messages, then using multiple \e between the different attempts should work.
Psi is offline   Reply With Quote
Old October 10, 2008, 18:26   #4
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,201
Donated: $40
Pete Mack is on a distinguished road
psi is right. But more importantantly, it's dangerous to make a
Command that may use multiple turns, especially if a likely sideeffect of the first action is to wake up a potentially dangerous monster. It's not that unlikely to be carrying both the phial and a rod of illumination at the same time.
Pete Mack is offline   Reply With Quote
Old October 11, 2008, 12:22   #5
warlin
Rookie
 
Join Date: Sep 2008
Posts: 22
warlin is on a distinguished road
Quote:
Originally Posted by Psi View Post
If it just isn't clearing the messages, then using multiple \e between the different attempts should work.
Nope doesnt.

I changed macro to


A3\e\e\ez3\e\e\eu3\e\e\er3\e\e\e

got no activation items, but I got a staff of light, now macro stops at "zap which rod?"

and yes I got an uninscribed rod of light.....
__________________
RIP: Sleuthapple III
warlin is offline   Reply With Quote
Old October 11, 2008, 12:48   #6
Psi
Knight
 
Join Date: Apr 2007
Location: Surrey, UK
Age: 45
Posts: 870
Psi is on a distinguished road
Quote:
Originally Posted by warlin View Post
Nope doesnt.

I changed macro to


A3\e\e\ez3\e\e\eu3\e\e\er3\e\e\e

got no activation items, but I got a staff of light, now macro stops at "zap which rod?"

and yes I got an uninscribed rod of light.....
You are quite right. If you have no rods in your inventory, then it does work, but if you have a rod, then it refuses to register the \e. Not sure what you can do about that.
Psi is offline   Reply With Quote
Old October 11, 2008, 13:15   #7
warlin
Rookie
 
Join Date: Sep 2008
Posts: 22
warlin is on a distinguished road
Quote:
Originally Posted by Psi View Post
You are quite right. If you have no rods in your inventory, then it does work, but if you have a rod, then it refuses to register the \e. Not sure what you can do about that.
no macro shortcut that simulates the ESC key?
That would solve it.
__________________
RIP: Sleuthapple III
warlin 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
Macro problem Zero Vanilla 2 June 20, 2008 14:52
AAR - Don't Forget to Turn Out the Light ShinX3 AAR 3 November 6, 2007 08:09
Light up my life - or more correctly corridors ChrisJones74 Vanilla 2 September 12, 2007 13:26
A use for those potions of cure light wounds (and others) ekolis Vanilla 5 July 19, 2007 15:50
Light weapons should be harder to enchant to-dam, heavy ones to-hit ekolis Vanilla 11 July 15, 2007 00:07


All times are GMT +1. The time now is 13:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.