Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to macro not only @-inscribed items, but also by items' names #1182

Closed
igroglaz opened this issue Dec 2, 2018 · 6 comments
Closed

Comments

@igroglaz
Copy link
Contributor

igroglaz commented Dec 2, 2018

Currently players have to inscribe items again and again at every death to be able to use them via macroses. EX: I got a new char and bought 'phase door scrolls'. Now to use it with my macro \er9 I have to inscribe it with '@r9'. The same goes with all items.

It would be really great to be able to indicate not only @-inscriptions, but actully item names in macroses. EX: to make macro \erPhase to read 'phase door scroll'.

It's one of the most important thing to implement imho.

Another approach to solve this problem is to create 'auto-inscriptions' engine (TomeNET got it), so all items which you have got auto-inscribed. I'll create separate issue about it.

@RaibowFairys
Copy link

not bad suggestion

@igroglaz
Copy link
Contributor Author

igroglaz commented Jan 4, 2019

This is the most urgent issue so far.

@Korsfarer
Copy link

https://www.tomenet.eu/guide.php?chapter=3.9b

@igroglaz
Copy link
Contributor Author

igroglaz commented Jan 27, 2019

Why is it very important:

There is a problem:
every time when you die and start a new character - you have to inscribe manually all items again - all scrolls, potions & etc. And you die quite often in MAngband. And it's very annoying to reinscribe items after each death.

So there could be two possible solution:

  1. allow to macro with name of the item, like @phase (right now you should use @r1 for it). Then after you saved macroses once - you don't need to bother about inscribing items again
  2. auto-iscription feature (https://www.tomenet.eu/guide.php?chapter=0.3a)

I would prefer first variant, it's more comfortable.

@flambard-took
Copy link
Member

flambard-took commented Mar 25, 2019

a0cd88c adds this functionality.

Note: you can use the | (pipe) symbol as generic "or", so you can combine item names and item flavors. (Example: \eq@healing|Azure\r)

Note: book-by-spellname matcher from tomenet is not implemented, for no particular reason.

Note: as with tomenet, the matcher is case-insensitive, so both "phase" and "Phase" shall work.

Final note: I'm really loving this feature! And am going to use it extensively even for un-macroed commands, for example, now you can press w and type @torch without even glancing on your inventory screen. For people used to play MUDs, this should feel very natural. Thank you and thanks, tomenet!

@igroglaz
Copy link
Contributor Author

YAY 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants