sonic-radiance/sonic-radiance.love/game/events/conditions/init.lua

8 lines
221 B
Lua
Raw Normal View History

2021-03-22 16:12:15 +01:00
local Conditions = {}
local ConditionsUtils = require "game.events.conditions.utils"
function Conditions.haveMoney(cond)
return ConditionsUtils.testVariables(game.loot.rings , cond[2], cond[3])
end
return Conditions