summaryrefslogtreecommitdiff
path: root/drive_null.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-04-12 20:48:19 -0500
committercheapie <no-email-for-you@example.com>2024-04-12 20:48:19 -0500
commit23826516cac0cfa6ab3d50828862544cfe1d9f6b (patch)
tree2f86377630871b32db747a1b655b4b605a5c7a01 /drive_null.lua
parentdab488531aabe5918fcd965299c71b8e239c5ace (diff)
downloadcelevator-23826516cac0cfa6ab3d50828862544cfe1d9f6b.tar
celevator-23826516cac0cfa6ab3d50828862544cfe1d9f6b.tar.gz
celevator-23826516cac0cfa6ab3d50828862544cfe1d9f6b.tar.bz2
celevator-23826516cac0cfa6ab3d50828862544cfe1d9f6b.tar.xz
celevator-23826516cac0cfa6ab3d50828862544cfe1d9f6b.zip
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)
Diffstat (limited to 'drive_null.lua')
-rw-r--r--drive_null.lua4
1 files changed, 4 insertions, 0 deletions
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