[Mod] Mining Plus [mining_plus]

User avatar
Krock
Developer
 
Posts: 4152
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

[Mod] Mining Plus [mining_plus]

by Krock » Tue Dec 24, 2013 14:34

Hello everyone,

In a MC video I saw a node, which *ate* a hole into stone...now I've done this:
Image

Contents:
Tunnel bomb: Use a torch to detonate them... go 3-4 steps back, else it will damage you! It only digs cobble and other easy breakable stone-like nodes.

Bridge builder: Put a non-cobble stack into the slot and set how wide it should build, power it by punching with a torch. You can not destroy nodes with items inside.

Autominer: Is maybe a bit confusing, it breaks blocks, but just blocks which you put inside. This can be used for farming saplings or getting clay lumps from clay.

Breaknode, Polished cobble: Breaknodes are thought to construct buildings with it, they are oddly breakable by hand. Polished cobble needs 9 cobble to craft. Should look alot better than the default cobble. Polished cobble gives 8 cobble back on crafting.

Grinder: Requires bitchange (or a modification in the files) to invest money in grinding. Currently it only grinds default ores... extendable.

Depends: default unified_inventory? pipeworks? bitchange?
License: WTFPL (everything)
Download: Master *.zip from GitHub, Browse source code
Last edited by Krock on Sat Jun 21, 2014 18:58, edited 2 times in total.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Krock
Developer
 
Posts: 4152
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

by Krock » Sat Dec 28, 2013 15:21

Update to version 0.2.0
- Added a bridge builder
- Feature: the builder will not destroy nodes with an inventory
- Feature: all dug nodes get checked before with "minetest.is_protected()"

Have fun with those!
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
LuxAtheris
Member
 
Posts: 169
Joined: Fri Oct 25, 2013 00:54
Location: Aether

by LuxAtheris » Mon Dec 30, 2013 15:02

Very nice mod
Believe you can and you’re halfway there.
 

User avatar
Krock
Developer
 
Posts: 4152
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

by Krock » Sun Mar 23, 2014 18:39

Uploaded my newest version to github yesterday.

Fun fact, first release date: 2013-12-24
Last edited by Krock on Sun Mar 23, 2014 18:41, edited 1 time in total.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Moderator
 
Posts: 5546
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sun Mar 23, 2014 19:04

This looks interesting.

Can you disable individual contents?
 

User avatar
Krock
Developer
 
Posts: 4152
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

by Krock » Sun Mar 23, 2014 19:17

rubenwardy wrote:This looks interesting.

Can you disable individual contents?

Yes, open an editor and enjoy the freedom of WTFPL.
I thought this mod is not enough big to add a config file or whatever, so design it like you want.
Last edited by Krock on Sun Mar 23, 2014 19:17, edited 1 time in total.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
nman3600
Member
 
Posts: 168
Joined: Fri Feb 07, 2014 17:06
GitHub: nman3600
IRC: nman3600
In-game: nman3600

Re: [Mod] Mining Plus [mining_plus]

by nman3600 » Mon May 19, 2014 07:21

Very nice you have earned my 100th post
+ PARTYYY
 

User avatar
Krock
Developer
 
Posts: 4152
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Mining Plus [mining_plus]

by Krock » Sat Jun 21, 2014 19:03

BUMP!

Updates:
- Added grinder node
- Code style fixes
- serval bug fixes

This mod isn't dead yet!
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

trainwrecktony
Member
 
Posts: 51
Joined: Sun Jun 08, 2014 05:24
Location: NJ USA
In-game: trainwrecktony

Re: [Mod] Mining Plus [mining_plus]

by trainwrecktony » Sun Jun 22, 2014 02:47

I get this error, i believe i got the same in previous version but i commented out bridgebuilder dofile. Server will start but crashes when player joins

Code: Select all
ERROR[main]: ERROR: An unhandled exception occurred: ...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:223: bad argument #1 to 'get_node' (table expected, got string)
20:55:45: ERROR[main]: stack traceback:
20:55:45: ERROR[main]:    [C]: in function 'get_node'
20:55:45: ERROR[main]:    ...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:223: in function 'swap_node'
20:55:45: ERROR[main]:    C:\MINETEST2\bin\..\games\twt\mods\default/nodes.lua:1531: in function <C:\MINETEST2\bin\..\games\twt\mods\default/nodes.lua:1449>


swap_node function from default/nodes.lua
Code: Select all
function swap_node(pos,name)
   local node = minetest.get_node(pos)
   if node.name == name then
      return
   end
   node.name = name
   minetest.swap_node(pos,node)
end


I tried this.... temporarily rename swap_node in bridgebuilder.lua:223 i can login giveme a bridgebuilder without crash. I then stop server, revert swap_node in bridgebuilder.lua:223, i can login without crash but if i try to use bridgebuilder get this error.

Code: Select all
ERROR: An unhandled exception occurred: C:\MINETEST2\bin\..\games\twt\mods\mining_plus\init.lua:7: attempt to call method 'get_player_name' (a nil value)
21:56:14: ERROR[main]: stack traceback:
21:56:14: ERROR[main]:    C:\MINETEST2\bin\..\games\twt\mods\mining_plus\init.lua:7: in function 'has_mining_access'
21:56:14: ERROR[main]:    ...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:63: in function <...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:61>
Server Owner trainwrecktony.serveminecraft.net:30000
Server Specs: i5-3570, 16gb, 1tb 7200rpm 64mb cache, Win 2012 r2 x64, Dev mingw x64 minetest build, redis db
Gaming: Clevo W150HNQ, i7-2820, 16gb 1866 hyperx, 256gb Samsung 840 PRO SSD, Nvidia GT 540M, Win 7 Pro x64, Dev mingw x64 minetest build
 

User avatar
Krock
Developer
 
Posts: 4152
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Mining Plus [mining_plus]

by Krock » Sun Jun 22, 2014 06:43

trainwrecktony wrote:
Code: Select all
ERROR[main]: ERROR: An unhandled exception occurred: ...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:223: bad argument #1 to 'get_node' (table expected, got string)

I can not reproduce your bug, so I simply renamed the function. Did that help?

EDIT: Problems have been fixed with the latest git.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

trainwrecktony
Member
 
Posts: 51
Joined: Sun Jun 08, 2014 05:24
Location: NJ USA
In-game: trainwrecktony

Re: [Mod] Mining Plus [mining_plus]

by trainwrecktony » Mon Jun 23, 2014 00:49

ok think bug was more related to intweak mod bundled into default of minetestplus game, works with standalone intweak mod.

I'm trying to get grinder to use coal as fuel without any luck, maybe try maptools coins next
Server Owner trainwrecktony.serveminecraft.net:30000
Server Specs: i5-3570, 16gb, 1tb 7200rpm 64mb cache, Win 2012 r2 x64, Dev mingw x64 minetest build, redis db
Gaming: Clevo W150HNQ, i7-2820, 16gb 1866 hyperx, 256gb Samsung 840 PRO SSD, Nvidia GT 540M, Win 7 Pro x64, Dev mingw x64 minetest build
 

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] Mining Plus [mining_plus]

by RSLRedstonier » Thu Feb 08, 2018 13:22

This should totally be continued!
What an awesome mod!
"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 Mod Releases



Who is online

Users browsing this forum: Google [Bot], R-One and 8 guests