You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
529 B
23 lines
529 B
|
5 years ago
|
local WIT, core = ...
|
||
|
|
|
||
|
|
function core.FarmResultModule(name, data, category)
|
||
|
|
local self = core.GridModule(name, data, category)
|
||
|
|
|
||
|
|
local resultColumn = core.GridColumns.ResultsValueColumn()
|
||
|
|
|
||
|
|
self.Columns = {
|
||
|
|
core.GridColumns.ItemNameColumn(),
|
||
|
|
resultColumn,
|
||
|
|
core.GridColumns.LocationsColumn(),
|
||
|
|
core.GridColumns.ItemSellRateColumn(),
|
||
|
|
core.GridColumns.RoutesColumn(),
|
||
|
|
}
|
||
|
|
|
||
|
|
self.Sort = {
|
||
|
|
Column = resultColumn,
|
||
|
|
Direction = "DESC",
|
||
|
|
}
|
||
|
|
|
||
|
|
return self
|
||
|
|
end
|