Commit bf2924c 1 parent 53aa80c commit bf2924c Copy full SHA for bf2924c
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
local CraftSim = select (2 , ... )
3
3
4
4
local GUTIL = CraftSim .GUTIL
5
+ local f = GUTIL :GetFormatter ()
5
6
6
7
CraftSim .NEWS = {}
7
8
@@ -10,13 +11,12 @@ CraftSim.NEWS.GITHUB_COLLABS = {
10
11
}
11
12
12
13
local print = CraftSim .DEBUG :RegisterDebugID (" Data.News" )
14
+ local function newP (v ) return f .l (" \n --- Version " .. v .. " ---\n " ) end
15
+ local function collab (gl ) return f .a .. " - Thanks to " .. f .bb (gl ) end
13
16
14
17
--- @param itemMap table<string , ItemMixin>
15
18
function CraftSim .NEWS :GET_NEWS (itemMap )
16
- -- minimize names to make manual formatting easier :p
17
- local f = GUTIL :GetFormatter ()
18
- local function newP (v ) return f .l (" \n --- Version " .. v .. " ---\n " ) end
19
- local function collab (gl ) return f .a .. " - Thanks to " .. f .bb (gl ) end
19
+
20
20
local supporterListUpdate = f .p .. f .patreon (" Supporter List Update " ) ..
21
21
CraftSim .MEDIA :GetAsTextIcon (CraftSim .MEDIA .IMAGES .PIXEL_HEART , 0.15 )
22
22
local news = {
You can’t perform that action at this time.
0 commit comments