[v1.0.4-1.0.5] Utility Supplies

A place to post your add ons and ideas for them

Moderator: Moderator

Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[v1.0.4-1.0.5] Utility Supplies

#1 Post by Zizzo »

So all this time I've been lamenting the loss of Potions of Cure Critical Wounds, and it never occurred to me until now: "Duh, addon." Specifically, prompted by this thread, my new Utility Supplies addon, which, as the name suggests, adds some useful items to the game. Here's what I've worked up so far:

Infusion patches

Since "[t]he art of potion making fell into decline after the Spellhunt, and only a rare few now master the gift", I decided to go with the concept of infusion patches, which deliver a modified single-dose formulation of the infusion and then fall off and biodegrade, thus not needing a dedicated inscription slot. Unusable by characters that can't use infusions (assuming I've coded that right...) Current available infusions are:
  • of clearing: In my experience, !oCCW's don't get used much for actual healing beyond the early levels, so I split their primary function out into its own patch, which, as the name suggests, clears detrimental effects. All of them; no more Sun Infusion Follies(TM) of, "Oh, gee, thanks for unilluminating me there, mister wild infusion. Not like I needed to actually, y'know, see or anything..."
  • of healing: As a first pass, I'm going with five levels of healing patches, one for each tier, doing 100-500hp heal. This can be adjusted as warranted by further playtesting.
Scrolls

The art of scroll making, apparently, has not fallen into decline since the Spellhunt, so no cosmetic renaming needed for them. Unusable by characters that can't use runes, or while blind, confused or silenced.

Currently there are scrolls of phase door and of teleportation; can't think of any others that get used regularly enough to add here (well, Identify, but that's covered by the orb now). I've made an effort to implement an oft-requested related feature, in that reading either of these scrolls should (if I've done this correctly) not use game time or consume the scroll if the game cannot find anywhere within the scroll's range to teleport you. This is untested, however, so let me know if it doesn't work.

Future directions
  • In addition to any possible adjustments to the healing patches I may eventually decide we need, I'm considering a speed patch, once I've decided whether it should act more like T2's Potion of Speed or T4's movement infusion.
  • Rods usable from inventory are another possible avenue of expansion (possibly under some other name, as many rods seem to be Sher'Tul technology). Haven't decided yet whether there are enough traps left in the game to merit rods of trap detection and disarming, or whether not being able to detect monsters in vaults is annoying enough to merit a rod of monster detection that can.
  • And of course, I'm always open to suggestions.
And I imagine this addon will probably be a bit too controversial to be merged into ZOmnibus... :mrgreen:

[edit 2013-08-10 9:04pm] Technical info:

Code: Select all

Hooks:
  Entity:loadList [to modify stores to stock infusion patches and scrolls]
Superload:
  mod.class.Object:
    getName() [to handle pluralizing infusion patches and scrolls]
  mod.class.Store:
    loadup() [to restock infusion patches and scrolls]
  mod.class.Trap
    canDisarm() [to apply the rod of disarming's 'force_disarm' flag]
Last edited by Zizzo on Wed Nov 13, 2013 5:34 am, edited 2 times in total.
"Blessed are the yeeks, for they shall inherit Arda..."

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: [v1.0.4] Utility Supplies

#2 Post by Crim, The Red Thunder »

You started porting Classic Tome to the T4 engine as a result of missing your !'s of CCW, please please PLEASE tell me this doesn't mean you are no longer going to attempt to continue that port...

On topic to this addon, if you've coded it right, will this ALSO fix the 'wasted teleport' for OTHER teleportation methods, or just your scroll methods? And if it works correctly, can you extend it to also affect those, or will you keep it to just your scrolls?
Last edited by Crim, The Red Thunder on Sun Jun 02, 2013 6:13 pm, edited 1 time in total.
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

Sradac
Sher'Tul
Posts: 1081
Joined: Fri Sep 21, 2007 3:18 am
Location: Angolwen

Re: [v1.0.4] Utility Supplies

#3 Post by Sradac »

you could make a scroll to bring back the old Rune of Speed

Amphouse
Thalore
Posts: 186
Joined: Mon Feb 04, 2013 9:31 pm

Re: [v1.0.4] Utility Supplies

#4 Post by Amphouse »

What the heck does the exclamation point stand for? I think CCW is cure critical wounds, whatever that even does. Didn't play old ToME. Actually I'm having trouble understanding the concept in general; how are these different from regular infusions and regular runes, and what's wrong with the current ones? Is there any reason I might want to use this outside of nostalgia?

lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

Re: [v1.0.4] Utility Supplies

#5 Post by lukep »

"!" is the ASCII symbol used for potions in most roguelikes.
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: [v1.0.4] Utility Supplies

#6 Post by Crim, The Red Thunder »

In classic roguelike games, potions are generally represented with the "!" ascii character. (Scrolls were generally "?", there were others that were a basic standard, but those are some of the most recognizeable.) Rogue did it, Adom did it, Crawl did it, Angband and it's million variants did it.

Yes, Cure critical wounds was what CCW stood for, and in classic tome (and other angbands) the assorted cure potions (light, serious, critical) healed a relatively small amount of HP, and cured a few minor status ailments. The better potions healed a bit more (still lousy amounts) and more ailments.

As for way back when, potions were one use only. So if you had 5 ! of CCW, and drank 2, you'd have 3 left. (But could always find/buy more.) Zizzo's attempting to bring that back, and give us some disposable one-time cures we can collect. Rarity would be a severe balancing issue, but it wouldn't pull the 'blind but unilluminated' stunt that the current wilds do.

Edit: Dammit, ninja'd by Lukep :roll:
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: [v1.0.4] Utility Supplies

#7 Post by HousePet »

I never understood why they only healed pityful amounts.
My feedback meter decays into coding. Give me feedback and I make mods.

CaptainTrips
Wyrmic
Posts: 227
Joined: Thu Mar 10, 2011 9:10 pm

Re: [v1.0.4] Utility Supplies

#8 Post by CaptainTrips »

What, no potions of corruption? :twisted:

Sradac
Sher'Tul
Posts: 1081
Joined: Fri Sep 21, 2007 3:18 am
Location: Angolwen

Re: [v1.0.4] Utility Supplies

#9 Post by Sradac »

telling you, !ofHaste, give it a weaker effect than what the Runes of Speed gave.

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.4] Utility Supplies

#10 Post by Zizzo »

Crim, The Red Thunder wrote:You started porting Classic Tome to the T4 engine as a result of missing your !'s of CCW, please please PLEASE tell me this doesn't mean you are no longer going to attempt to continue that port...
Slowly. I kinda got myself into a rut, and I'm trying to claw my way back out... :oops:
Crim, The Red Thunder wrote:On topic to this addon, if you've coded it right, will this ALSO fix the 'wasted teleport' for OTHER teleportation methods, or just your scroll methods? And if it works correctly, can you extend it to also affect those, or will you keep it to just your scrolls?
This only applies to the scrolls. Changing the runes would mean munging the corresponding talents on the fly, and (a) I'm not sure I'm doing this right in the first place (b) I keep hoping that will get implemented mainline (and maybe this will be just the nudge it needs...).
Sradac wrote:you could make a scroll to bring back the old Rune of Speed
Haven't seen this. What does it do?
Amphouse wrote:Actually I'm having trouble understanding the concept in general; how are these different from regular infusions and regular runes, and what's wrong with the current ones?
Scrolls and potions (or infusion patches in our case) are consumables: you use it once and it's gone --- which is why you carry a whole stack of `em. The main advantage over inscriptions is no cooldown; if your scroll of teleportation drops you in a bad place, you just read another one.
Crim, The Red Thunder wrote: Rarity would be a severe balancing issue, but it wouldn't pull the 'blind but unilluminated' stunt that the current wilds do.
Oh, the stores stock these. What with the prevailing anti-"grinding" foofaraw, there's not nearly enough runoff room to accumulate a sufficient stash off the floor.
CaptainTrips wrote:What, no potions of corruption? :twisted:
Eugh. (a) I never used those in T2, and (b) then I'd just have to implement corruptions in T4... :?
"Blessed are the yeeks, for they shall inherit Arda..."

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: [v1.0.4] Utility Supplies

#11 Post by HousePet »

The code for Runes of Speed is still in inscriptions.lua

Its a global speed boost.
My feedback meter decays into coding. Give me feedback and I make mods.

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.4] Utility Supplies

