Treant Combat System

by Unknown

Back to Mechanic's Corner.

Unknown2009-03-27 20:33:15
QUOTE (Kialkarkea @ Mar 27 2009, 04:32 PM) <{POST_SNAPBACK}>
What's the built-in potionlist command again?


It's a secret, but I'll share it for a modest fee.




Just kidding. It's PSUM.
Unknown2009-03-27 20:40:39
QUOTE (Zarquan @ Mar 27 2009, 04:33 PM) <{POST_SNAPBACK}>
It's a secret, but I'll share it for a modest fee.




Just kidding. It's PSUM.

Is there a herb equivalent?
Unknown2009-03-27 22:35:20
QUOTE (Kialkarkea @ Mar 27 2009, 04:40 PM) <{POST_SNAPBACK}>
Is there a herb equivalent?


Like that rift sorter plugin Ethelon has? Nope. But the gear script tracks all your rift and pocketbelts, so you can use that to make something.
Unknown2009-03-27 23:26:57
QUOTE (Zarquan @ Mar 27 2009, 06:35 PM) <{POST_SNAPBACK}>
Like that rift sorter plugin Ethelon has? Nope. But the gear script tracks all your rift and pocketbelts, so you can use that to make something.

Not really. I'm fail at programming.
Unknown2009-03-28 03:05:01
QUOTE (Kialkarkea @ Mar 27 2009, 07:26 PM) <{POST_SNAPBACK}>
Not really. I'm fail at programming.


We all have our talents.
Sylphas2009-03-28 03:50:27
Blast it Larkin, you're making me want to take up programming again. Lua is just so much fun.

Thanks, by the way, for making me switch from cMUD. Lua is more useful to know in general, and it feels so much easier to code in it instead of zScript.
Unknown2009-03-28 11:25:49
See? I keep telling people how great Lua is!
Razenth2009-03-28 21:36:29
Where's the option to configure multiple usages of pennyroyal to cure stupidity as outlined in the v1.20 update?
Unknown2009-03-29 11:27:43
QUOTE (Razenth @ Mar 28 2009, 05:36 PM) <{POST_SNAPBACK}>
Where's the option to configure multiple usages of pennyroyal to cure stupidity as outlined in the v1.20 update?


I probably should've added yet another TCONFIG option for that, but I'm sure you can find it in the code, if you look. tongue.gif
Razenth2009-03-29 18:59:56
*groan*
Unknown2009-03-29 20:22:16
QUOTE (Razenth @ Mar 29 2009, 02:59 PM) <{POST_SNAPBACK}>
*groan*


I feel the same way (for different reasons, I'm sure).
Zalandrus2009-03-30 03:13:29
Is AUTO HERBS governing harvesting them and only harvesting them? I turned it off to have more control, but I don't want to accidentally turn off herb curing period!
Sylphas2009-03-30 03:47:20
QUOTE (Zalandrus Meyedsun @ Mar 29 2009, 11:13 PM) <{POST_SNAPBACK}>
Is AUTO HERBS governing harvesting them and only harvesting them? I turned it off to have more control, but I don't want to accidentally turn off herb curing period!


Yes, it only applies to herb harvesting.
Kiradawea2009-03-30 22:48:38
QUOTE
One of the most noticeable changes (and probably the one that will have the most reports of needing adjustments) is curing with Choke. If you are brave enough to test this, please send me good, details reports (preferably, with logs that have DEBUG ON) so I'm able to recreate the problems and fix them.

You only want choke logs where something actual funny happens right?

Anyway, I'm just curious if I understand this correctly. Regarding putting up defenses. The (nottemplate.lua) file where you configure sip values and such, that should contain
QUOTE
--my_sip values

my_defs = {
= { "wings", "halo", "channels", "stigmata" },
= { "cloak", "deathsight", "waterwalk", "timeslip" },
= { "deathsense", "lipreading", "nightsight", "thirdeye" },
= { "insomnia", "metawake", "selfishness" },
= { "attitude", "drunkard", "performance", "role", "sober", "wounded" },
= { "beauty", "kingdom", "levitating", "mercy", "perfection", "protection" },
= { "malkuth", "yesod", "netzach", "gedulah" },
= { "charismaticaura" },
= { "fortuna", "draconis", "populus", "acquisitio", "rubeus" },
= { "kafe", "fire", "frost", "speed" },
}

require "php"

require "treant"
treant:Init()

require "gui"
gui:Init()


In other words, the my_defs list.

While to get an autodef done, I need to create a new alias, in which I have the
QUOTE
my_defup = {
= php:Table(),
= php:Table(),
= php:Table(),
= php:Table()
}

my_defup = "insomnia"
my_defup = "nightsight"
my_defup = "thirdeye"

my_defup = "lipread"
my_defup = "deathsense on"
my_defup = "selfishness"
my_defup = "abjure deathsight"
my_defup = "abjure waterwalk"

my_defup = "abjure cloak"
my_defup = "abjure timeslip"
my_defup = "starcall wings"
my_defup = "starcall halo"
my_defup = "evoke malkuth"
my_defup = "evoke yesod"
my_defup = "evoke netzach"
my_defup = "chant fortuna"
my_defup = "chant draconis"
my_defup = "chant populus"
my_defup = "chant acquisitio on"
my_defup = "chant rubeus"
tables.

And I should make no changes whatsoever to the "defs" file.

Or have I misunderstood? I've never done any actual programming in MUSH before, so my knowledge is limited.
Daved2009-03-30 23:14:04
I'm not too sure why you need that in an alias, I put it all in my script file and it works fine :/
Unknown2009-03-30 23:18:32
I only really want interesting logs of choke curing not working, though I honestly already know it's not perfect because all it's doing is slowing you down to actually cure the same things you normally would (unless you customize the priority queues yourself).

The defup stuff doesn't have to go into an alias if you only use a single set of defenses, but the final line (which you've omitted here) should be in an alias to actually start the defup process. The reason I recommend it go into an alias is because that allows you to have different sets of defenses for different purposes. Whatever works for you is good, of course.
Sylphas2009-03-31 03:46:17
Did I miss a how to defup tutorial? Am I the only one who just has an alias that does todo:add_free("thirdeye"), todo:add("limber"), etc, etc?
Unknown2009-03-31 11:09:03
There are text files that come with the system.
Unknown2009-03-31 12:26:44
QUOTE (Sylphas @ Mar 30 2009, 11:46 PM) <{POST_SNAPBACK}>
Did I miss a how to defup tutorial? Am I the only one who just has an alias that does todo:add_free("thirdeye"), todo:add("limber"), etc, etc?

I'm doing that too ninja.gif . Saw the defup tutorial after but was too lazy to switch.
Unknown2009-03-31 13:12:17
You should switch. The main difference is that the defup will skip defenses you may already have up.