[mod] flowerpots [flowerpots]

User avatar
D00Med
Member
 
Posts: 712
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med

[mod] flowerpots [flowerpots]

by D00Med » Thu Feb 02, 2017 22:10

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:
Image

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
Look! I have a signature :]
My subgame: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

User avatar
toby109tt
Member
 
Posts: 296
Joined: Sun May 29, 2016 23:42
GitHub: tobyplowy
In-game: Toby109tt

Re: [mod] flowerpots [flowerpots]

by toby109tt » Thu Feb 02, 2017 22:31

Yay first XD
( ͡° ͜ʖ ͡°) i love pixels and voxels ( ͡° ͜ʖ ͡°)
 

User avatar
GreenDimond
Member
 
Posts: 460
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
IRC: GreenDimond
In-game: GreenDimond

Re: [mod] flowerpots [flowerpots]

by GreenDimond » Thu Feb 02, 2017 23:34

I am Green. I tend to binge-post. "All of this over a 16x16 representation of a cartoon cat ?!?! what has this world come to..." -TenPlus1, 2017.
Diz mah mods! :D ↑ github.com/minetest/minetest_game/issues/1647#issuecomment-288134572 ↑
Sand Plus - Tac Nayn - Waffles - Coming Soon: Caverealms Plus
 

User avatar
D00Med
Member
 
Posts: 712
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med

Re: [mod] flowerpots [flowerpots]

by D00Med » Fri Feb 03, 2017 00:31

Lol, that's a funny coincidence xD
Look! I have a signature :]
My subgame: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

User avatar
toby109tt
Member
 
Posts: 296
Joined: Sun May 29, 2016 23:42
GitHub: tobyplowy
In-game: Toby109tt

Re: [mod] flowerpots [flowerpots]

by toby109tt » Fri Feb 03, 2017 15:37

D00Med wrote:Lol, that's a funny coincidence xD

Yeh it is XD (I guess people really like flowerpots)
( ͡° ͜ʖ ͡°) i love pixels and voxels ( ͡° ͜ʖ ͡°)
 

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

Re: [mod] flowerpots [flowerpots]

by burli » Fri Feb 03, 2017 15:42

We definitely need more flowers
 

User avatar
toby109tt
Member
 
Posts: 296
Joined: Sun May 29, 2016 23:42
GitHub: tobyplowy
In-game: Toby109tt

Re: [mod] flowerpots [flowerpots]

by toby109tt » Fri Feb 03, 2017 15:44

burli wrote:We definitely need more flowers

Do you mean in the mod or in minetest game?
( ͡° ͜ʖ ͡°) i love pixels and voxels ( ͡° ͜ʖ ͡°)
 

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

Re: [mod] flowerpots [flowerpots]

by burli » Fri Feb 03, 2017 15:57

Both
 

User avatar
toby109tt
Member
 
Posts: 296
Joined: Sun May 29, 2016 23:42
GitHub: tobyplowy
In-game: Toby109tt

Re: [mod] flowerpots [flowerpots]

by toby109tt » Sun Feb 05, 2017 12:09

burli wrote:Both

OK I will try
( ͡° ͜ʖ ͡°) i love pixels and voxels ( ͡° ͜ʖ ͡°)
 

User avatar
Chibi ghost
Member
 
Posts: 161
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [mod] flowerpots [flowerpots]

by Chibi ghost » Sun Feb 05, 2017 21:22

removed
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [mod] flowerpots [flowerpots]

by sofar » Sun Feb 05, 2017 22:32

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.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [mod] flowerpots [flowerpots]

by Wuzzy » Mon Feb 06, 2017 04:44

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).
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
D00Med
Member
 
Posts: 712
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med

Re: [mod] flowerpots [flowerpots]

by D00Med » Mon Feb 06, 2017 07:07

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.
Look! I have a signature :]
My subgame: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [mod] flowerpots [flowerpots]

by sofar » Mon Feb 06, 2017 08:53

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.


This wouldn't be too hard to add to my version, and you'd avoid the texture problem altogether. It's just another material.
 

User avatar
toby109tt
Member
 
Posts: 296
Joined: Sun May 29, 2016 23:42
GitHub: tobyplowy
In-game: Toby109tt

Re: [mod] flowerpots [flowerpots]

by toby109tt » Mon Feb 06, 2017 10:36

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.

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).

It's being worked on thanks for the feed back
( ͡° ͜ʖ ͡°) i love pixels and voxels ( ͡° ͜ʖ ͡°)
 

User avatar
Chibi ghost
Member
 
Posts: 161
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [mod] flowerpots [flowerpots]

by Chibi ghost » Tue Feb 07, 2017 20:40

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
Image
Image
Image
sorry if I seem a little demanding feel free to ignore me
 

User avatar
D00Med
Member
 
Posts: 712
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med

Re: [mod] flowerpots [flowerpots]

by D00Med » Tue Feb 07, 2017 20:56

Hmm this is a nice idea! thankyou
Look! I have a signature :]
My subgame: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

User avatar
D00Med
Member
 
Posts: 712
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med

Re: [mod] flowerpots [flowerpots]

by D00Med » Wed Feb 08, 2017 21:29

Update: Only the empty pot is in the creative inventory.
plantlike nodes, such as flowers, don't need their own pot texture anymore.
Look! I have a signature :]
My subgame: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [mod] flowerpots [flowerpots]

by azekill_DIABLO » Fri Feb 10, 2017 14:16

i like this flowerpot mod too :)
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [mod] flowerpots [flowerpots]

by Wuzzy » Fri Feb 10, 2017 20:42

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
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.
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
D00Med
Member
 
Posts: 712
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med

Re: [mod] flowerpots [flowerpots]

by D00Med » Sat Feb 11, 2017 00:10

Thankyou for all the suggestions, I will add them in.
I'm glad it suits your needs. good luck with your subgame too
Look! I have a signature :]
My subgame: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

User avatar
Chibi ghost
Member
 
Posts: 161
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [mod] flowerpots [flowerpots]

by Chibi ghost » Sat Feb 11, 2017 09:24

wow your pots have improved a lot I love how the plants look now
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [mod] flowerpots [flowerpots]

by azekill_DIABLO » Sat Feb 11, 2017 09:29

Wuzzy wrote:I think the player should NOT be able to craft a furnace out of 8 flower pots.

i don't want to see the face of their furnace after such a non-sense. LOL
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
D00Med
Member
 
Posts: 712
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med

Re: [mod] flowerpots [flowerpots]

by D00Med » Sun Feb 12, 2017 00:25

Updated: I've made the changes that Wuzzy suggested (thanks Wuzzy)
Look! I have a signature :]
My subgame: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [mod] flowerpots [flowerpots]

by Wuzzy » Sun Feb 12, 2017 01:55

Bravo!
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 39 guests

cron