remove items and npcs
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
Util = {}
|
||||
|
||||
function Util.create_decision(id, label, handler)
|
||||
return {
|
||||
id = id,
|
||||
label = label,
|
||||
handler = handler
|
||||
}
|
||||
end
|
||||
|
||||
function Util.safeindex(array, index)
|
||||
return ((index - 1 + #array) % #array) + 1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user