Skip to content

Commit

Permalink
add simulation_expiry to [jumpdrive] (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS authored Jan 9, 2025
1 parent 02928b9 commit aa07ccc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nodes/jumpdrive.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -38,3 +39,4 @@ wrench.register_node("jumpdrive:fleet_controller", {
jump_list = wrench.META_TYPE_STRING
}
})

0 comments on commit aa07ccc

Please sign in to comment.