180 lines
3.7 KiB
Lua
Raw Normal View History

2021-12-12 20:01:37 -06:00
-- Global farming namespace
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
farming = {}
farming.path = minetest.get_modpath("farming")
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
-- toolranks support
if minetest.get_modpath("toolranks") then
function farming.add_hoe(material)
-- registering as tool
local name = material
toolranks.add_tool(material)
-- getting after_use
local def = minetest.registered_items[name]
local hoe_on_use = def.on_use
local hoe_after_use = def.after_use
if (hoe_on_use == nil) or (hoe_after_use == nil) then
return
end
minetest.override_item(name, {
-- we also want hoes to increase dugnodes when farming soil
on_use = function(itemstack, user, pointed_thing, uses)
-- if no node is pointed, the hoe cannot be used
if pointed_thing.under == nil then
return nil
end
local under = minetest.get_node(pointed_thing.under)
-- get origin wear
local wear = itemstack:get_wear()
-- apply previous on_use
local ret_itemstack = hoe_on_use(itemstack, user, pointed_thing, uses)
if ret_itemstack == nil then
return nil
end
-- compute wear diff
local hoe_uses = ret_itemstack:get_wear() - wear
-- set wear back because it is up to hoe_after_use to add wear
ret_itemstack:set_wear(wear)
-- apply afteruse
return hoe_after_use(ret_itemstack, user, under, {wear = hoe_uses})
end
})
end
end
2021-12-12 20:01:37 -06:00
-- Load files
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
dofile(farming.path .. "/api.lua")
dofile(farming.path .. "/nodes.lua")
dofile(farming.path .. "/hoes.lua")
-- WHEAT
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
farming.register_plant("farming:wheat", {
description = "Wheat Seed",
paramtype2 = "meshoptions",
inventory_image = "farming_wheat_seed.png",
steps = 8,
minlight = 13,
maxlight = default.LIGHT_MAX,
fertility = {"grassland"},
groups = {flammable = 4},
place_param2 = 3,
})
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
minetest.register_craftitem("farming:flour", {
description = "Flour",
inventory_image = "farming_flour.png",
groups = {flammable = 1},
})
minetest.register_craftitem("farming:bread", {
description = "Bread",
inventory_image = "farming_bread.png",
on_use = minetest.item_eat(5),
groups = {flammable = 2},
})
minetest.register_craft({
type = "shapeless",
output = "farming:flour",
recipe = {"farming:wheat", "farming:wheat", "farming:wheat", "farming:wheat"}
})
minetest.register_craft({
type = "cooking",
cooktime = 15,
output = "farming:bread",
recipe = "farming:flour"
})
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
-- Cotton
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
farming.register_plant("farming:cotton", {
description = "Cotton Seed",
inventory_image = "farming_cotton_seed.png",
steps = 8,
minlight = 13,
maxlight = default.LIGHT_MAX,
fertility = {"grassland", "desert"},
groups = {flammable = 4},
})
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
minetest.register_craftitem("farming:string", {
description = "String",
inventory_image = "farming_string.png",
groups = {flammable = 2},
})
2021-12-12 20:01:37 -06:00
minetest.register_craft({
output = "wool:white",
recipe = {
{"farming:cotton", "farming:cotton"},
{"farming:cotton", "farming:cotton"},
}
})
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
minetest.register_craft({
output = "farming:string 2",
recipe = {
{"farming:cotton"},
{"farming:cotton"},
}
})
2021-12-12 20:01:37 -06:00
-- Straw
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
minetest.register_craft({
output = "farming:straw 3",
recipe = {
{"farming:wheat", "farming:wheat", "farming:wheat"},
{"farming:wheat", "farming:wheat", "farming:wheat"},
{"farming:wheat", "farming:wheat", "farming:wheat"},
}
})
minetest.register_craft({
output = "farming:wheat 3",
recipe = {
{"farming:straw"},
}
})
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
-- Fuels
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
2021-12-12 20:01:37 -06:00
minetest.register_craft({
type = "fuel",
recipe = "farming:straw",
burntime = 3,
})
minetest.register_craft({
type = "fuel",
recipe = "farming:wheat",
burntime = 1,
})
minetest.register_craft({
type = "fuel",
recipe = "farming:cotton",
burntime = 1,
})
up to date to minenux gameid mods stable-4.0 version 4.0.17.4 * this cherry pícked from comit at https://codeberg.org/minenux/minetest-game-minetest/commit/6861a44b605b23bce4795a2b011e0a1dc476fa3c * https://codeberg.org/minenux/minetest-game-minetest/commit/74702c6ada3a62e03fe1d861681129bfb791383d * Carts: Replace old, deprecated function names mods/carts/cart_entity.lua * Mushroom spread: make overridable and reduce spread * Move mushroom spread ABM action into a global and overridable function. but do not optimise spread code mods/flowers/init.lua * backported bcf98df5fac3eb59b02d9fdb066ab92c6228d787 * Reduce spread range to reduce spread through walls. * https://codeberg.org/minenux/minetest-game-minetest/commit/657f7cee6edabacd2582c7031ae9def05aada4a1 set art and game default, use minenux name and logo venenux * backported https://codeberg.org/minenux/minetest-game-minetest/commit/d5cc8c46f66420eb14f23c83a3b57eff731ceb89 * Flowers: More flowers * now we are into minenux so minetest4 stable-4.0 branch for engine * https://codeberg.org/minenux/minetest-game-minetest/commit/95e70da3a68fd46083b640ee74ea3995dfa327d7 Default: Increase the maximum level of the diamond axe to 3 * backported https://github.com/minetest/minetest_game/pull/1854 * This is the maximum level of the other diamond tools and makes the number of uses similar to them at mods/default/tools.lua * fixed https://github.com/minetest/minetest_game/issues/1456 Diamond axe breaks earlier than mese axe * https://codeberg.org/minenux/minetest-game-minetest/commit/535204298e95a84f6169a6a9c8c1f970e1ed4e25 * Farming: Make cotton look like cotton, add crafted string item * Remove string -> cotton alias. * mods/farming/README.txt, mods/farming/init.lua, mods/farming/textures/farming_cotton.png, mods/farming/textures/farming_string.png * https://codeberg.org/minenux/minetest-game-minetest/commit/2b6de659cb52826388db870fb63cd05571df7bf5 Floatland biomes: Add ocean biomes to fix missing sandstone * Update biome lists for blob ores mods/default/mapgen.lua * backported bdc09d2313e5734400d2283549c4906d77a546d0 * https://codeberg.org/minenux/minetest-game-minetest/commit/e07ad71d11ea9b3700f945d4a3fc1587c41994c6 https://codeberg.org/minenux/minetest-game-minetest/commit/aa7f6cd0603e563d81ea7563baaef063aec0550e https://codeberg.org/minenux/minetest-game-minetest/commit/4a1fc02e8270d5ad0e6136bdfde3290b612ef4a5 Make sapling, leaves and fence descriptions consistent Descriptions: Make capitalization consistent also in Improve node descriptions for most default items and nodes * backported https://github.com/minetest/minetest_game/pull/1834 * addressed consistency issues previously discussed in: * https://github.com/minetest/minetest_game/issues/1473 Bad item descriptions: Too generic descriptions among specific descriptions also cos has a strong tendency towards mixing generic item names * https://github.com/minetest/minetest_game/issues/1817 Add tree species to descriptions for appletree and jungletree No change to node technical names though. Normal wood is obviously an appletree * mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/vessels/init.lua, mods/default/nodes.lua, mods/doors/init.lua, mods/flowers/init.lua, mods/carts/rails.lua, mods/dye/init.lua, mods/farming/init.lua and mods/xpanes/init.lua * backported https://github.com/minetest/minetest_game/pull/1795 * https://codeberg.org/minenux/minetest-game-minetest/commit/fb610ffa59ee1f14dccd1d07ac8f2cdd294b4187 Allow mossy cobble slabs to combine mods/stairs/init.lua * backported https://github.com/minetest/minetest_game/pull/1791 * fixed https://github.com/minetest/minetest_game/issues/1790 * https://codeberg.org/minenux/minetest-game-minetest/commit/d37c1d231259f659fd1f6c95b4e2c2115d6ef423 * Creative: Do not give creative priv to admin mods/creative/init.lua * https://codeberg.org/minenux/minetest-game-minetest/commit/commit fea78bdf541e6106408018441937d77d163963e5 * Creative: Add 'creative' privilege for survival servers * This adds a 'creative' privilege to survival servers which OPs can bestow on admin or competent builders to give access to the creative inventory. * backported from 0157175346f9af8cf9ea5ffeb5f3d91fa474d044
2021-12-12 20:39:01 -06:00
minetest.register_craft({
type = "fuel",
recipe = "farming:string",
burntime = 1,
})
2021-12-12 20:01:37 -06:00
minetest.register_craft({
type = "fuel",
recipe = "farming:hoe_wood",
burntime = 5,
})