This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Class = setmetatable({ | |
new = function(arg1, arg2, arg3) | |
local obj = {} | |
obj.var1 = arg1 | |
obj.var2 = arg2 | |
obj.var3 = arg3 | |
obj.out = function (self, arg) | |
print(self[arg]) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function love.load() | |
player = { | |
grid_x = 256, | |
grid_y = 256, | |
act_x = 256, | |
act_y = 256, | |
speed = 10 | |
} | |
map = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules['subredditLinker'] = { | |
moduleID: 'subredditLinker', | |
moduleName: 'Subreddit Linker', | |
options: { }, | |
description: 'Finds any subreddit mentions that are not links and converts them into links.', | |
isEnabled: function() { | |
return RESConsole.getModulePrefs(this.moduleID); | |
}, | |
include: Array( | |
/https?:\/\/([a-z]+).reddit.com\/user\/[-\w\.]+/i, |