Sunday, August 24, 2008

Usable Items Config

SuperNoob wrote:Updated for 1.9.x and up

NOTES:
- Also remember that there are some words/keywords that are case-sensitive. So if possible when you see the letter capitalized, also type it capitalized.

Using usable items
This is the basic example found in your config file, it will use the items listed in order when your HP falls below (or equal to) 50% if you have no Meat, it will try to use the second item, and so on...

Code: Select all
useSelf_item Meat,Apple,Banana,Sweet Potato,Carrot,Red Potion {
hp <= 50% }


Using different pots depending on your HP

Code: Select all
useSelf_item Red Potion {
hp <>


Using blue pots when SP is low

Code: Select all
useSelf_item Blue Potion {
sp <>


Using speed enhancing pots
(Timeouts? this is for lags that causes your char to use too much pots. Don't worry coz it will only use the item when the effect is gone.)

Code: Select all
useSelf_item Concentration Potion {
whenStatusInactive Concentration Potion
inLockOnly 1
notWhileSitting 1
notInTown 1
timeout 1800
}

useSelf_item Awakening Potion {
whenStatusInactive Awakening Potion
inLockOnly 1
notWhileSitting 1
notInTown 1
timeout 1800
}

useSelf_item Berserk Potion {
whenStatusInactive Berserk Potion
inLockOnly 1
notWhileSitting 1
notInTown 1
timeout 1800
}


Using status removing items
(other statuses are Cursed, Silenced, Blinded, Chaos)


Code: Select all
useSelf_item Green Herb {
whenStatusActive Poisoned
}

useSelf_item Green Potion {
whenStatusActive Poisoned
}


or

Code: Select all
useSelf_item Green Herb,Green Potion {
whenStatusActive Poisoned
}


Using quivers when arrow has reached minimum
Code: Select all
useSelf_item Silver Arrow Quiver {
inInventory Silver Arrow <>

0 comments:

Template by - Abdul Munir | Daya Earth Blogger Template