forked from Mineclonia/Mineclonia
Mark lookup tool as experimental item
This commit is contained in:
parent
586b2b2735
commit
ea24e62018
|
@ -2,7 +2,6 @@ mcl_boats
|
||||||
mcl_anvils
|
mcl_anvils
|
||||||
mcl_core
|
mcl_core
|
||||||
mcl_end
|
mcl_end
|
||||||
mcl_flowers
|
|
||||||
mcl_fishing
|
mcl_fishing
|
||||||
mcl_maps
|
mcl_maps
|
||||||
mcl_mobitems
|
mcl_mobitems
|
||||||
|
@ -11,3 +10,4 @@ mcl_sponges
|
||||||
gemalde
|
gemalde
|
||||||
signs
|
signs
|
||||||
mcl_observers
|
mcl_observers
|
||||||
|
doc_identifier
|
||||||
|
|
|
@ -43,3 +43,20 @@ for i=1,#wip_items do
|
||||||
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 })
|
minetest.override_item(wip_items[i], { description = new_description })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local experimental_items = {
|
||||||
|
"doc_identifier:identifier_solid",
|
||||||
|
"doc_identifier:identifier_liquid",
|
||||||
|
}
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue