Introduction

I created the attached Automatizer file from one created by OndrejSterbak here on the Wiki. Please feel free to copy it, modify it and use it as you like. I have not fully tested it yet but it does not give me any errors when I start up ToMe. I have tested it with some level one characters and it did not destroy any of their starting gear so I think that's a good sign.

Chatter

< Post your questions and comments here >

ReenenLaurie: I haven't played in a while, but if you don't destroy potion of detonations for reasons of throwing it, then why destroy a potion of death? Aren't they even more damage? There may be other similar things there as well. In general it looks pretty solid.

GrootheWanderer: The potion of Death was in there from the file I editted. I don't generally throw potions at all so will probably add Detonation potions.

NerdanelVampire: I notice you have the automatizer destroy slime molds. All of my characters eat every slime mold they see in hopes of getting the Grow Mold ability. One of them even got it.

GrootheWanderer: Yeah, I do the same thing and will either remove this line or put a level limit of greater than 40 on it or something like that. I revised it so I think it will work correctly for getting rid of all swords if you are not an antimagic character, and all swords except for darkswords if you are (dependent on status and level).

GrootheWanderer: Hurray! I found the error. It seems that down in the 'Miscellany' rule, I had a line that was destroying everything without the word 'numenor' in it. I changed this to the intended rule of destroying all parchments without the word 'numenorean' in them (so I could still get the ground inscription to light up rooms). I'm pretty sure that this file can now safely be used. Made a few other tweaks also. Keep in mind that once you reach level 48, pretty much all ego weapons and armour are destroyed and once you reach level 50, all but the amulets and rings in the 'Awesome rings' rule are destroyed. By this level, pretty much all other equipemnet should be artifact and money should no longer be an issue.

Does anyone know how to add a rule dependant on a character having the power to 'grow molds'?

NeilStevens: It's not possible, and thank you for the move.

GrootheWanderer: Your welcome and thanks for the info. I'll just make that rule level dependant at level 40 or something.

Automatizer File

