[Mod] recharge your tools in inventory [1.0][pocketnuke]

Post Reply
u18398

[Mod] recharge your tools in inventory [1.0][pocketnuke]

by u18398 » Post

You are sick of running each time to your hv battery to charge your tools ?
This is the right mod for you.


PocketNuke


Image

Depends: technic, unified_inventory

License:
License for the code: LGPL
License for all the models, textures and sound: CC BY-SA 4.0

V0.1: first commit
V0.2: fixed inventory issue
V1.0: fixed gui messages, turned off chat messages


Description:

This will add a new button to your inventory. After you click on it you will see the
above gui. Top right is the fuel slot. Put one technic:uranium_fuel here to set up.
After fuel is inserted you can charge your technic tools in the tool slot.
This works instantly ! No waiting like batteries. Put drills, lasers, chainsaw etc.
One uranium fuel is enough to charge a MK3 drill 25 times. Straight from your
inventory. A wearout bar is shown for how much charge is left in the uranium.
When fuel is finished slot will be emptied and can be filled again with uranium.


Known issues:
none

Download here : https://github.com/berengma/pocketnuke/ ... master.zip
See code here : https://github.com/berengma/pocketnuke


happy mining

Gundul
Last edited by u18398 on Thu May 11, 2017 13:01, edited 7 times in total.

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

Re: [Mod] PocketNuke [0.1] [pocketnuke]

by azekill_DIABLO » Post

looks cool, i like the UI!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

u18398

Re: [Mod] recharge your tools in inventory [0.1] [pocketnuk

by u18398 » Post

Thanks azekill_DIABLO :)


Version 0.2 has fixed inventory. No more losses

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

Re: [Mod] recharge your tools in inventory [0.2] [pocketnuk

by azekill_DIABLO » Post

i need to try it!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

u18398

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by u18398 » Post

--- V1.0 Update ---


turned off chatmessages.
All status messages inside the gui now.

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

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by azekill_DIABLO » Post

you should release the mod, ithink... it looks good!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

u18398

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by u18398 » Post

azekill_DIABLO wrote:you should release the mod, ithink... it looks good!
Thanks. Done already yesterday. It is on the move list :)

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

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by azekill_DIABLO » Post

:)
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
linushsao
Member
Posts: 418
Joined: Mon Jan 27, 2014 12:56
IRC: linushsao
In-game: linus
Location: Taipei,Taiwan(R.O.C)
Contact:

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by linushsao » Post

awesome.
1)Server:Mars World
2).address:139.59.238.211:30016
3).manual(in processing):http://tinyurl.com/jyjkrgl
4).for my(admin's) role in all my servers,i'll be as the earth/water/fire/wind. i maintain that system,but not manage/touch players directly in game,not own the crafts on planet. i just keep watching the worlds.
5).TODO-List

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by TechNolaByte » Post

can you make it so it also works with batteries and power crystals so you can charge them at your base then use them to recharge your tools far away(don't consume the batteries and crystals just deplete their power)
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

u18398

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by u18398 » Post

RSLRedstonier wrote:can you make it so it also works with batteries and power crystals so you can charge them at your base then use them to recharge your tools far away(don't consume the batteries and crystals just deplete their power)
You mean instead, or in addition, of using uranium rods as fuel ?

User avatar
ChimneySwift
Member
Posts: 320
Joined: Fri Sep 22, 2017 06:46
GitHub: ChimneySwift
IRC: ChimneySwift
In-game: ChimneySwift
Location: 127.0.0.1

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by ChimneySwift » Post

Nice! I'm sure it's safe to have a uranium fuel rod in your pocket.
A spoon is basically a tiny bowl with a stick on it

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by TechNolaByte » Post

Gundul wrote:
RSLRedstonier wrote:can you make it so it also works with batteries and power crystals so you can charge them at your base then use them to recharge your tools far away(don't consume the batteries and crystals just deplete their power)
You mean instead, or in addition, of using uranium rods as fuel ?
in addition
i noticed it uses a dummy rod for durability bar which displays use left
was hoping you could add the ability to use the 3 energy crystals and batteries that have charge in them to charge tools, cinda like the discharge/charge functions of battery boxes
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

u18398

Re: [Mod] recharge your tools in inventory [1.0][pocketnuke

by u18398 » Post

RSLRedstonier wrote: in addition
i noticed it uses a dummy rod for durability bar which displays use left
was hoping you could add the ability to use the 3 energy crystals and batteries that have charge in them to charge tools, cinda like the discharge/charge functions of battery boxes
That should be possible. Do RE batteries hold enough power to charge any tool btw ?
I will look into this, but I can't say when. I am bit busy with my too servers right now :)

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 15 guests