mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-27 05:13:48 +01:00
Hide WIP items from craft guide, more cleanup
- Make fishing rod uncraftable (too overpowered) - Lift WIP status from golden apple - Lift Experimental status from lookup tool
parent
a1e53fa129
commit
899acaab0e
@ -86,7 +86,8 @@ mobs_mc.override.items = {
|
|||||||
mycelium = "mcl_core:mycelium",
|
mycelium = "mcl_core:mycelium",
|
||||||
carrot = "mcl_farming:carrot_item",
|
carrot = "mcl_farming:carrot_item",
|
||||||
golden_carrot = "mcl_farming:carrot_item_gold",
|
golden_carrot = "mcl_farming:carrot_item_gold",
|
||||||
fishing_rod = "mcl_fishing:fishing_rod",
|
fishing_rod = "mcl_core:stick",
|
||||||
|
--TODO: Re-enable: fishing_rod = "mcl_fishing:fishing_rod",
|
||||||
fish_raw = "mcl_fishing:fish_raw",
|
fish_raw = "mcl_fishing:fish_raw",
|
||||||
salmon_raw = "mcl_fishing:salmon_raw",
|
salmon_raw = "mcl_fishing:salmon_raw",
|
||||||
clownfish_raw = "mcl_fishing:clownfish_raw",
|
clownfish_raw = "mcl_fishing:clownfish_raw",
|
||||||
|
@ -94,6 +94,12 @@ minetest.register_tool("mcl_fishing:fishing_rod", {
|
|||||||
sound = { breaks = "default_tool_breaks" },
|
sound = { breaks = "default_tool_breaks" },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--[[
|
||||||
|
|
||||||
|
Temporarily removed from crafting as the fishing rod is massively overpowered atm.
|
||||||
|
|
||||||
|
TODO: Re-enable crafting when fishing rod has been improved.
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_fishing:fishing_rod",
|
output = "mcl_fishing:fishing_rod",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -110,6 +116,7 @@ minetest.register_craft({
|
|||||||
{'mcl_mobitems:string','','mcl_core:stick'},
|
{'mcl_mobitems:string','','mcl_core:stick'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
]]
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
|
@ -311,7 +311,7 @@ minetest.register_craftitem("mcl_mobitems:gunpowder", {
|
|||||||
minetest.register_tool("mcl_mobitems:carrot_on_a_stick", {
|
minetest.register_tool("mcl_mobitems:carrot_on_a_stick", {
|
||||||
description = "Carrot on a Stick",
|
description = "Carrot on a Stick",
|
||||||
_doc_items_longdesc = "A carrot on a stick can be used on saddled pigs to ride them.",
|
_doc_items_longdesc = "A carrot on a stick can be used on saddled pigs to ride them.",
|
||||||
_doc_items_usagehelp = "Rightclick a saddled pig with the carrot on a stick to mount it. You can now ride it like a horse (TODO). Pigs will also walk towards you when you just wield the carrot on a stick.",
|
_doc_items_usagehelp = "Rightclick a saddled pig with the carrot on a stick to mount it. You can now ride it like a horse. Pigs will also walk towards you when you just wield the carrot on a stick.",
|
||||||
wield_image = "mcl_mobitems_carrot_on_a_stick.png",
|
wield_image = "mcl_mobitems_carrot_on_a_stick.png",
|
||||||
inventory_image = "mcl_mobitems_carrot_on_a_stick.png",
|
inventory_image = "mcl_mobitems_carrot_on_a_stick.png",
|
||||||
groups = { transport = 1 },
|
groups = { transport = 1 },
|
||||||
@ -353,6 +353,8 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--[[
|
||||||
|
TODO: Re-enable this when fishing rod is available again
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_mobitems:carrot_on_a_stick",
|
output = "mcl_mobitems:carrot_on_a_stick",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -368,6 +370,7 @@ minetest.register_craft({
|
|||||||
{ "mcl_farming:carrot_item", "" },
|
{ "mcl_farming:carrot_item", "" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
]]
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
|
@ -91,6 +91,24 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_mobitems:carrot_on_a_stick",
|
||||||
|
recipe = {
|
||||||
|
{ "", "", "mcl_core:stick", },
|
||||||
|
{ "", "mcl_core:stick", "mcl_mobitems:string", },
|
||||||
|
{ "mcl_core:stick", "", "mcl_farming:carrot_item" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_mobitems:carrot_on_a_stick",
|
||||||
|
recipe = {
|
||||||
|
{ "mcl_core:stick", "", "" },
|
||||||
|
{ "mcl_mobitems:string", "mcl_core:stick", "", },
|
||||||
|
{ "mcl_farming:carrot_item", "", "mcl_core:stick" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_jukebox:record_2",
|
output = "mcl_jukebox:record_2",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -115,6 +133,7 @@ minetest.register_craft({
|
|||||||
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
|
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- 2 discs are dropped by creeper
|
-- 2 discs are dropped by creeper
|
||||||
-- 1 disc is droppd by zombie
|
-- 1 disc is droppd by zombie
|
||||||
-- TODO: Remove/fix these drops when creeper drops music discs properly
|
-- TODO: Remove/fix these drops when creeper drops music discs properly
|
||||||
|
@ -2,7 +2,6 @@ local wip_items = {
|
|||||||
"mcl_anvils:anvil",
|
"mcl_anvils:anvil",
|
||||||
"mcl_anvils:anvil_damage_1",
|
"mcl_anvils:anvil_damage_1",
|
||||||
"mcl_anvils:anvil_damage_2",
|
"mcl_anvils:anvil_damage_2",
|
||||||
"mcl_core:apple_gold",
|
|
||||||
"mcl_end:chorus_fruit",
|
"mcl_end:chorus_fruit",
|
||||||
"mcl_end:chorus_flower",
|
"mcl_end:chorus_flower",
|
||||||
"mcl_end:chorus_flower_dead",
|
"mcl_end:chorus_flower_dead",
|
||||||
@ -23,6 +22,7 @@ local wip_items = {
|
|||||||
"mcl_portals:end_portal_frame",
|
"mcl_portals:end_portal_frame",
|
||||||
"mcl_portals:end_portal_frame_eye",
|
"mcl_portals:end_portal_frame_eye",
|
||||||
}
|
}
|
||||||
|
local experimental_items = {}
|
||||||
|
|
||||||
for i=1,#wip_items do
|
for i=1,#wip_items do
|
||||||
local def = minetest.registered_items[wip_items[i]]
|
local def = minetest.registered_items[wip_items[i]]
|
||||||
@ -31,14 +31,12 @@ for i=1,#wip_items do
|
|||||||
break
|
break
|
||||||
end
|
end
|
||||||
local new_description = def.description
|
local new_description = def.description
|
||||||
|
local new_groups = table.copy(def.groups)
|
||||||
new_description = new_description .. "\n"..core.colorize("#FF0000", "(WIP)")
|
new_description = new_description .. "\n"..core.colorize("#FF0000", "(WIP)")
|
||||||
minetest.override_item(wip_items[i], { description = new_description })
|
new_groups.not_in_craft_guide = 1
|
||||||
|
minetest.override_item(wip_items[i], { description = new_description, groups = new_groups })
|
||||||
end
|
end
|
||||||
|
|
||||||
local experimental_items = {
|
|
||||||
"doc_identifier:identifier_solid",
|
|
||||||
"doc_identifier:identifier_liquid",
|
|
||||||
}
|
|
||||||
for i=1,#experimental_items do
|
for i=1,#experimental_items do
|
||||||
local def = minetest.registered_items[experimental_items[i]]
|
local def = minetest.registered_items[experimental_items[i]]
|
||||||
if not def then
|
if not def then
|
||||||
|
Loading…
Reference in New Issue
Block a user