#12 Post by Zizzo »

HousePet wrote:The code for Runes of Speed is still in inscriptions.lua

Its a global speed boost.
So, T2 Potion of Speed, then. [sound F/X: svn repo diving] If I'm reading this right, looks like 30%-60% speed boost for 4-7 turns, depending on how deep you found the rune (doesn't appear to have scaled with any stat). So, say, patches at tiers 3, 4 and 5, doing 20%, 35% resp. 50% speed for 5 turns?
"Blessed are the yeeks, for they shall inherit Arda..."

0player
Uruivellas
Posts: 717
Joined: Fri May 24, 2013 4:27 pm

Re: [v1.0.4] Utility Supplies

#13 Post by 0player »

How about Scrolls of Recall, with time of acting less than that of a Rod?

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.4] Utility Supplies

#14 Post by Zizzo »

0player wrote:How about Scrolls of Recall, with time of acting less than that of a Rod?
? Is the recall delay a significant hardship? I've always just hit R40 and been done with it. Besides, that would almost certainly lead to an expectation of functionality similar to T2/Angband/Moria's Word of Recall scroll, which would recall you back into the dungeon if read in town [and while I have on occasion wished for such functionality, (a) I have no idea how to implement it, and (b) I'd rather have it on the Rod.]
HousePet wrote:I never understood why they only healed pityful amounts.
Probably a legacy from Moria, way back when the dungeon bottomed out at level 50, the player topped out at level 40, and none of the other more powerful healing potions existed yet.
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.0.4] Utility Supplies

#15 Post by Zizzo »

Pushing out v2 with some new stuff. In addition to the infusion patches of speed suggested by Sradac, I've added scrolls of controlled phase door, which (if I've done this right...) should start appearing in stores around the same time as controlled phase door runes. Also, I've finally decided that there are enough annoying traps left in vaults (and in Nur) to justify rods of trap detection and disarming.

And pursuant to DarkGod's subtle hint :wink: I've added technical info to the original post.
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply