Page MenuHome1F616EMO Bugtracker

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/technic_mod/init.lua b/technic_mod/init.lua
index b2f0ad5..a6a0165 100644
--- a/technic_mod/init.lua
+++ b/technic_mod/init.lua
@@ -1,32 +1,29 @@
-- twi_mods/technic_mod/init.lua
-- Modifications on technic mods
--[[
Copyright (C) 2012-2024 Technic contributors
Copyright (C) 2024 1F616EMO
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
]]
-- Disable technic:music_player
minetest.clear_craft({
output = "technic:music_player",
})
-do
- local groups = minetest.registered_nodes["technic:music_player"].groups
- groups.not_in_creative_inventory = 1
- groups.not_in_craft_guide = 1
- minetest.override_item("technic:music_player",{
- groups = groups,
- })
-end
\ No newline at end of file
+twi_fx.override_group("technic:music_player", {
+ not_in_creative_inventory = 1,
+ not_in_craft_guide = 1,
+})
+
diff --git a/technic_mod/mod.conf b/technic_mod/mod.conf
index 675b26a..af6d7bf 100644
--- a/technic_mod/mod.conf
+++ b/technic_mod/mod.conf
@@ -1,2 +1,2 @@
name = technic_mod
-depends = technic, technic_chests, technic_cnc, technic_worldgen, extranodes
+depends = technic, technic_chests, technic_cnc, technic_worldgen, extranodes, twi_fx

File Metadata

Mime Type
text/x-diff
Expires
Wed, Jun 10, 9:56 AM (3 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
da/67/b3b803436f83f46452b4ec37df8d
Default Alt Text
(1 KB)

Event Timeline