-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.luacheckrc
137 lines (126 loc) · 3.21 KB
/
.luacheckrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
std = "lua52"
new_globals = {
"__errorMessage", -- comes from basic-require.lua
"debug.disableEventLog",
"debug.disableTimerLog",
"system.bindKeyboard",
"system.bindMouse",
"system.disableChatCommandDisplay",
"system.exit",
"system.giveEventGift",
"system.loadFile",
"system.loadPlayerData",
"system.newTimer",
"system.removeTimer",
"system.saveFile",
"system.savePlayerData",
"tfm.enum.emote",
"tfm.enum.ground",
"tfm.enum.particle",
"tfm.enum.shamanObject",
["tfm.enum.emote"] = {other_fields = true},
["tfm.enum.ground"] = {other_fields = true},
["tfm.enum.particle"] = {other_fields = true},
["tfm.enum.shamanObject"] = {other_fields = true},
"tfm.exec.addConjuration",
"tfm.exec.addImage",
"tfm.exec.addJoint",
"tfm.exec.addPhysicObject",
"tfm.exec.addShamanObject",
"tfm.exec.bindKeyboard",
"tfm.exec.changePlayerSize",
"tfm.exec.chatMessage",
"tfm.exec.disableAfkDeath",
"tfm.exec.disableAllShamanSkills",
"tfm.exec.disableAutoNewGame",
"tfm.exec.disableAutoScore",
"tfm.exec.disableAutoShaman",
"tfm.exec.disableAutoTimeLeft",
"tfm.exec.disableDebugCommand",
"tfm.exec.disableMinimalistMode",
"tfm.exec.disableMortCommand",
"tfm.exec.disablePhysicalConsumables",
"tfm.exec.disablePrespawnPreview",
"tfm.exec.disableWatchCommand",
"tfm.exec.displayParticle",
"tfm.exec.explosion",
"tfm.exec.freezePlayer",
"tfm.exec.giveCheese",
"tfm.exec.giveConsumables",
"tfm.exec.giveMeep",
"tfm.exec.giveTransformations",
"tfm.exec.killPlayer",
"tfm.exec.linkMice",
"tfm.exec.lowerSyncDelay",
"tfm.exec.moveObject",
"tfm.exec.movePlayer",
"tfm.exec.newGame",
"tfm.exec.playEmote",
"tfm.exec.playerVictory",
"tfm.exec.removeCheese",
"tfm.exec.removeImage",
"tfm.exec.removeJoint",
"tfm.exec.removeObject",
"tfm.exec.removePhysicObject",
"tfm.exec.respawnPlayer",
"tfm.exec.setAutoMapFlipMode",
"tfm.exec.setGameTime",
"tfm.exec.setNameColor",
"tfm.exec.setPlayerScore",
"tfm.exec.setRoomMaxPlayers",
"tfm.exec.setRoomPassword",
"tfm.exec.setShaman",
"tfm.exec.setShamanMode",
"tfm.exec.setUIMapName",
"tfm.exec.setUIShamanName",
"tfm.exec.setVampirePlayer",
"tfm.exec.snow",
"tfm.get.misc.apiVersion",
"tfm.get.misc.transformiceVersion",
"tfm.get.room.community",
"tfm.get.room.currentMap",
"tfm.get.room.maxPlayers",
"tfm.get.room.mirroredMap",
"tfm.get.room.name",
"tfm.get.room.passwordProtected",
"tfm.get.room.uniquePlayers",
"tfm.get.room.objectList",
"tfm.get.room.playerList",
["tfm.get.room.objectList"] = {other_fields = true},
["tfm.get.room.playerList"] = {other_fields = true},
"tfm.get.room.xmlMapInfo.author",
"tfm.get.room.xmlMapInfo.permCode",
"tfm.get.room.xmlMapInfo.mapCode",
"tfm.get.room.xmlMapInfo.xml"
}
not_globals = {
"collectgarbage",
"dofile",
"load",
"loadfile",
-- "require", -- not included in tfm, but available in this code
"debug.debug",
"debug.getuservalue",
"debug.gethook",
"debug.getinfo",
"debug.getlocal",
"debug.getmetatable",
"debug.getregistry",
"debug.getupvalue",
"debug.setuservalue",
"debug.sethook",
"debug.setlocal",
"debug.setmetatable",
"debug.setupvalue",
"debug.upvalueid",
"debug.upvaluejoin",
"io",
"os.clock",
"os.execute",
"os.exit",
"os.getenv",
"os.remove",
"os.rename",
"os.setlocale",
"os.tmpname"
}