[Mod]Seeds that grow anything![seed]

cakenggt
New member
 
Posts: 4
Joined: Wed Jun 21, 2017 13:00
GitHub: cakenggt
In-game: cakenggt

[Mod]Seeds that grow anything![seed]

by cakenggt » Thu Jun 22, 2017 15:33

Seed is a mod that allows you to grow any item.

Version: 1.0
License: LGPL 2.1 or later
Dependencies: default mod (found in minetest_game)

Report bugs or request help here: https://github.com/cakenggt/seed/issues

Installation



Download it from github here: https://github.com/cakenggt/seed/releases

Unzip the archive, rename the folder to seed and
place it in minetest/mods/

( GNU/Linux: If you use a system-wide installation place
it in ~/.minetest/mods/. )

( If you only want this to be used in a single world, place
the folder in worldmods/ in your worlddirectory. )

For further information or help see:
http://wiki.minetest.com/wiki/Installing_Mods

Instructions



This mod adds one new plant to the game, a plant that can grow anything you tell it to. This plant can be found rarely scattered around the grassland biome. It looks like this
Image

This is called a blank seed, and if you craft it with any other item, you will get a Seed. This seed can then be planted just like other seeds. After 8 growth cycles, it will be finished growing, and you can break it to receive at least 1 item that it grows and at least 1 more seed.
Attachments
blank_seed.png
(64.94 KiB) Not downloaded yet
 

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

cakenggt
New member
 
Posts: 4
Joined: Wed Jun 21, 2017 13:00
GitHub: cakenggt
In-game: cakenggt

Re: [Mod]Seeds that grow anything![seed]

by cakenggt » Thu Jun 22, 2017 15:57

azekill_DIABLO wrote:awesome idea! i hope that you didn't have to register ALL THE ITEMS!


Haha, no I didn't. I just registered crafting listeners which add metadata based on which item you craft the seed with, and a breaking listener for the plant which uses that metadata (transferred to nodemeta on planting) to spawn the correct item.
 

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

User avatar
DS-minetest
Member
 
Posts: 1026
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Mod]Seeds that grow anything![seed]

by DS-minetest » Thu Jun 22, 2017 17:07

Interesting idea but it's a bit cheaty.
Could you change the growtime and chance to drop more than one item based on the rarity of its generation? And if it's not generated, take the rarity of all items that are needed in crafting recipe for one item.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
BBmine
Member
 
Posts: 3460
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins
 

User avatar
Diamond knight
Member
 
Posts: 442
Joined: Sun Apr 19, 2015 19:50
Location: stalker...
GitHub: Diamondknight
In-game: Ferrumprinceps
 

cakenggt
New member
 
Posts: 4
Joined: Wed Jun 21, 2017 13:00
GitHub: cakenggt
In-game: cakenggt

Re: [Mod]Seeds that grow anything![seed]

by cakenggt » Thu Jun 22, 2017 17:38

DS-minetest wrote:Interesting idea but it's a bit cheaty.
Could you change the growtime and chance to drop more than one item based on the rarity of its generation? And if it's not generated, take the rarity of all items that are needed in crafting recipe for one item.


I'm not planning on changing the grow times individually right now, as that would be a lot more work.

It's not as cheaty as you may think, it completely redefines wealth in the game from what you can fit in a locked chest to how much land you have, which is completely vulnerable. The plants only have a 50% chance of dropping a second seed, so your field size grows very slowly. Suddenly a field of plants is as valuable in-game as a farmer's field in real-life.
 

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

Re: [Mod]Seeds that grow anything![seed]

by azekill_DIABLO » Thu Jun 22, 2017 18:41

i'm thinking (yes i think!): can you grow one of those special seeds with a special seed? that would make things... cheaty !
 

cakenggt
New member
 
Posts: 4
Joined: Wed Jun 21, 2017 13:00
GitHub: cakenggt
In-game: cakenggt

Re: [Mod]Seeds that grow anything![seed]

by cakenggt » Thu Jun 22, 2017 18:54

azekill_DIABLO wrote:i'm thinking (yes i think!): can you grow one of those special seeds with a special seed? that would make things... cheaty !


Nope, I specifically prevent you from doing that. The recipe only works if there is 1 and only 1 blank seed and 1 and only 1 other item.
 

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

User avatar
RSLRedstonier
Member
 
Posts: 449
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [Mod]Seeds that grow anything![seed]

by RSLRedstonier » Thu Jan 04, 2018 19:13

wow I thought I was breaking the game when I added ore seeds to my skytest mod

mind if I modify this a bit and add it to skytest?
(idk what LGPL 2.1 license permits me to do and forbids me to do)
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

User avatar
RSLRedstonier
Member
 
Posts: 449
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [Mod]Seeds that grow anything![seed]

by RSLRedstonier » Thu Jan 04, 2018 19:22

though this is a bit op seeing as you can grow Anything however this might help me with bedrockium generation in skyfactory...
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

User avatar
RSLRedstonier
Member
 
Posts: 449
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [Mod]Seeds that grow anything![seed]

by RSLRedstonier » Thu Jan 04, 2018 19:33

tested it and found a bug were when using with other mods breaking a fully grown plant with any thing crafted with it
(just incase I'm doing it wrong I crafted dirt desert sand and diamond seeds planted used wateri can on them making them grow faster this is what I broke seed:seed_8) it yielded nothing not even the seed back

also I suggest you edit the description of all the seeds to say what they are growing perhaps even the full id mod:item_name I think you can edit the description discerning the metadata with 4.16
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 

User avatar
RSLRedstonier
Member
 
Posts: 449
Joined: Wed May 10, 2017 21:00
Location: some were in middle earth
GitHub: RSL-Redstonier
In-game: RSLRedstonier

Re: [Mod]Seeds that grow anything![seed]

by RSLRedstonier » Thu Jan 04, 2018 20:47

oops my bad just tested them with letting them grow with time they work great just using any watering can form wateri mod resets the meta data yielding nothing when broken
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
https://forum.minetest.net/viewtopic.php?f=9&t=17568
 


Return to WIP Mods



Who is online

Users browsing this forum: IcyDiamond and 2 guests