[Mod] Farming Plus [farming_plus]

Post Reply
User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

[Mod] Farming Plus [farming_plus]

by PilzAdam » Post

Hello everyone!
This mods extents the default farming. This mod is useful when you use the food mod by rubenwardy.
Unfortunately there is currently no way to get the seeds of the new plants (due to the merge of farming to upstream). I need to think of a way to get them.

Depends:
default
farming (the one in minetest_game)

GitHub:
https://github.com/PilzAdam/farming_plus

Download:
https://github.com/PilzAdam/farming_plus/zipball/master
For Minetest 0.4.7 stable: https://github.com/PilzAdam/farming_plu ... 72c9e3.zip

An alterntive version by Xanthin with translation for intllib:
https://github.com/Xanthin/farming_plus ... master.zip

License:
WTFPL, see README.txt for more detailed information.

0.4.6 or previous:
0.4.6 and previous version dont have farming in minetest_game, so you need this: https://github.com/PilzAdam/farming and this version of farming_plus: https://github.com/PilzAdam/farming_plu ... 864f114a67
Last edited by PilzAdam on Tue Apr 15, 2014 18:45, edited 1 time in total.

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

by RealBadAngel » Post

make cotton producing strings not wool directly. wool could be crafted out of strings
string could be usefull also for other stuff
btw i would love to see kinda rubber plant/tree

User avatar
Spots
Member
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Post

just a few things i found while testing it out
1. after hoeing a 40x40 area i got very few seeds
2. when planted the seeds mature very very very slowly
3. and like Angel suggested maybe a rubber tree/plant ,wheat,and a few others

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Spots wrote:just a few things i found while testing it out
1. after hoeing a 40x40 area i got very few seeds
2. when planted the seeds mature very very very slowly
3. and like Angel suggested maybe a rubber tree/plant ,wheat,and a few others
1+2 You have to start with a very small farm and with the time it goes bigger and bigger.
3. corn is actually wheat (my dictionary is not good) and i will add rubber in next version

EDIT: I forgott to mention: You also get more seeds with a better hoe.
Last edited by PilzAdam on Tue Aug 14, 2012 15:13, edited 1 time in total.

User avatar
Spots
Member
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Post

ah okay then np all good ,testing everything out now and the farm is getting better but the pumpkins are only giving our 1 seed when you carve then i'm using stone sword does it give more with a better sword?

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Spots wrote:does it give more with a better sword?
Not yet. Maybe i will make it in the next version.

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

New farming mod, nice

User avatar
Spots
Member
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Post

great +100 works like a charm so far
http://www.flickr.com/photos/9956253@N0 ... /lightbox/
Last edited by Spots on Tue Aug 14, 2012 16:22, edited 1 time in total.

User avatar
Calinou
Moderator
Posts: 3162
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

I like it. Added mod support in Misa pack. :)

User avatar
Spots
Member
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Post

hit an error
VERBOSE[main]: error_message = ServerError: LuaError: error: ...-d38b465-win32\bin\..\mods\minetest\farming\init.lua:50: bad argument #1 to 'get_node' (table expected, got nil)
13:50:41: VERBOSE[main]: stack traceback:

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Spots wrote:hit an error
VERBOSE[main]: error_message = ServerError: LuaError: error: ...-d38b465-win32\bin\..\mods\minetest\farming\init.lua:50: bad argument #1 to 'get_node' (table expected, got nil)
13:50:41: VERBOSE[main]: stack traceback:
Already fixed in veresion 2 (coming soon)

User avatar
Spots
Member
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Post

you rock !!

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Spots wrote:you rock !!
Thank you.

User avatar
sfan5
Moderator
Posts: 3892
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Really nice!
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

If you have not already seen it, there is an old farming mod here:
http://minetest.net/forum/viewtopic.php?id=607

Perhaps useful for some textures or crop ideas?

User avatar
leo_rockway
Member
Posts: 210
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Post

I'm not sure what I'm doing wrong, so I decided to just ask: how do you harvest? I tried digging the node but the plant disappears and I get nothing...
EDIT: I thought I was mining at full grown, but I was mistaken. After waiting for full grown I can see it's working now.


Also, I just got this:

