[Mod] Flowers - VanessaE edition ;-) [20120731][flowers]

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

[Mod] Flowers - VanessaE edition ;-) [20120731][flowers]

by VanessaE » Tue Jul 31, 2012 13:28

This mod is obsolete, as its functionality has long since been added to minetest_game. If you need more flower-type plants than what minetest_game provides, please use Plantlife instead. That modpack covers what minetest_game didn't pick up from this mod, plus it adds other related mods.

This simple mod is a rewrite of Ironzorg's original Flowers mod (about 75% of the code has been replaced or rewritten). It uses more modern functions and far less code than the original, and so hopefully it'll cause less CPU load than before.

It also provides a couple of extra features: Flowers grow just a bit faster than before, and now they will only spawn when there's enough light (above roughly 1/4 that of full daylight). Flowers and cotton will spawn on both grass and bare dirt now, and waterlilies of course will spawn only on water.

It is, to the best of my knowledge, compatible with all other mods that used the previous version (i.e. as a source of colors or something), with the exception of code that uses functions found in the old mod (see below).

License: N/A
Download: N/A

Screenshots
(patterned after Ironzorg's original thread)
Image
Image
Image
Last edited by VanessaE on Wed Nov 06, 2013 00:45, edited 1 time in total.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
LolManKuba
Member
 
Posts: 939
Joined: Fri Feb 10, 2012 22:36

by LolManKuba » Tue Jul 31, 2012 18:29

VaanessaE edition hmmm...
Welcome back new flowers mod!!!!
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Tue Jul 31, 2012 19:06

been running it on my home computer so my son and i can play togeather and in 4-5 hours of play you get some really really tall trees that need trimmed lol ,other then that works great
Last edited by Spots on Tue Jul 31, 2012 19:07, edited 1 time in total.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Tue Jul 31, 2012 21:43

Heh yeah the trees being tall is something in the nature mod. Those should be shortened abnd *widened* a bit I think. Unless the mod is trying to turn apple trees into California Redwoods ;-)
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Tue Jul 31, 2012 22:19

I thought about your nodebox pot idea... what about flower-boxes for windows? squarish ones wouldnt require alot of nodebox defs :-)
"Fuck the hat." - Paulie Gualtieri
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Tue Jul 31, 2012 23:30

Not a bad idea, but that's something that would require a new set of flower textures as well - ideally one would want multiple flowers per square meter, possibly even mixed varieties similar to the ones you had in madblocks, not to mention figuring out meaningful recipes :-)
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Tue Jul 31, 2012 23:37

well flowers stand at the center of the node? you could make the flowerbox nodebox finish a bit beyond that point (between 0.1 and 0.5) - then they would align. Ideally you want to design containers that fit your flowers, not come up with different flowers for each container :-)
"Fuck the hat." - Paulie Gualtieri
 

User avatar
Menche
Member
 
Posts: 994
Joined: Sat Jul 02, 2011 00:43

by Menche » Tue Jul 31, 2012 23:50

I don't understand what MAX_RATIO and spawnchance are for. Couldn't you just increase the interval of the abm?
Last edited by Menche on Tue Jul 31, 2012 23:50, edited 1 time in total.
An innocent kitten dies every time you top-post.
I am on the Voxelands Forums more often than here.
Try Voxelands (forked from Minetest 0.3) by darkrose
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Wed Aug 01, 2012 00:08

Awesome, i like the spawn avoid argument in the spawn_on_surfaces function. Will put it in my plants and harvest mod. PilzAdam is suggestion to spawn plant and maybe flowers on biome spawn. Maybe flowers should have similar spawning.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Wed Aug 01, 2012 01:14

Menche: those arguments are as Ironzorg originally intended them. If you change the interval of the ABM, yes it'll affect the rate at which the flowers grow, but changing the spawnchance also does the same, without affecting the CPU usage of the mod. Max ratio is kind of a fudge number.

I opted not to change how that all works because I'm still learning the details of ABMs, and it works just fine as-is. :-)
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Wed Aug 01, 2012 03:15

