add readme

This commit is contained in:
tenplus1 2024-12-17 12:07:57 +00:00
parent a68af1da1e
commit 0164542bef
2 changed files with 30 additions and 1 deletions

21
README.md Normal file
View File

@ -0,0 +1,21 @@
Moonflower by MirceaKitsune and TenPlus1
This mod adds a rare moon flower to the world which opens during the night if the sky above is clear, new features include eating the flower for temporary moon-vision so you can see at night, and a special item drop to transform items.
Api functions include:
moonflower.transform_item(from_item, to_item)
moonflower.clear_items()
Changelog:
- 0.1 - Original mod (https://github.com/MirceaKitsune/minetest_mods_moonflower)
- 0.2 - Added moon-vision feature
- 0.3 - Added item transform feature
- 0.4 - Tweaked and tidied code
- 0.5 - Added particle and sound effects

View File

@ -100,7 +100,6 @@ local item_list = {
{"default:tin_lump", "default:tin_ingot"}, {"default:tin_lump", "default:tin_ingot"},
{"lapis:pyrite_lump", "lapis:pyrite_ingot"}, {"lapis:pyrite_lump", "lapis:pyrite_ingot"},
{"bucket:bucket_water", "bucket:bucket_river_water"}, {"bucket:bucket_water", "bucket:bucket_river_water"},
{"farming:sugar", "xanadu:cinnamon_powder"},
{"ethereal:charcoal_lump", "default:coal_lump"}, {"ethereal:charcoal_lump", "default:coal_lump"},
{"default:clay_lump", "default:clay_brick"}, {"default:clay_lump", "default:clay_brick"},
{"ethereal:fire_dust 2", "ethereal:etherium_dust"} {"ethereal:fire_dust 2", "ethereal:etherium_dust"}
@ -221,3 +220,12 @@ minetest.register_decoration({
decoration = "moonflower:moonflower_closed", decoration = "moonflower:moonflower_closed",
spawn_by = {"group:tree", "ethereal:bamboo"}, num_spawn_by = 1 spawn_by = {"group:tree", "ethereal:bamboo"}, num_spawn_by = 1
}) })
-- lucky blocks
if minetest.get_modpath("lucky_block") then
lucky_block:add_blocks({
{"dro", {"xanadu:moonflower_closed"}, 1}
})
end