forked from n-fisher/cookiecutter-rimworld-mod-development
-
Notifications
You must be signed in to change notification settings - Fork 3
/
cookiecutter.json
90 lines (88 loc) · 3.19 KB
/
cookiecutter.json
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
{
"dummy":"Okay!",
"mod_name": "Example Mod",
"author": "MySteamUsername",
"in_game_description": "A short mod description.",
"mod_ver": ["1.0", "1.1","1.2","1.3","1.4","1.5","2.0"],
"create_empty_definitions": "n",
"rw64": "y",
"harmony": "y",
"helloWorld": "n",
"settings": "n",
"debugLog": "n",
"_visual_studio": {
"dummy": {
"label": "\"Create To\" should be RimWorld/Mods"
},
"mod_name": {
"label": "Mod name",
"description": "The name of your mod (cannot easily change later)"
},
"author": {
"label": "Author",
"description": "Use your Steam username for automatic linking of mod to profile (can change later in About-Release.xml)"
},
"in_game_description" : {
"label": "Mod Description",
"description": "The description of the mod as it appears in-game (can change later in About-Release.xml)"
},
"mod_ver" : {
"label": "Mod Version",
"description": "The version of Rimworld this mod is for (default:1.0)"
},
"create_empty_definitions": {
"label": "Create blank XML definition files",
"description": "Create empty files as templates for your definitions",
"selector": "yesno"
},
"rw64": {
"label": "RimWorldWin64.exe ?",
"description": "Are you using RimWorldWin64.exe or not to develop?",
"selector": "yesno"
},
"harmony":{
"label": "Include Harmony library",
"description": "A useful library to safely patch game code. Include it here, unless your mod will depend on HugsLib, or doesn't need to patch.",
"selector": "yesno"
},
"helloWorld":{
"label": "Log Hello World on start",
"description": "A sample so you know your mod is loaded: Do delete this later.",
"selector": "yesno"
},
"settings":{
"label": "Mod Settings",
"description": "Include extra code and files to use built-in Mod Settings",
"selector": "yesno"
},
"debugLog":{
"label": "Log.Message Debug only",
"description": "This mod defines its own Log.Message, so Logging uses that instead of Verse.Log.Message. This method is disabled in release builds, so you can keep Log.Message in code, and it never spams users",
"selector": "yesno"
}
},
"_visual_studio_post_cmds": [
{
"name": "Tools.Shell",
"args": ["MsBuild.exe",
"{{cookiecutter._output_folder_path}}\\{{cookiecutter.mod_name}}\\{{cookiecutter.mod_name}}.sln",
"/t:Build",
"/p:Configuration=Release",
"/verbosity:minimal"
]
},
{
"name": "Tools.Shell",
"args": ["MsBuild.exe",
"{{cookiecutter._output_folder_path}}\\{{cookiecutter.mod_name}}\\{{cookiecutter.mod_name}}.sln",
"/t:Build",
"/p:Configuration=Debug",
"/verbosity:minimal"
]
},
{
"name": "File.OpenProject",
"args": ["{{cookiecutter._output_folder_path}}\\{{cookiecutter.mod_name}}\\{{cookiecutter.mod_name}}.sln"]
}
]
}