diff --git a/mod/_metadata/modinfo.json b/mod/_metadata/modinfo.json new file mode 100644 index 0000000..aaee126 --- /dev/null +++ b/mod/_metadata/modinfo.json @@ -0,0 +1,15 @@ +{ + "authors": [ + { + "name": "haylan", + "role": "CREATOR" + } + ], + "description": "Lets road vehicles overtake slower vehicles (work in progress).", + "summary": "Vehicle overtaking (WIP)", + "name": "Overtake", + "tags": [ + "script" + ], + "url": "" +} diff --git a/mod/content/mod.script.tl b/mod/content/mod.script.tl new file mode 100644 index 0000000..1ffcafa --- /dev/null +++ b/mod/content/mod.script.tl @@ -0,0 +1,11 @@ +local mod = {} + +mod.preRunFn = function(_configDict : {{string, string}}, _allModParams : {string : {string : integer}}, _baseConfig : BaseConfig) + print("[haylan_tf3_overtake] hello from preRunFn") +end + +mod.postRunFn = function(_configDict : {{string, string}}, _allModParams : {string : {string : integer}}) + print("[haylan_tf3_overtake] hello from postRunFn") +end + +return mod diff --git a/mod/mod.json b/mod/mod.json new file mode 100644 index 0000000..524d4d7 --- /dev/null +++ b/mod/mod.json @@ -0,0 +1,13 @@ +{ + "modId": "haylan_tf3_overtake", + "revision": 1, + "severityAdd": "None", + "severityRemove": "Warning", + "cosmetic": false, + "preRunScript": { + "fileName": "haylan_tf3_overtake::mod.script@preRunFn" + }, + "postRunScript": { + "fileName": "haylan_tf3_overtake::mod.script@postRunFn" + } +}