From 23826516cac0cfa6ab3d50828862544cfe1d9f6b Mon Sep 17 00:00:00 2001 From: cheapie Date: Fri, 12 Apr 2024 20:48:19 -0500 Subject: Add COP Still more things I want to add to it, but it works for now. Should show up in existing cars (once they do something for the first time, for now) --- drive_null.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drive_null.lua') diff --git a/drive_null.lua b/drive_null.lua index 417d857..db4e394 100644 --- a/drive_null.lua +++ b/drive_null.lua @@ -230,3 +230,7 @@ function celevator.drives.null.resetfault(pos) --This drive has no possible faults at this time (drive communication faults are generated by the controller), but the controller expects to be able to call this minetest.get_meta(pos):set_string("fault","") end + +function celevator.drives.null.updatecopformspec() + --No car means no COP +end -- cgit v1.2.3