summaryrefslogtreecommitdiff
path: root/meta/3rd/Defold/config.lua
blob: aedca2f1fc5a197770a6f859dd0f980a4ed87ed6 (plain)
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
name    = 'Defold'
files   = {'game.project', '*%.script', '*%.gui_script'}
configs = {
    {
        key    = 'Lua.runtime.version',
        action = 'set',
        value  = 'Lua 5.1',
    },
    {
        key    = 'Lua.workspace.library',
        action = 'set',
        value  = {".internal"},
    },
    {
        key    = 'Lua.workspace.ignoreDir',
        action = 'set',
        value  = {".internal"},
    },
    {
        key    = 'Lua.diagnostics.globals',
        action = 'set',
        value  = {
            "on_input",
            "on_message",
            "init",
            "update",
            "final"
        },
    },
    {
        key    = 'files.associations',
        action = 'set',
        value  = {
            ["*.project"] = "ini",
            ["*.script"] = "lua",
            ["*.gui_script"] = "lua",
            ["*.render_script"] = "lua",
            ["*.editor_script"] = "lua",
            ["*.fp"] = "glsl",
            ["*.vp"] = "glsl",
            ["*.go"] = "textproto",
            ["*.animationset"] = "textproto",
            ["*.atlas"] = "textproto",
            ["*.buffer"] = "json",
            ["*.camera"] = "textproto",
            ["*.collection"] = "textproto",
            ["*.collectionfactory"] = "textproto",
            ["*.collectionproxy"] = "textproto",
            ["*.collisionobject"] = "textproto",
            ["*.display_profiles"] = "textproto",
            ["*.factory"] = "textproto",
            ["*.gamepads"] = "textproto",
            ["*.gui"] = "textproto",
            ["*.input_binding"] = "textproto",
            ["*.label"] = "textproto",
            ["*.material"] = "textproto",
            ["*.mesh"] = "textproto",
            ["*.model"] = "textproto",
            ["*.particlefx"] = "textproto",
            ["*.render"] = "textproto",
            ["*.sound"] = "textproto",
            ["*.spinemodel"] = "textproto",
            ["*.spinescene"] = "textproto",
            ["*.sprite"] = "textproto",
            ["*.texture_profiles"] = "textproto",
            ["*.tilemap"] = "textproto",
            ["*.tilesource"] = "textproto",
            ["*.manifest"] = "textproto"
        }
    },
}