Page MenuHome1F616EMO Bugtracker

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/alternode_mod/init.lua b/alternode_mod/init.lua
new file mode 100644
index 0000000..1d0625c
--- /dev/null
+++ b/alternode_mod/init.lua
@@ -0,0 +1,37 @@
+-- twi_mods/alternode_mod/init.lua
+-- modification of alternode
+--[[
+ The MIT License (MIT)
+
+ Copyright © 2021 Jordan Irwin (AntumDeluge)
+ Copyright © 2024 1F616EMO
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+]]
+
+-- Disable key and pencil
+for _, name in ipairs({
+ alternode.modname .. ":pencil",
+ alternode.modname .. ":key"
+}) do
+ minetest.clear_craft({
+ output = name,
+ })
+ minetest.unregister_item(name)
+end
diff --git a/alternode_mod/mod.conf b/alternode_mod/mod.conf
new file mode 100644
index 0000000..b7725b5
--- /dev/null
+++ b/alternode_mod/mod.conf
@@ -0,0 +1,2 @@
+name = alternode_mod
+depends = alternode

File Metadata

Mime Type
text/x-diff
Expires
Wed, Oct 29, 12:51 PM (15 m, 20 s ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
17/d9/56fbf6abfdfbf732d5cd606c8860
Default Alt Text
(1 KB)

Event Timeline