22:21:24: ERROR[EmergeThread]: ERROR: An unhandled exception occurred: LuaError: error: /home/leo/.minetest/mods/minetest/farming/rubber.lua:136: attempt to perform arithmetic on global 'anz' (a nil value)
22:21:24: ERROR[EmergeThread]: stack traceback:

In thread 7f1ab6ad1700:
/pkgbuilds/minetest-git/src/minetest/src/server.cpp:404: virtual void* EmergeThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f1ab6ad1700:
#0 virtual void* EmergeThread::Thread()
(Leftover data: #1 virtual MapBlock* ServerMap::emergeBlock(v3s16, bool): p=(-22,3,13), allow_generate=0)
(Leftover data: #2 ServerMapSector* ServerMap::createSector(v2s16): p2d=(-24,13))
DEBUG STACK FOR THREAD 7f1acdee4700:
#0 virtual void* MeshUpdateThread::Thread()
DEBUG STACK FOR THREAD 7f1acfff0700:
#0 virtual void* ServerThread::Thread()
#1 void Server::AsyncRunStep()
#2 void Server::SendBlocks(float)
#3 void Server::SendBlockNoLock(irr::u16, MapBlock*, irr::u8)
(Leftover data: #4 void BlockEmergeQueue::addBlock(irr::u16, v3s16, irr::u8))
(Leftover data: #5 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD 7f1ad8022740:
#0 int main(int, char**)
#1 void ClientMap::renderMap(irr::video::IVideoDriver*, irr::s32)
(Leftover data: #2 virtual void ClientEnvironment::step(float))
(Leftover data: #3 void Client::Receive())
(Leftover data: #4 void Client::ProcessData(irr::u8*, irr::u32, irr::u16))
(Leftover data: #5 void MeshUpdateQueue::addBlock(v3s16, MeshMakeData*, bool, bool))
zsh: segmentation fault minetest
minetest 1768.03s user 323.63s system 125% cpu 27:50.54 total
Last edited by leo_rockway on Wed Aug 15, 2012 01:34, edited 1 time in total.
Try Skyblock for MineClone 2
Listen to this sound and music pack!

User avatar
Casimir
Member
Posts: 1163
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

by Casimir » Post

As I tried to pick up a sapling (as item) with the hoe I got this:

Code: Select all

... init.lua:50: bad argument #1 to 'get node' (table expected, got nil)

User avatar
leo_rockway
Member
Posts: 210
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Post

Crafting the carved pumpkin seems to have completely repaired my sword. Can that be avoided?
Try Skyblock for MineClone 2
Listen to this sound and music pack!

User avatar
Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Look's good! ill have to try it out.
Last edited by Josh on Wed Aug 15, 2012 03:08, edited 1 time in total.

User avatar
Spots
Member
Posts: 124
Joined: Tue Jul 24, 2012 12:12
Location: Outta my mind someplace.

by Spots » Post

okay so i've been playing with your mod for ..oh about the last 2 hours lol i've had no problems yet other then the pumpkins one seed per pumpkin just means that my crops dont get any bigger just the same amount at every harvest

User avatar
Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

It work's! Thanks PilzAdam!

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

leo_rockway wrote: Also, I just got this:

22:21:24: ERROR[EmergeThread]: ERROR: An unhandled exception occurred: LuaError: error: /home/leo/.minetest/mods/minetest/farming/rubber.lua:136: attempt to perform arithmetic on global 'anz' (a nil value)
22:21:24: ERROR[EmergeThread]: stack traceback:
This is a bug. Ive updated the link of the second version.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Casimir wrote:As I tried to pick up a sapling (as item) with the hoe I got this:

Code: Select all

... init.lua:50: bad argument #1 to 'get node' (table expected, got nil)
You have a old version.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

leo_rockway wrote:Crafting the carved pumpkin seems to have completely repaired my sword. Can that be avoided?
I change it to hit a placed pumpkin and not to craft it in the next version.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Spots wrote:okay so i've been playing with your mod for ..oh about the last 2 hours lol i've had no problems yet other then the pumpkins one seed per pumpkin just means that my crops dont get any bigger just the same amount at every harvest
When I change the pumpkin creation in the next version (see post abvoe) i will make a small chance to get 2 seeds. But I want that pumpkins are very rarely.

Post Reply

Who is online

Users browsing this forum: CalebJ and 7 guests