We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae90959 commit e8bd346Copy full SHA for e8bd346
base/start.lua
@@ -1,7 +1,12 @@
1
-mod_metadata("version", "1.0.0")
2
-
3
local json = require("mods/base/json")
4
+-- metadata about the base mod
+if current_mod_path == "mods/base" or current_mod_path == "mods\\base" then
5
+ mod_metadata("name", "Base Mod")
6
+ mod_metadata("version", "1.0.0")
7
+ mod_metadata("author", "the B2L team")
8
+end
9
+
10
-- helper for dealing with json data
11
function jet_json_patch(path, callback)
12
jet_text_patch(path, function(contents)
@@ -13,4 +18,5 @@ function jet_json_patch(path, callback)
13
18
end)
14
19
end
15
20
21
+-- database of file paths
16
22
database = require("mods/base/database")
0 commit comments