Module:Reward/HeroesPath

local Datetime = require 'Module:DatetimeUtil' local Reward = require 'Module:Reward' local RewardText = require 'Module:RewardText'

local T0 = Datetime.make_iso8601(2019, 9, 5, 3, 0, 0) local T1 = Datetime.MAX_TIME

local define = function (args, frame) local reward, err = Reward.parse(args[1]) if not reward then return require 'Module:Error'.error(err) end Reward.define(reward, 'HeroesPath', {rank = args.rank, position = args.position, from = T0, to = T1}, frame) return RewardText._main({reward, iconfirst = true}, frame) end

return require 'Module:MakeMWModule'.makeMWModule {define = define}