From aa07ccce9ea47904954b696346c4afff8e8c6149 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS <161979+SwissalpS@users.noreply.github.com> Date: Thu, 9 Jan 2025 07:03:05 +0100 Subject: [PATCH] add simulation_expiry to [jumpdrive] (#42) --- nodes/jumpdrive.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nodes/jumpdrive.lua b/nodes/jumpdrive.lua index c649bb5..0f729e4 100644 --- a/nodes/jumpdrive.lua +++ b/nodes/jumpdrive.lua @@ -16,7 +16,8 @@ wrench.register_node("jumpdrive:engine", { infotext = wrench.META_TYPE_STRING, formspec = wrench.META_TYPE_IGNORE, -- legacy field HV_EU_input = wrench.META_TYPE_IGNORE, - HV_EU_demand = wrench.META_TYPE_IGNORE + HV_EU_demand = wrench.META_TYPE_IGNORE, + simulation_expiry = wrench.META_TYPE_INT, }, after_place = function(pos) jumpdrive.update_formspec(core.get_meta(pos), pos) @@ -38,3 +39,4 @@ wrench.register_node("jumpdrive:fleet_controller", { jump_list = wrench.META_TYPE_STRING } }) +