just as a line of warning my server has begun to crash since i started using your addition something about farobjects not being deleted
Edit: and there was nothing else changed in that time i checked
Last edited by sdzen on Wed Aug 01, 2012 03:16, edited 1 time in total.
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Wed Aug 01, 2012 03:20

Strange, it seems to work fine for me? The flowers are just normal nodes, there's nothing about the code that should crash it. Are you sure you're not getting this from some other mod?
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Wed Aug 01, 2012 03:54

yes im quite sure
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

ironzorg
Member
 
Posts: 46
Joined: Tue Aug 23, 2011 06:34

by ironzorg » Wed Aug 01, 2012 06:17

Looks good.
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Wed Aug 01, 2012 07:50

you could add lines like that:
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
minetest.register_craft({
    type = "cooking",
    output = "dye:black 2",
    recipe = "default:coal_lump",
})
minetest.register_craft({
    type = "cooking",
    output = "dye:green 2",
    recipe = "default:cactus",
})
minetest.register_craft({
    type = "cooking",
    output = "dye:red 2",
    recipe = "flowers:flower_rose",
})
minetest.register_craft({
    type = "cooking",
    output = "dye:blue 2",
    recipe = "flowers:flower_viola",
})
minetest.register_craft({
    type = "cooking",
    output = "dye:white 2",
    recipe = "flowers:flower_dandelion_white",
})
minetest.register_craft({
    type = "cooking",
    output = "dye:yellow 2",
    recipe = "flowers:flower_dandelion_yellow",
})
minetest.register_craft({
    type = "cooking",
    output = "dye:orange 2",
    recipe = "flowers:flower_tulip",
})
minetest.register_craft({
    type = "cooking",
    output = "dye:brown 2",
    recipe = "default:dry_shrub",
})


so we could have then all the dyes from default game here - i mean latest build here 0.4.2rc1, not 0.4.1
i already included that in my mod but it rather should be in yours

no need to add anythin else, all mixing recipes and gfx are built-in

just maybe to add a way to produce wool. add flax plant, let it grow. when harvested drop strings (random 1-4) and seeds (1-2).
then allow it to plant manually on dirt near water. strings could be used then to craft wool like 4xstrings -> 1 wool.
(idea comes from mod for Minecraft - RedPower2 as alternative to shear sheeps)

This way u could make easy way from dye sources to wool and let other mod use dyes.
Last edited by RealBadAngel on Wed Aug 01, 2012 08:10, edited 1 time in total.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Wed Aug 01, 2012 08:31

A similar version of the dyes you suggested are already in my Unified Dyes mod.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Wed Aug 01, 2012 08:52

VanessaE wrote:A similar version of the dyes you suggested are already in my Unified Dyes mod.


no offence but unifieddyes as of 0.4.2 are obsolete
the problem is they produce different dyes than that are already in the game
Last edited by RealBadAngel on Wed Aug 01, 2012 15:14, edited 1 time in total.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Wed Aug 01, 2012 16:53

Unified Dyes isn't obsolete because it produces far more colors than the one in the game. The game's built-in dyes were added after I wrote mine, and were done in such a way that the two complement each other. Besides, there are no crafting recipes for the built-in ones.
Last edited by VanessaE on Wed Aug 01, 2012 16:54, edited 1 time in total.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Thu Aug 02, 2012 17:23

VanessaE wrote:Unified Dyes isn't obsolete because it produces far more colors than the one in the game. The game's built-in dyes were added after I wrote mine, and were done in such a way that the two complement each other. Besides, there are no crafting recipes for the built-in ones.


Complement each other? So how to craft them? Smelt unifieddyes ones down to default ones or somethin?
Yeah there are no recipes and yes you are blockin natural ones with unifieddyes.
either some1 will just throw away unifieddyes and make use just of flowers with additional recipes mod for dyes,
or rewrite whole flower mod to fit defaults.
thats my opinion.
Last edited by RealBadAngel on Thu Aug 02, 2012 17:25, edited 1 time in total.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Aug 04, 2012 04:56

Update: Tuned out the random-numbers-inside-ABM stuff. Uses the ABM's chance setting instead. Should be approximately the same as before, but hopefully using a tad less CPU. See the Nature Pack thread for related updates.