clean_ruleset()
add_ruleset
[[
<comment>
    I started with the ruleset provided on the 
    Wiki by OndrejSterbak and modified it to be
    useable by antimagic, alchemists, runecrafters
    possessors, etc, seperated out ammo from other
    weapons and added demonologist equipment.  Also
    I like saving awesome weapons of slaying so
    I have saved that particular type from destruction.    
</comment>

<rule name="demonologist" type="destroy">
    <and>
        <tval>115</tval>
        <or>
            <and>
                <level min="0" max="50"></level>
                <or>
                    <status>very bad</status>
                    <status>bad</status>
                </or>
            </and>
            <and>
                <level min="20" max="50"></level>
                <status>average</status>
            </and>
            <and>
                <level min="20" max="50"></level>
                <status>good</status>
                <not><skill min="1" max="50">demonology</skill></not>
            </and>
            <and>
                <level min="48" max="50"></level>
                <status>very good</status>
                <not><skill min="1" max="50">demonology</skill></not>
            </and>
        </or>
    </and>
</rule>

<rule name="weapons" type="destroy">
    <and>
        <or>
            <tval>TV_BOOMERANG</tval>
            <tval>TV_BOW</tval>
            <tval>TV_AXE</tval>
            <tval>TV_HAFTED</tval>
            <tval>TV_POLEARM</tval>
            <tval>TV_MSTAFF</tval>
            <and>
                <tval>TV_SWORD</tval>
                <not><skill min="1" max="50">antimagic</skill></not>
            </and>
            <and>
                <tval>TV_SWORD</tval>
                <not><contain>dark sword</contain></not>
            </and>
        </or>
        <or>
            <and>
                <level min="0" max="50"></level>
                <or>
                    <status>very bad</status>
                    <status>bad</status>
                </or>
            </and>
            <and>
                <level min="15" max="50"></level>
                <status>average</status>
            </and>
            <and>
                <level min="20" max="50"></level>
                <status>good</status>
            </and>
            <and>
                <level min="48" max="50"></level>
                <status>very good</status>
                <not><contain>slaying</contain></not>
            </and>
        </or>
    </and>
</rule>

<rule name="ammo" type="destroy">
    <and>
        <or>
            <tval>TV_SHOT</tval>
            <tval>TV_ARROW</tval>
            <tval>TV_BOLT</tval>
        </or>
        <or>
            <and>
                <level min="0" max="50"></level>
                <or>
                    <status>very bad</status>
                    <status>bad</status>
                </or>
            </and>
            <and>
                <level min="20" max="50"></level>
                <status>average</status>
            </and>
            <and>
                <level min="35" max="50"></level>
                <status>good</status>
            </and>
        </or>
    </and>
</rule>

<rule name="armor" type="destroy">
    <and>
        <or>
            <tval>TV_GLOVES</tval>
            <tval>TV_HELM</tval>
            <tval>TV_CROWN</tval>
            <tval>TV_SHIELD</tval>
            <tval>TV_SOFT_ARMOR</tval>
            <tval>TV_HARD_ARMOR</tval>
        </or>
        <or>
            <and>
                <level min="0" max="50"></level>
                <or>
                    <status>very bad</status>
                    <status>bad</status>
                </or>
            </and>
            <and>
                <level min="15" max="50"></level>
                <status>average</status>
            </and>
            <and>
                <level min="20" max="50"></level>
                <status>good</status>
            </and>
            <and>
                <level min="48" max="50"></level>
                <status>very good</status>
            </and>
        </or>
    </and>
</rule>

<rule name="boots_cloaks" type="destroy">
    <and>
        <or>
            <tval>TV_BOOTS</tval>
            <and>
                <tval>TV_CLOAK</tval>
                <not><contain>Elven</contain></not>
            </and>
        </or>
        <or>
            <and>
                <level min="0" max="50"></level>
                <or>
                    <status>very bad</status>
                    <status>bad</status>
                </or>
            </and>
            <and>
                <level min="15" max="50"></level>
                <status>average</status>
            </and>
            <and>
                <level min="20" max="50"></level>
                <status>good</status>
            </and>
        </or>
    </and>
</rule>

<comment>
    Next 2 rules are from NeilStevens' automat.atm, 
    just slightly changed
</comment>

<rule name="all" type="destroy">
    <and>
        <or>
            <name>Scroll of Curse Weapon</name>
            <name>Scroll of Curse Armor</name>
            <name>Scroll of Curse Armour</name>
            <name>Scroll of Summon Monster</name>
            <name>Scroll of Summon Monsters</name>
            <name>Scroll of Summon Undead</name>
            <name>Scroll of Aggravate Monster</name>
            <name>Scroll of Rumour</name>
            <name>Scroll of Rumor</name>
            <name>Scroll of Treasure Detection</name>
            <name>Scroll of Object Detection</name>
            <name>Scroll of Blessing</name>
            <name>Scroll of Nothing</name>
            <name>Scroll of Trap Creation</name>
            <name>Scroll of Holy Chant</name>
            <name>Scroll of Door/Stair Location</name>
            <name>Scroll of Trap/Door Destruction</name>
            <name>Scroll of Monster Confusion</name>
            <name>Scroll of Trap Detection</name>
            <name>Scroll of Holy Chant</name>
            <name>Scroll of Holy Prayer</name>
            <name>Scroll of Light</name>
            <name>Scroll of Magic Mapping</name>
            <contain>Morphic Oil</contain>
            <name>Potion of Detonations</name>
            <name>Potion of Death</name>
            <name>Potion of Ruination</name>
            <name>Potion of Corruption</name>
            <name>Potion of Slime Mold Juice</name>
            <name>Potion of Water</name>
            <name>Potion of Blindness</name>
            <name>Potion of Sleep</name>
            <name>Potion of Booze</name>
            <name>Potion of Slowness</name>
            <name>Potion of Salt Water</name>
            <name>Potion of Clumsiness</name>
            <name>Potion of Apple Juice</name>
            <name>Potion of Abomination</name>
            <name>Potion of Weakness</name>
            <name>Potion of Lose Memories</name>
            <name>Potion of Sickliness</name>
            <name>Potion of Ugliness</name>
            <name>Potion of Stupidity</name>
            <name>Potion of Naivety</name>
            <name>Potion of Poison</name>
            <name>Potion of Infra-vision</name>
            <name>Potion of Invisibility</name>
            <name>Ring of Stupidity</name>
            <name>Ring of Weakness</name>
            <name>Ring of Aggravate Monster</name>
            <name>Ring of Teleportation</name>
            <name>Ring of Nothing</name>
            <name>Ring of Woe</name>
            <name>Wand of Heal Monster</name>
            <name>Wand of Haste Monster</name>
            <name>Wand of Nothing</name>
            <name>Staff of Nothing</name>
            <name>Staff of Haste Monsters</name>
            <name>Amulet of Adornment</name>
            <name>Amulet of Teleportation</name>
            <name>Amulet of Nothing</name>
            <name>Rod Tip of Nothing</name>
            <name>Mushroom of Weakness</name>
            <name>Mushroom of Stupidity</name>
            <name>Mushroom of Naivety</name>
            <name>Mushroom of Sickness</name>
            <name>Mushroom of Blindness</name>
            <name>Mushroom of Paranoia</name>
            <name>Mushroom of Poison</name>
            <name>Mushroom of Confusion</name>
            <name>Mushroom of Unhealth</name>
            <name>Mushroom of Disease</name>
            <name>Mushroom of Paralysis</name>
            <name>Mushroom of Hallucination</name>
            <name>Mushroom of Disease</name>
            <name>Mushroom of Paralysis</name>
        </or>
        <not><skill min="1" max="50">alchemy</skill></not>
    </and>
</rule>

<rule name="rings" type="destroy">
    <and>
        <or>
            <name>Amulet of Wisdom</name>
            <name>Amulet of Lightning Resistance</name>
            <name>Amulet of Acid Resistance</name>
            <name>Amulet of Infravision</name>
            <name>Amulet of Charisma</name>
            <name>Amulet of Searching</name>
            <name>Amulet of Slow Digestion</name>
            <name>Ring of Protection</name>
            <name>Ring of Levitation</name>
            <name>Ring of Fire Resistance</name>
            <name>Ring of Cold Resistance</name>
            <name>Ring of Searching</name>
            <name>Ring of Slow Digestion</name>
            <contain>Ring of Sustain</contain>
            <name>Ring of Charisma</name>
            <name>Ring of Strength</name>
            <name>Ring of Intelligence</name>
            <name>Ring of Wisdom</name>
            <name>Ring of Dexterity</name>
            <name>Ring of Constitution</name>
            <name>Ring of See Invisible</name>
            <name>Amulet of the Serpents</name>
            <name>Amulet of Resistance</name>
            <name>Amulet of Anti-teleportation</name>
            <name>Amulet of Devotion</name>
            <name>Amulet of Telepathy</name>
            <name>Amulet of Sustenance</name>
            <name>Amulet of Reflection</name>
            <name>Amulet of Anti-magic</name>
            <name>Ring of Blindness Resistance</name>
            <name>Ring of Poison Resistance</name>
            <name>Ring of Nether Resistance</name>
            <name>Ring of Disenchantment Resistance</name>
            <name>Ring of Chaos Resistance</name>
            <name>Ring of Invisibility</name>
            <name>Ring of Flying</name>
        </or>
        <or>
            <and>
                <level min="0" max="50"></level>
                <or>
                    <status>terrible</status>
                    <status>very bad</status>
                    <status>bad</status>
                </or>
            </and>
            <and>
                <level min="20" max="50"></level>
                <status>average</status>
            </and>
            <and>
                <level min="30" max="50"></level>
                <status>good</status>
            </and>
            <and>
                <level min="40" max="50"></level>
                <status>very good</status>
            </and>
        </or>
        <not><skill min="1" max="50">alchemy</skill></not>
    </and>
</rule>

<rule name="goodrings" type="destroy">
    <and>
        <or>
            <name>Amulet of Regeneration</name>
            <name>Amulet of Brilliance</name>
            <name>Amulet of Spell</name>
            <name>Ring of Free Action</name>
            <name>Ring of Spell</name>
            <name>Ring of Flames</name>
            <name>Ring of Ice</name>
            <name>Ring of Acid</name>
            <name>Ring of Lightning</name>
            <name>Ring of Light and Darkness Resistance</name>
            <name>Ring of Nexus Resistance</name>
            <name>Ring of Sound Resistance</name>
            <name>Ring of Confusion Resistance</name>
            <name>Ring of Fear Resistance</name>
            <name>Ring of Critical Hits</name>
        </or>
        <or>
            <and>
                <level min="0" max="50"></level>
                <or>
                    <status>terrible</status>
                    <status>very bad</status>
                    <status>bad</status>
                </or>
            </and>
            <and>
                <level min="35" max="50"></level>
                <status>average</status>
            </and>
            <and>
                <level min="40" max="50"></level>
                <or>
                    <status>good</status>
                    <status>very good</status>
                </or>
            </and>
        </or>
        <not><skill min="1" max="50">alchemy</skill></not>
    </and>
</rule>

<rule name="greatrings" type="destroy">
    <and>
        <or>
            <name>Amulet of the Serpents</name>
            <name>Amulet of Resistance</name>
            <name>Amulet of Anti-teleportation</name>
            <name>Amulet of Devotion</name>
            <name>Amulet of Telepathy</name>
            <name>Amulet of Sustenance</name>
            <name>Amulet of Reflection</name>
            <name>Amulet of Anti-magic</name>
            <name>Ring of Blindness Resistance</name>
            <name>Ring of Poison Resistance</name>
            <name>Ring of Nether Resistance</name>
            <name>Ring of Disenchantment Resistance</name>
            <name>Ring of Chaos Resistance</name>
            <name>Ring of Invisibility</name>
            <name>Ring of Flying</name>
        </or>
        <or>
            <and>
                <level min="0" max="50"></level>
                <or>
                    <status>terrible</status>
                    <status>very bad</status>
                    <status>bad</status>
                </or>
            </and>
            <and>
                <level min="50" max="50"></level>
                <or>
                    <status>average</status>
                    <status>good</status>
                    <status>very good</status>
                </or>
            </and>
        </or>
        <not><skill min="1" max="50">alchemy</skill></not>
    </and>
</rule>

<rule name="awesomerings" type="destroy">
    <and>
        <or>
            <name>Amulet of Trickery</name>
            <name>Amulet of Weaponmastery</name>
            <name>Amulet of the Magi</name>
            <name>Ring of Speed</name>
            <name>Ring of Extra Attacks</name>
            <name>Ring of Slaying</name>
            <name>Ring of Damage</name>
            <name>Ring of Accuracy</name>
            <name>Ring of Lordly Protection</name>
        </or>
        <or>
            <status>terrible</status>
            <status>very bad</status>
            <status>bad</status>
        </or>
        <not><skill min="1" max="50">alchemy</skill></not>
    </and>
</rule>

<rule name="diggers" type="destroy">
    <and>
        <tval>20</tval>
        <or>
            <status>terrible</status>
            <status>very bad</status>
            <status>bad</status>
        </or>
    </and>
</rule>

<rule name="esscence" type="destroy">
    <and>
        <tval>4</tval>
        <not><skill min="1" max="50">alchemy</skill></not>
    </and>
</rule>

<rule name="rune" type="destroy">
    <and>
        <or>
            <tval>TV_RUNE1</tval>
            <tval>TV_RUNE2</tval>
        </or>
        <not><skill min="1" max="50">runecraft</skill></not>
    </and>
</rule>

<rule name="trap" type="destroy">
    <and>
        <tval>TV_TRAPKIT</tval>
        <not><ability>Trapping</ability></not>
    </and>
</rule>

<rule name="junk" type="destroy">
    <and>
        <or>
            <tval>TV_JUNK</tval>
            <tval>TV_SKELETON</tval>
        </or>
        <not><ability>Ammo creation</ability></not>
    </and>
</rule>

<rule name="empty" type="destroy">
    <and>
        <tval>TV_CHEST</tval>
        <status>empty</status>
    </and>
</rule>

<rule name="miscellany" type="destroy">
    <or>
            <tval>10</tval>
            <tval>5</tval>
            <and>
                <tval>8</tval>
                <not><contain>numenorean</contain></not>
            </and>
            <name>Fortune cookie</name>
            <name>Slime Mold</name>
            <name>portable hole</name>
    </or>
</rule>

<rule name="possessor" type="destroy">
    <and>
        <tval>9</tval>
        <not><skill min="1" max="50">possession</skill></not>
    </and>
</rule>

]]


CategoryCharacterSheet

GrootheWanderer/GroosAutomatizer (last edited 2005-09-30 12:34:49 by h-67-103-166-186)