Alchemy

Controls alchemy through Python

start_alchemy

Starts alchemy

Usage

start_alchemy()

Returns

True or False if the function succeeded or not

stop_alchemy

Stops alchemy

Usage

stop_alchemy()

Returns

True or False if the function succeeded or not

reset_alchemy

Clears the alchemy queue

Usage

reset_alchemy()

Returns

True or False if the function succeeded or not

add_alchemy(dict)

Adds an item to the alchemy queue

Usage

add_alchemy({
    'type': 'plus',
    'slot': 13,
    'stop': 5,
    'success': 2000,
    'failure': 5000,
    'powder': 0,
    'astral': -1,
    'steady': -1,
    'immortal': -1,
    'lucky': -1,
    'stop_attempt': 100,
    'stop_destroyed': 1,
    'skip_fail': 0
})

Returns

True or False if the function succeeded or not

alchemy_update(slot, success, plus)

This event is sent to all plugins after an elixir is used on an item.

Example

def alchemy_update(slot, success, plus):

Last updated