[mod] Fun Tools [fun_tools]

Post Reply
User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

[mod] Fun Tools [fun_tools]

by duane » Post

Fun_tools adds a chainsaw, jackhammer and flare gun. The chainsaw cuts down whole trees (usually) and makes a slow, but powerful weapon. The jackhammer digs large volumes of rock and minerals. The flare gun shoots a number of bright, but short-lived flares into a volume, lighting it up briefly.
+ Spoiler
I've also added a simple bed made from four leaves, for beginning characters, and a decorative body pillow that can be used as a bed.

Since I'm dropping my elixirs mod, I moved the molotov cocktail and naptha into fun_tools. (Appropriate, since naptha is a requirement for the internal combustion engine the power tools depend on.) These are based on NPX's wonderful Not So Simple Bombs API.

Recipes
+ Spoiler
This is a work in progress.

The source is available on github.

Code: LGPL2
Textures: CC0 and CC3
Sounds: CC0

Mod dependencies: default, elixirs?, tnt?

Download: https://github.com/duane-r/fun_tools/archive/master.zip
Last edited by duane on Fri Jul 26, 2019 07:28, edited 7 times in total.
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Fun Tools [fun_tools]

by duane » Post

Problems: none so far
Last edited by duane on Fri Jan 27, 2017 08:38, edited 1 time in total.
Believe in people and you don't need to believe anything else.

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

Re: [Mod] Fun Tools [fun_tools]

by Krock » Post

Chainsaw being a fun tool? You're destroying the nature, that's somewhat damaging for the nature! ;)
I especially like the flare gun, as it's always hard to see what's in a new discovered cave that isn't flooded with bright lava.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

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

Re: [Mod] Fun Tools [fun_tools]

by Chibi ghost » Post

bwa ha ha ha I like chainsaws

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Fun Tools [fun_tools]

by duane » Post

This is my new character model...

Image
Believe in people and you don't need to believe anything else.

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

Re: [Mod] Fun Tools [fun_tools]

by Chibi ghost » Post

suitably bad ass

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Fun Tools [fun_tools]

by duane » Post

Added the easiest bed ever -- nest of leaves. Recipe: 4 leaves (bottom left)
Believe in people and you don't need to believe anything else.

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

Re: [Mod] Fun Tools [fun_tools]

by azekill_DIABLO » Post

you should turn the flares_nodes to glowing particles!

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

Re: [Mod] Fun Tools [fun_tools]

by azekill_DIABLO » Post

the flare gun, i tested it to explore big caves, it's very useful, but i had to modify it to make it super durable because it breaks soooo fast...

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Fun Tools [fun_tools]

by duane » Post

azekill_DIABLO wrote:the flare gun, i tested it to explore big caves, it's very useful, but i had to modify it to make it super durable because it breaks soooo fast...
If you keep extra powder in your inventory, it will reload itself.
Believe in people and you don't need to believe anything else.

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

Re: [Mod] Fun Tools [fun_tools]

by azekill_DIABLO » Post

but it disappears when i click like 5 times.

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [Mod] Fun Tools [fun_tools]

by duane » Post

azekill_DIABLO wrote:but it disappears when i click like 5 times.
You mean, when you don't have extra powder. Yes, I was thinking of real flare guns, which usually only fire once.
Believe in people and you don't need to believe anything else.

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

Re: [Mod] Fun Tools [fun_tools]

by azekill_DIABLO » Post

i would be like you flintlock pistol, you fire, the flare last for a long time and then you need to craft it with powder... +1

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Fun Tools [fun_tools]

by duane » Post

I've added a body pillow similar to my first mod, but using a nodebox.
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Fun Tools [fun_tools]

by duane » Post

I've added the flintlock pistol from fun_guns, and cleaned up the code quite a bit. Hopefully, it works a bit better.

I also added the golden tesseract, a line of sight teleporter. It's a good gold drain, since gold's not worth much in my game.
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Magic Beans

by duane » Post

I've added magic beans that grow into an easily climbable beanstalk. This has several advantages over dirt towers. For one thing, you can burn the beanstalk down if you get sick of it. In theory you can go as high as you want with this, but it might get tiring since each bean only produces 80 meters of stalk.

There's no formula to make the beans. In my game, they drop from rainbow grass in the cloudscape.

Image
Attachments
screenshot_20190715_221533.jpg
(161.14 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Torch Light

by duane » Post

I've added a simple torchlight feature that causes flare_air nodes to appear at your head when you're wielding a default torch. They vanish as you move away (though you'll still leave a bit of a glowing trail). They also burn out your torch in about ten minutes or less, removing it from the wielded stack.

Since this obviously takes a fair amount of cpu time, I added a switch to shut it off. Set "fun_tools_torchlight = false" in minetest.conf to disable it.

Edit: Interestingly enough, the flare_air nodes cause a flickering effect, a bit like a torch sputtering. : )
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Fun Tools [fun_tools]

by duane » Post

Ok, I replied instead of editing, but since I'm here...

I've separated the huge init.lua into separate files again, since it's getting out of hand. I also added naptha and molotov cocktails from the elixirs mod, which I'm about to drop.

Most importantly, I've updated the recipes in the first post.
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Big Flare

by duane » Post

I've added the incendiary device, which burns, when smacked with a torch, lighting up a very large area for up to a minute. The recipe is:

empty, steel ingot, empty
empty, gunpowder, empty
paper, gunpowder, paper

Replace the steel with bonedust, if you're running nmobs.
+ Spoiler
Attachments
screenshot_20190730_120032.jpg
(91.71 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1612
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Fun Tools [fun_tools]

by duane » Post

I've added a primitive metal detector. It tells you the general direction of the nearest mass of metal or metal ore. For some strange reason (heh), it detects chests as well, whether they contain metal or not.

Naturally, if you use this around your home base, you'll detect your own possessions.
+ Spoiler
Attachments
screenshot_20190912_030927.jpg
(171.41 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests