Page 1 of 1
automat.atm and status
Posted: Mon Mar 01, 2010 1:50 pm
by budswell
Hi
I use the Automatiser and have a weapon/armour destroying rules like:
Code: Select all
<or>
<and>
<level min="11" max="50"></level>
<status>average</status>
</and>
<and>
<level min="21" max="50"></level>
<status>good</status>
</and>
<status>very bad</status>
<status>bad</status>
</or>
So my question is about the status. I'm playing a lev 20+ character (like my current geomancer) with poor psudeo ID, then basically all I get is {good}. i.e. No differentiation between {good} and {excellent}.
Does the automatiser drive off the psudeo status or the actual item quality? i.e. Could I inadvertadly be destroying {excellent} items once the psudeo ID says they're good?
Re: automat.atm and status
Posted: Mon Mar 01, 2010 6:17 pm
by Yottle
budswell wrote:...
So my question is about the status. I'm playing a lev 20+ character (like my current geomancer) with poor psudeo ID, then basically all I get is {good}. i.e. No differentiation between {good} and {excellent}.
Does the automatiser drive off the psudeo status or the actual item quality? i.e. Could I inadvertadly be destroying {excellent} items once the psudeo ID says they're good?
Yes, you are losing any excellent items.
The solution is to add a term that checks to see if the item is identified, and only destroys good stuff if it is.
Re: automat.atm and status
Posted: Tue Mar 02, 2010 12:15 am
by budswell
OK. Thanks for that. Don't care about weapons (although the gold would be nice from arrows and the cool stuff like Aman), but I still am missing a bunch of armour slots. So I'll change it to something like this
Code: Select all
<and>
<level min="21" max="50"></level>
<status>good</status>
<or>
<skill min="11" max="50">Combat</skill> (because 11 gives {excellent})
(item is identified - don't know how to do this one, I'll figure it out)
</and>
Re: automat.atm and status
Posted: Tue Mar 02, 2010 9:04 pm
by Yottle
Look at the automatizer- it is one of the flags you can add. I think that it is <state>Identified</state>, but I don't have access to the game at the moment.
Re: automat.atm and status
Posted: Wed Mar 03, 2010 12:09 am
by madmonk
Something like this?
Code: Select all
rule "good weapons" destroy
if (tval = TV_SWORD, TV_AXE, TV_HAFTED, TV_POLEARM, TV_MSTAFF
or (tval = TV_DAEMON_BOOK and sval = SV_DEMONBLADE
and not skill "Demonology" = 1-50))
and status = "good" and (state = identified or skill "Combat" = 11-50)
It goes on (and on and on).
This is from
Zizzo's automat.atm. If you do use his atm file, you will also have to add in his
autoparser stuff...