Page MenuHome1F616EMO Bugtracker

No OneTemporary

Size
7 KB
Referenced Files
None
Subscribers
None
diff --git a/basic_materials_mod/init.lua b/basic_materials_mod/init.lua
index 8df3ed1..7585be0 100644
--- a/basic_materials_mod/init.lua
+++ b/basic_materials_mod/init.lua
@@ -1,97 +1,107 @@
-- twi_mods/basic_materials_mod/init.lua
-- Basic Materials Modifications
--[[
Copyright (C) 2024 1F616EMO
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
]]
local S = minetest.get_translator("basic_materials_mod")
-- Eliminate the need of padlocks, use steel ingot instead
minetest.register_alias_force("basic_materials:padlock", "default:steel_ingot")
minetest.clear_craft({
output = "basic_materials:padlock 2",
recipe = {
{ "basic_materials:steel_bar" },
{ "default:steel_ingot" },
{ "default:steel_ingot" },
},
})
minetest.override_item("basic_materials:oil_extract", {
inventory_image = "twi_oil_extract.png", -- From pipeworks not homedecor
})
-- Remove the intermediate process of oil -> paraffin -> plastic
minetest.register_alias_force("basic_materials:paraffin", "basic_materials:plastic_sheet")
minetest.clear_craft({
type = "cooking",
output = "basic_materials:plastic_sheet",
recipe = "basic_materials:paraffin",
})
minetest.clear_craft({
type = "cooking",
output = "basic_materials:paraffin",
recipe = "basic_materials:oil_extract",
})
minetest.register_craft({
type = "cooking",
output = "basic_materials:plastic_sheet",
recipe = "basic_materials:oil_extract",
cooktime = 6, -- Double the original
})
minetest.override_item("basic_materials:oil_extract", {
_doc_items_longdesc = S("Oil extracted from leaves."),
_doc_items_usagehelp = S("Crafted from 6 leaves. This can be processed into plastic by smelting.")
})
minetest.override_item("basic_materials:plastic_sheet", {
_doc_items_longdesc = S("Plastic for machine crafting."),
_doc_items_usagehelp = S("Produced by smelting oil extracts. This is useful in crafting high-tech items.")
})
-- Remove the need of wire spool
local wire_ingot_pair = {
-- default
["basic_materials:steel_wire"] = "default:steel_ingot",
["basic_materials:copper_wire"] = "default:copper_ingot",
["basic_materials:gold_wire"] = "default:gold_ingot",
-- technic
["basic_materials:stainless_steel_wire"] = "technic:stainless_steel_ingot",
-- moreores
["basic_materials:silver_wire"] = "moreores:silver_ingot",
}
minetest.register_alias_force("basic_materials:empty_spool", "")
minetest.clear_craft({
output = "basic_materials:empty_spool 3",
recipe = {
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "", "basic_materials:plastic_sheet", "" },
{ "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
for wire, ingot in pairs(wire_ingot_pair) do
minetest.register_alias_force(wire, ingot)
minetest.clear_craft({
output = wire .. " 2",
type = "shapeless",
recipe = {
ingot,
"basic_materials:empty_spool",
"basic_materials:empty_spool",
},
})
end
+
+-- Replace simple Energy Crystal with torch
+minetest.register_alias_force("basic_materials:energy_crystal_simple", "default:torch")
+minetest.clear_craft({
+ output = "basic_materials:energy_crystal_simple 2",
+ recipe = {
+ { "default:mese_crystal_fragment", "default:torch", "default:mese_crystal_fragment" },
+ { "default:diamond", "default:gold_ingot", "default:diamond" }
+ },
+})
diff --git a/farming_mod/LICENSE.txt b/farming_mod/LICENSE.txt
new file mode 100644
index 0000000..7e9209e
--- /dev/null
+++ b/farming_mod/LICENSE.txt
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2016 TenPlus1
+Copyright (c) 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.
\ No newline at end of file
diff --git a/farming_mod/init.lua b/farming_mod/init.lua
new file mode 100644
index 0000000..94a6083
--- /dev/null
+++ b/farming_mod/init.lua
@@ -0,0 +1,36 @@
+-- twi_mods/farming_mod/init.lua
+-- Handle framing redo changes
+--[[
+ The MIT License (MIT)
+
+ Copyright (c) 2016 TenPlus1
+ Copyright (c) 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.
+]]
+
+if farming.mod ~= "redo" then
+ error("[twi_mods/farming_mod] Only works with Farming Redo")
+end
+
+-- Tomato red dye
+minetest.register_craft({
+ output = farming.recipe_items.dye_red,
+ recipe = {{"group:food_tomato"}}
+})
\ No newline at end of file
diff --git a/farming_mod/mod.conf b/farming_mod/mod.conf
new file mode 100644
index 0000000..4f1b777
--- /dev/null
+++ b/farming_mod/mod.conf
@@ -0,0 +1,2 @@
+name = farming_mod
+depends = farming
\ No newline at end of file

File Metadata

Mime Type
text/x-diff
Expires
Sat, Feb 28, 2:40 AM (3 d, 23 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
52/d6/2e99d1f70ed832ba68aae9515bf1
Default Alt Text
(7 KB)

Event Timeline