If anyone's got a better blue geranium texture, please let me know.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
vicscandl
New member
 
Posts: 7
Joined: Fri Jul 27, 2012 00:16

by vicscandl » Mon Aug 06, 2012 06:01

V, as always, love your mods... any chance i could get you to work in an algae plant for my yet to be released mod? I'm already using your vessels mod as a dependent and would love to work with you on expanding the types of glassware available for use... either PM or hit me up when i make it back to IRC... stupid w*** has me all timecrunched!!!
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Mon Aug 06, 2012 06:49

Algae eh? Hm. Where it should spawn? Under what conditions?

As for vessels, I won't be adding any additional glassware, as that mod is targeted at inclusion into the game's defaults, however I could put such things into a "glassware" or "more vessels" sort of mod.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
vicscandl
New member
 
Posts: 7
Joined: Fri Jul 27, 2012 00:16

by vicscandl » Mon Aug 06, 2012 07:18

i'd say perhaps dirt near water?

no worries on the extra glassware, i'll just include it in the tools section of my mod.. :)

once again, thanks for the mods that my son cracks out on....
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Mon Aug 06, 2012 07:23

I was thinking the same - maybe at the shoreline, within 2 nodes of the water, and only on either bare dirt, stone, or cobble.

The next question then is: What kind of algae should it be modeled after? Some types only grow on wet, exposed surfaces, some only grow underwater, etc.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
vicscandl
New member
 
Posts: 7
Joined: Fri Jul 27, 2012 00:16

by vicscandl » Mon Aug 06, 2012 07:29

100% on board with your spawn choice, good call.

well, specifically, the kind i'm "using" for my work is called Chlamydomonas reinhardtii

http://en.wikipedia.org/wiki/Chlamydomonas_reinhardtii

i'm willing to be as generic as possible... :) ease of use kinda choice...
Last edited by vicscandl on Mon Aug 06, 2012 07:30, edited 1 time in total.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Mon Aug 06, 2012 23:52

2012-08-04: Added seaweed. Spawns only at a shoreline where water comes into contact with dirt, grass, or stone. Spawns only on the water node at the shoreline or the two dirt/grass/stone nodes along it (so max three nodes wide).

No limit to the density of the seaweed, but it grows slowly and only when the light level is between 4 and 10 (14 = broad daylight). If you need to cultivate it, use a dark room and torches placed so that the water/dirt/stone sees the right amount of light.

2012-08-06: Tweaked selection boxes on all nodes. Tweaked seaweed to use signlike instead of raillike drawtype, (so that it is forced to only spawn flat). Adjusted light level limits to give it more time to grow.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Neuromancer
Member
 
Posts: 793
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Wed Aug 22, 2012 13:37

Are there any good 64x texture packs that replace the textures in this mod? All the rest of my textures are 64x and the flowers kind of stand out as low res.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Wed Aug 22, 2012 14:44

Yes, in my photorealistic pack.

https://github.com/VanessaE/64px-realistic-textures/zipball/master

Download and unzip this to anywhere convenient and copy the flower* files to your textures folder.

Calinou/Misa's 64px pack also has flowers. That one is here:

http://minetest.net/forum/viewtopic.php?id=274
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Neuromancer
Member
 
Posts: 793
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Wed Aug 22, 2012 20:59

VanessaE wrote:Yes, in my photorealistic pack.

https://github.com/VanessaE/64px-realistic-textures/zipball/master

Download and unzip this to anywhere convenient and copy the flower* files to your textures folder.

Calinou/Misa's 64px pack also has flowers. That one is here:

http://minetest.net/forum/viewtopic.php?id=274

Thanks much!
 

Riwako
 

by Riwako » Wed Sep 12, 2012 14:42

Hello:

I'm trying to use this mod in my world but minetest crashes:
"Fail to load and run path/init.lua

I'm using lastest verision, 0.4.3. Maybe this is the problem? I'm using mesecons and boblocks too.
Mmmmm... I don't know what happens with initial.lua Any idea?
 

Next

Return to Old Mods

Who is online

Users browsing this forum: No registered users and 19 guests

cron