Great! Thanks for the improvements so far. The texture fix was very important IMO, it is really annoying to juggle with lots of redundant textures.
I have just included this mod in my subgame, MineClone 2, and modified it for my needs (mod name: “mcl_flowerpots”).
It was incredibly easy to modify this mod and I managed to add all flower pots I need:
![Image](https://i.imgur.com/ziolFpt.png)
Yay!
For your information (to improve your own mod):
This mod has still some minor quality issues. I have some minor suggestions:
- Remove the explicit inventory/wield image definition for filled flower pots. Minetest makes a nice 3D image instead, which is also easier to distinguish
- The filled flower pots should have better names (Good: “Flower Pot with Yellow Dandelion”. Bad: “Flower Pot with flowers:dandeliion_yellow”). The easiest fix would be to just define the full description for each node seperately. This will also make a later possible integration with intllib easier
- Arggghh! minetest.env is VERY old legacy stuff and makes my eyes bleed. ;-)
- Flower pots with flower should drop empty flower pot and it's flower, not themselves (otherwise there's a quick inventory clutter again, with lots of different flower pots)
Hint:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
drop = {
items = {
{ items = { "mcl_flowerpots:flower_pot", flower_node } }
}
},
- Consider making the flower pot nodes attached nodes (attached_node=1)
- When you place a flower into a flower pot in Creative Mode, it gets used up
- Remove the “stone” group. This group is only intended for full-sized cubes made out of stone (Cobblestone, Stone, Desert Stone, Stone Brick, Stone Block, etc). This is clearly not the case for flower pots. This group is used in Minetest Game as a crafting group to craft e.g. furnaces or stone tools. I think the player should NOT be able to craft a furnace out of 8 flower pots. XD
Apart from all this, this mod seems pretty fine. Good work you made here. I have fixed these issues on my subgame already and this mod was exactly what I needed.