17 lines
400 B
Lua
17 lines
400 B
Lua
|
local StepParent = require "game.events.event.parent"
|
||
|
local SimpleMessageStep = StepParent:extend()
|
||
|
|
||
|
function SimpleMessageStep:new(controller, args)
|
||
|
SimpleMessageStep.super.new(self, controller, args)
|
||
|
end
|
||
|
|
||
|
function SimpleMessageStep:start()
|
||
|
game.loot.rings = game.loot.rings + self.arguments.number
|
||
|
end
|
||
|
|
||
|
function SimpleMessageStep:update(dt)
|
||
|
self:finish()
|
||
|
end
|
||
|
|
||
|
return SimpleMessageStep;
|