2017-02-22 00:46:13 +00:00
|
|
|
local wip_items = {
|
|
|
|
"mcl_anvils:anvil",
|
|
|
|
"mcl_anvils:anvil_damage_1",
|
|
|
|
"mcl_anvils:anvil_damage_2",
|
|
|
|
"mcl_end:chorus_fruit",
|
|
|
|
"mcl_end:chorus_flower",
|
|
|
|
"mcl_end:chorus_flower_dead",
|
|
|
|
"mcl_fishing:fishing_rod",
|
|
|
|
"mcl_maps:empty_map",
|
|
|
|
"gemalde:node_1",
|
|
|
|
"mcl_observers:observer",
|
2017-03-16 01:13:35 +00:00
|
|
|
"mcl_chests:trapped_chest",
|
2017-07-06 12:29:29 +00:00
|
|
|
"mobs_mc:totem",
|
2017-07-27 02:04:12 +00:00
|
|
|
"mcl_paintings:painting",
|
2017-08-28 00:08:41 +00:00
|
|
|
"mcl_comparators:comparator_off_comp",
|
2017-08-28 12:19:46 +00:00
|
|
|
"mcl_minecarts:hopper_minecart",
|
|
|
|
"mcl_minecarts:command_block_minecart",
|
|
|
|
"mcl_minecarts:chest_minecart",
|
|
|
|
"mcl_minecarts:furnace_minecart",
|
|
|
|
"mcl_minecarts:tnt_minecart",
|
2017-08-28 22:13:18 +00:00
|
|
|
"mcl_minecarts:activator_rail",
|
2017-09-02 13:49:41 +00:00
|
|
|
"mcl_portals:end_portal_frame",
|
|
|
|
"mcl_portals:end_portal_frame_eye",
|
2017-02-22 00:46:13 +00:00
|
|
|
}
|
2017-11-20 06:52:24 +00:00
|
|
|
local experimental_items = {}
|
2017-02-22 00:46:13 +00:00
|
|
|
|
|
|
|
for i=1,#wip_items do
|
|
|
|
local def = minetest.registered_items[wip_items[i]]
|
|
|
|
if not def then
|
|
|
|
minetest.log("error", "[mcl_wip] Unknown item: "..wip_items[i])
|
|
|
|
break
|
|
|
|
end
|
|
|
|
local new_description = def.description
|
2017-11-20 06:52:24 +00:00
|
|
|
local new_groups = table.copy(def.groups)
|
2017-02-22 00:46:13 +00:00
|
|
|
new_description = new_description .. "\n"..core.colorize("#FF0000", "(WIP)")
|
2017-11-20 06:52:24 +00:00
|
|
|
new_groups.not_in_craft_guide = 1
|
|
|
|
minetest.override_item(wip_items[i], { description = new_description, groups = new_groups })
|
2017-02-22 00:46:13 +00:00
|
|
|
end
|
2017-03-18 00:18:33 +00:00
|
|
|
|
|
|
|
for i=1,#experimental_items do
|
|
|
|
local def = minetest.registered_items[experimental_items[i]]
|
|
|
|
if not def then
|
|
|
|
minetest.log("error", "[mcl_wip] Unknown item: "..experimental_items[i])
|
|
|
|
break
|
|
|
|
end
|
|
|
|
local new_description = def.description
|
|
|
|
new_description = new_description .. "\n"..core.colorize("#FFFF00", "(Experimental)")
|
|
|
|
minetest.override_item(experimental_items[i], { description = new_description })
|
|
|
|
end
|
|
|
|
|
|
|
|
|