[mod] flowerpots [flowerpots]
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
[mod] flowerpots [flowerpots]
This mod adds flowerpots which can hold flowers, grass, leaves and cactus.
Just place a pot and right click it to add a flower, right click again to remove the flower.
craft a flowerpot like this:
clay, dirt, clay
_, clay, _
Screenshot:
License of code: LGPL 2.1+ Created by D00Med and toby109tt(aka tobyplowy)
License of textures: CC BY-SA 3.0 UNPORTED. Created by toby109tt (excluding the contents of the pot, ie: flower textures etc.)
Dependancies: default, flowers
Download: https://github.com/D00Med/flowerpots/archive/master.zip
Github: https://github.com/D00Med/flowerpots
Update:
>Removed non-existent plants
>Added bush sapling support
>Added a texture mask
Just place a pot and right click it to add a flower, right click again to remove the flower.
craft a flowerpot like this:
clay, dirt, clay
_, clay, _
Screenshot:
License of code: LGPL 2.1+ Created by D00Med and toby109tt(aka tobyplowy)
License of textures: CC BY-SA 3.0 UNPORTED. Created by toby109tt (excluding the contents of the pot, ie: flower textures etc.)
Dependancies: default, flowers
Download: https://github.com/D00Med/flowerpots/archive/master.zip
Github: https://github.com/D00Med/flowerpots
Update:
>Removed non-existent plants
>Added bush sapling support
>Added a texture mask
Last edited by D00Med on Fri Jan 05, 2018 22:16, edited 1 time in total.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
Re: [mod] flowerpots [flowerpots]
Yay first XD
- GreenXenith
- Member
- Posts: 1356
- Joined: Wed Oct 28, 2015 01:26
- GitHub: GreenXenith
- Location: UTC-8:00
- Contact:
Re: [mod] flowerpots [flowerpots]
YouTube | Mods | Patreon | Minetest Discord @greenxenith
You should not be able to read this message.
You should not be able to read this message.
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [mod] flowerpots [flowerpots]
Lol, that's a funny coincidence xD
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
Re: [mod] flowerpots [flowerpots]
Yeh it is XD (I guess people really like flowerpots)D00Med wrote:Lol, that's a funny coincidence xD
Re: [mod] flowerpots [flowerpots]
Do you mean in the mod or in minetest game?burli wrote:We definitely need more flowers
Re: [mod] flowerpots [flowerpots]
OK I will tryburli wrote:Both
-
- Member
- Posts: 845
- Joined: Fri Jan 08, 2016 21:17
- In-game: Ghost
Re: [mod] flowerpots [flowerpots]
Yes, I'm well aware that this mod came out at roughly the same time. One would wonder how they're different!
This mod uses a single texture for the mesh node, which means that if the player uses a texture pack, they will only ever see the standard textures, not the texture pack textures. It also means a lot more textures need to be sent to the client (one for the normal plant texture, and one for the flowerpot version of the plant).
The choice of 3 meshes (empty pot, cube plant in pot, normal plant in pot) is defensible. 3 meshes isn't so bad.
My implementation uses a single mesh but can handle texture packs, so it will be a bit friendlier on servers (quicker load times).
Still, this isn't such a bad implementation. Cheers.
This mod uses a single texture for the mesh node, which means that if the player uses a texture pack, they will only ever see the standard textures, not the texture pack textures. It also means a lot more textures need to be sent to the client (one for the normal plant texture, and one for the flowerpot version of the plant).
The choice of 3 meshes (empty pot, cube plant in pot, normal plant in pot) is defensible. 3 meshes isn't so bad.
My implementation uses a single mesh but can handle texture packs, so it will be a bit friendlier on servers (quicker load times).
Still, this isn't such a bad implementation. Cheers.
- Wuzzy
- Member
- Posts: 4803
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [mod] flowerpots [flowerpots]
I would love to include this mod in MineClone 2, as I still need a functionioning flower pot. My current flower pot is broken. This mod looks promising as it supports both plantlike flowers as well as cuboid plants (like the cactus). I need both. So it's very good this mod gives me both.
Sadly, the texture chaos makes it very hard for me to actually adapt it for MineClone 2. It forces me to manually redraw all textures for each plant. The task is hardened by the fact that MineClone 2 still uses 32×32 textures, rather than 16×16. As sofar already said, the large amount of textures is pretty unflexible. Especially since many textures are mostly just repetitions of the original texture with the flower image pasted into it.
Would it be possible to use the texture modifiers to do this automatically? If you can find a way to reduce the amount of textures required, that would be greatly appreciated.
I suggest to add support for all saplings, bush leaves and bush stems. I would remove the normal leaves from the trees as you can hardly pot tree leaves. ;-)
I would also remove the potted plants from being visible in creative inventory, so that only the empty pot remains. The names of the potted plants also look ugly/ungrammatical (Hint: Try minetest.registered_items[itemname].description).
Sadly, the texture chaos makes it very hard for me to actually adapt it for MineClone 2. It forces me to manually redraw all textures for each plant. The task is hardened by the fact that MineClone 2 still uses 32×32 textures, rather than 16×16. As sofar already said, the large amount of textures is pretty unflexible. Especially since many textures are mostly just repetitions of the original texture with the flower image pasted into it.
Would it be possible to use the texture modifiers to do this automatically? If you can find a way to reduce the amount of textures required, that would be greatly appreciated.
I suggest to add support for all saplings, bush leaves and bush stems. I would remove the normal leaves from the trees as you can hardly pot tree leaves. ;-)
I would also remove the potted plants from being visible in creative inventory, so that only the empty pot remains. The names of the potted plants also look ugly/ungrammatical (Hint: Try minetest.registered_items[itemname].description).
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [mod] flowerpots [flowerpots]
I did plan on doing that, but if I use an overlay, then the textures will stretch completely over one and other won't they?
I'm definitely removing the pots from the creative inventory.
I'm definitely removing the pots from the creative inventory.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
Re: [mod] flowerpots [flowerpots]
This wouldn't be too hard to add to my version, and you'd avoid the texture problem altogether. It's just another material.Wuzzy wrote:I would love to include this mod in MineClone 2, as I still need a functionioning flower pot. My current flower pot is broken. This mod looks promising as it supports both plantlike flowers as well as cuboid plants (like the cactus). I need both. So it's very good this mod gives me both.
Re: [mod] flowerpots [flowerpots]
It's being worked on thanks for the feed backWuzzy wrote:I would love to include this mod in MineClone 2, as I still need a functionioning flower pot. My current flower pot is broken. This mod looks promising as it supports both plantlike flowers as well as cuboid plants (like the cactus). I need both. So it's very good this mod gives me both.
Sadly, the texture chaos makes it very hard for me to actually adapt it for MineClone 2. It forces me to manually redraw all textures for each plant. The task is hardened by the fact that MineClone 2 still uses 32×32 textures, rather than 16×16. As sofar already said, the large amount of textures is pretty unflexible. Especially since many textures are mostly just repetitions of the original texture with the flower image pasted into it.
Would it be possible to use the texture modifiers to do this automatically? If you can find a way to reduce the amount of textures required, that would be greatly appreciated.
I suggest to add support for all saplings, bush leaves and bush stems. I would remove the normal leaves from the trees as you can hardly pot tree leaves. ;-)
I would also remove the potted plants from being visible in creative inventory, so that only the empty pot remains. The names of the potted plants also look ugly/ungrammatical (Hint: Try minetest.registered_items[itemname].description).
-
- Member
- Posts: 845
- Joined: Fri Jan 08, 2016 21:17
- In-game: Ghost
Re: [mod] flowerpots [flowerpots]
you know what would be nice some large outdoor planters that are decorative
that work with the bigger plant life like ferns and bushes and such
I've seen one that is okayish but is very plain
but the best thing I found that sort of works is the cauldron from xdecor
but something like this would work with the minetest look
sorry if I seem a little demanding feel free to ignore me
that work with the bigger plant life like ferns and bushes and such
I've seen one that is okayish but is very plain
but the best thing I found that sort of works is the cauldron from xdecor
but something like this would work with the minetest look
sorry if I seem a little demanding feel free to ignore me
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [mod] flowerpots [flowerpots]
Hmm this is a nice idea! thankyou
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [mod] flowerpots [flowerpots]
Update: Only the empty pot is in the creative inventory.
plantlike nodes, such as flowers, don't need their own pot texture anymore.
plantlike nodes, such as flowers, don't need their own pot texture anymore.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [mod] flowerpots [flowerpots]
i like this flowerpot mod too :)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- Wuzzy
- Member
- Posts: 4803
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [mod] flowerpots [flowerpots]
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:
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:
- 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.
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:
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:
Code: Select all
drop = {
items = {
{ items = { "mcl_flowerpots:flower_pot", flower_node } }
}
},
- 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.
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [mod] flowerpots [flowerpots]
Thankyou for all the suggestions, I will add them in.
I'm glad it suits your needs. good luck with your subgame too
I'm glad it suits your needs. good luck with your subgame too
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
-
- Member
- Posts: 845
- Joined: Fri Jan 08, 2016 21:17
- In-game: Ghost
Re: [mod] flowerpots [flowerpots]
wow your pots have improved a lot I love how the plants look now
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [mod] flowerpots [flowerpots]
i don't want to see the face of their furnace after such a non-sense. LOLWuzzy wrote:I think the player should NOT be able to craft a furnace out of 8 flower pots.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- D00Med
- Member
- Posts: 949
- Joined: Sat Feb 07, 2015 22:49
- GitHub: D00Med
- Location: Australia...somewhere
Re: [mod] flowerpots [flowerpots]
Updated: I've made the changes that Wuzzy suggested (thanks Wuzzy)
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242
My subgame: viewtopic.php?f=15&t=14051#p207242
Who is online
Users browsing this forum: No registered users and 26 guests