diff --git a/init.lua b/init.lua index bff072b..e16af95 100644 --- a/init.lua +++ b/init.lua @@ -38,6 +38,7 @@ local mods = { "mesecons_detector", "mesecons_luacontroller", "mesecons_microcontroller", + "missions", "mobs", "more_chests", "pipeworks", diff --git a/mod.conf b/mod.conf index af7011a..50f4c4b 100644 --- a/mod.conf +++ b/mod.conf @@ -17,6 +17,7 @@ optional_depends = """ mesecons_detector, mesecons_luacontroller, mesecons_microcontroller, + missions, mobs, more_chests, pipeworks, diff --git a/nodes/missions.lua b/nodes/missions.lua new file mode 100644 index 0000000..6ce85fe --- /dev/null +++ b/nodes/missions.lua @@ -0,0 +1,18 @@ + +-- Register wrench support for the missions mod + +wrench.register_node("missions:mission", { + lists = { "main" }, + metas = { + description = wrench.META_TYPE_STRING, + hidden = wrench.META_TYPE_INT, + infotext = wrench.META_TYPE_STRING, + name = wrench.META_TYPE_STRING, + owner = wrench.META_TYPE_STRING, + steps = wrench.META_TYPE_STRING, + successcount = wrench.META_TYPE_INT, + time = wrench.META_TYPE_INT, + valid = wrench.META_TYPE_INT, + }, +}) +