1 -- Mod to mark WIP (Work In Progress) content
3 local S
= minetest
.get_translator("mcl_wip")
6 "mcl_fishing:fishing_rod",
8 "mcl_comparators:comparator_off_comp",
9 "mcl_minecarts:hopper_minecart",
10 "mcl_minecarts:command_block_minecart",
11 "mcl_minecarts:chest_minecart",
12 "mcl_minecarts:furnace_minecart",
13 "mcl_minecarts:tnt_minecart",
14 "mcl_minecarts:activator_rail",
15 "mobs_mc:enderdragon",
20 local experimental_items
= {
24 local def
= minetest
.registered_items
[wip_items
[i]]
26 minetest
.log("error", "[mcl_wip] Unknown item: "..wip_items
[i
])
29 local new_description
= def
.description
30 local new_groups
= table.copy(def
.groups
)
31 if new_description
== "" then
32 new_description
= wip_items
[i
]
34 new_description
= new_description
.. "\n"..core
.colorize("#FF0000", S("(WIP)"))
35 new_groups
.not_in_craft_guide
= 1
36 minetest
.override_item(wip_items
[i
], { description
= new_description
, groups
= new_groups
})
39 for i
=1,#experimental_items
do
40 local def
= minetest
.registered_items
[experimental_items
[i]]
42 minetest
.log("error", "[mcl_wip] Unknown item: "..experimental_items
[i
])
45 local new_description
= def
.description
46 new_description
= new_description
.. "\n"..core
.colorize("#FFFF00", S("(Temporary)"))
47 minetest
.override_item(experimental_items
[i
], { description
= new_description
})