Wizards of Lua

The Art of Spell Crafting


Alpha 1.11.0 is Released

The 1.11.0 alpha is a small API refactoring release. Please note that this version is not completely backwards compatible.

Migration Manual

To migrate your spells to this version, please do the following steps:

1) Find all occurrences of EventQueue:pop() and replace them with EventQueue:next()

For example:

local queue = Events.connect("ChatEvent")
while true do
  local event = queue:pop()
  ...

Should become:

local queue = Events.connect("ChatEvent")
while true do
  local event = queue:next()
  ...

2) Find all occurrences of Entity.orientation and replace them with Entity.facing

For example:

if spell.orientation == "north" then
  ...

Should become:

if spell.facing == "north" then
  ...