Treant Combat System

by Unknown

Back to Mechanic's Corner.

Unknown2009-03-31 13:35:46
Indeed, Treant's auto-deffer is very nice. If you don't have Totems. superninja.gif (just kidding happy.gif)
Ronny2009-03-31 14:13:02
QUOTE (Caerulo @ Mar 31 2009, 09:35 PM) <{POST_SNAPBACK}>
Indeed, Treant's auto-deffer is very nice. If you don't have Totems. superninja.gif (just kidding happy.gif)


I read auto-defiler hehe.
Sylphas2009-04-01 06:20:25
QUOTE (Zarquan @ Mar 31 2009, 07:09 AM) <{POST_SNAPBACK}>
There are text files that come with the system.


You know, I think I've looked through all the .lua files, but I haven't really looked at the text files. Failsquirrel is fail.
Unknown2009-04-01 10:57:46
QUOTE (Sylphas @ Apr 1 2009, 02:20 AM) <{POST_SNAPBACK}>
You know, I think I've looked through all the .lua files, but I haven't really looked at the text files. Failsquirrel is fail.


Indeed. When I say text files, I'm referring to files with a .txt extension. Yes, all the files are technically ASCII data...
Sylphas2009-04-01 18:45:26
QUOTE (Zarquan @ Apr 1 2009, 06:57 AM) <{POST_SNAPBACK}>
Indeed. When I say text files, I'm referring to files with a .txt extension. Yes, all the files are technically ASCII data...


You don't program in binary? tongue.gif
Unknown2009-04-01 19:02:37
I have programmed in binary, but it's not very conducive to sanity or productivity. biggrin.gif
Daved2009-04-01 22:12:39
CODE

» Defense Status Report:
» Knighthood
» gripping combatstyle - defensive
» combatstyle - aggressive combatstyle - concentrated
» combatstyle - lightning
» Discipline
» insomnia
» Athletics
» weathering vitality
» breathing constitution
» resistance strength
» Dramatics
» performance
» Discernment
» nightsight
» Rituals
» acquisitio draconis
» populus
» Enchantments
» beauty deathsight
» kingdom levitating
» mercy perfection
» protection waterwalking
» waterbreathing
» Miscellaneous
» kafe fire
» frost speed
» lichseed combatstyle - lightning
» stance - legs


CODE

my_defs = {
= { "gripping", "combatstyle - defensive", "combatstyle - aggressive", "combatstyle - concentrated", "combatstyle - lightning" },
...
}


:? What's wrong here? Why is combatstyle - lightning in misc and not in knighthood?
Unknown2009-04-02 00:16:08
QUOTE (Daved @ Apr 1 2009, 06:12 PM) <{POST_SNAPBACK}>
What's wrong here? Why is combatstyle - lightning in misc and not in knighthood?


The defense is called combatstyle, and it has different modes.
Unknown2009-04-04 12:12:10
Version 1.21 is now available. Check the history file for updates.

You will also notice that the history now contains a list of updates to the premium add-on scripts. If you've purchased one of these and would like the new version, please e-mail me and I'll send it out to you. This is the easiest way I could think of to keep things moving without creating a lot of overhead with who-got-what management.

Thanks to everyone who's sent in suggestions and fixes!
Aoife2009-04-04 13:32:27
I feel a bit silly because I'm probably doing something wrong, but I just installed Treant, and every time I use def or defences, my domoth "report", if you will, multiplies itself like so:

def
» Defense Status Report:
» blend
» war domoth, minor, +2 strength for your race
» war domoth, major, Increased level of guards
» war domoth, minor, +2 strength for your race
» war domoth, major, Increased level of guards
» war domoth, minor, +2 strength for your race
» war domoth, major, Increased level of guards
» war domoth, minor, +2 strength for your race
» war domoth, major, Increased level of guards

This is using 1.21.
Unknown2009-04-04 13:34:30
Did you just save the files? Or did you load them with /treant:Install()?

This is a bug that I fixed a few versions ago (as far as I know).
Aoife2009-04-04 13:36:02
QUOTE (Zarquan @ Apr 4 2009, 09:34 AM) <{POST_SNAPBACK}>
Did you just save the files? Or did you load them with /treant:Install()?

This is a bug that I fixed a few versions ago (as far as I know).


I loaded them with /treant:Install(), following the directions on your website.
Unknown2009-04-04 13:37:15
Anyone else having this problem or not having this problem? (Since I do not have this problem, it's hard to fix what I cannot recreate...)
Aoife2009-04-04 13:40:49
Maybe I'm just very good at breaking things. losewings.gif

EDIT: Yeah, I was right, I mucked something up with configuring in Lusternia. I'm a dumb censor.gif
Unknown2009-04-05 06:05:48
Apparently Zarquan has been replying to my miscellaneous bug/typo emails through the email address associated with this forum account that I've stopped checking a long time ago. And here this whole time I thought he was like some sort of robot silently working on stuff I sent him laugh.gif
Unknown2009-04-05 11:58:01
doh.gif
Razenth2009-04-07 07:12:18
Does Treant have a togglable timestamp function? Would like to stop having to rely on sparring AG users to figure out my rebalance times.
Unknown2009-04-07 10:52:02
No, it's not part of Treant, but adding your own timestamp is not too difficult an exercise. Everyone seems to have their own way of doing timestamps, and my way involves just using the HPC rather than the standard clock time. (Simimi has a prompt timer in her plugins, but it's got a bug because of how she's mixed the clock with the HPC.)
Unknown2009-04-07 11:03:56
Hrm, I'm wondering, how hard is it to make a timestamp, as well as those things that show how much hp, mana, ego, endurance, willpower and power have been lost or gained. Is it going to require Lua scripts like those you have, or just aliases/triggers/variables?
Unknown2009-04-07 11:06:28
Typically, you call a script function that replaces your prompt with a new one. I have my trigger send to world with the script function in the small script box below. The fourth parameter passed to the script function contains all the styles captured by the trigger, so you can echo your prompt in exactly the same colors, just adding your own flavor to it.