[Mod] exploding chest [explodingchest]

Post Reply
User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

[Mod] exploding chest [explodingchest]

by Coder12 » Post

This mod provides a framework to make a volatile chest or storage nodes which explode if it contains any registered explosive materials.
License: MIT
Mod dependencies: tnt
Optional mod dependencies: tnt_revamped
+ Spoiler
+ Spoiler
+ Spoiler
ContentDB
Browse Code
Download
Attachments
screenshot_20190519_185837.png
(359.52 KiB) Not downloaded yet
Last edited by Coder12 on Tue Oct 29, 2019 05:54, edited 16 times in total.

Mineminer
Member
Posts: 58
Joined: Mon Mar 05, 2018 04:05

Re: [Mod] exploding chest [explodingchest]

by Mineminer » Post

Gotta admit that is pretty neat little "extra" type of mod. :)

User avatar
xeranas
Member
Posts: 160
Joined: Fri Feb 05, 2016 11:06

Re: [Mod] exploding chest [explodingchest]

by xeranas » Post

Does explosion size depends on how much powder is on chest?

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

xeranas wrote:Does explosion size depends on how much powder is on chest?
Yes.

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

Re: [Mod] exploding chest [explodingchest]

by RSLRedstonier » Post

Coder12 wrote:
xeranas wrote:Does explosion size depends on how much powder is on chest?
Yes.
what's the max? and does it have a limit so if i use a /giveme command to give a stack with over 99 items in it or change the stack max will it still have a bigger explosion?
"A programmer is just a tool which converts caffeine into code"

try out my skytest mod always being updated!
viewtopic.php?f=9&t=17568

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

RSLRedstonier wrote:
Coder12 wrote:
xeranas wrote:Does explosion size depends on how much powder is on chest?
Yes.
what's the max? and does it have a limit so if i use a /giveme command to give a stack with over 99 items in it or change the stack max will it still have a bigger explosion?
All right I updated the mod. You can now limit the size of the explosion. Just go to settings.lua file. And plus get ready for exploding cabinets I add more container types.

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] exploding chest [explodingchest]

by ChimneySwift » Post

Huh. Neat. +1. Everybody make sure you keep your gunpowder storage away from the edge of your protection. :P
A spoon is basically a tiny bowl with a stick on it

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

I am working on trap chest's for the next update. If you try to open the chest it goes Ka-Boom :). If there is a chest mod I missed or something you want added just leave a reply.

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] exploding chest [explodingchest]

by ChimneySwift » Post

Coder12 wrote:If there is a chest mod I missed or something you want added just leave a reply.
How about technic_chests?
A spoon is basically a tiny bowl with a stick on it

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

ChimneySwift wrote:
Coder12 wrote:If there is a chest mod I missed or something you want added just leave a reply.
How about technic_chests?
okay that will be added too.

User avatar
Linuxdirk
Member
Posts: 2517
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] exploding chest [explodingchest]

by Linuxdirk » Post

Coder12 wrote:Just go to settings.lua file.
Better use settingtypes.txt for that.

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

Allright I updated the mod it now has support for technic chests and I added craftable trap chests that explode when right-clicked. And I added settingtypes.txt so you can change the settings through the game software. Thanks Linuxdirk for suggesting that.

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] exploding chest [explodingchest]

by azekill_DIABLO » Post

this is awesome! Does they explode when fire is near? it should technically!

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

The mod was updated. It now has more storage containers being mailboxes and locked chest. Plus I added two new settings.

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

I re-done the mod. alot of dependencies where removed. Read the topic you now do things through node groups.

User avatar
TenPlus1
Member
Posts: 2727
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] exploding chest [explodingchest]

by TenPlus1 » Post

Great idea :)

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

W.I.P changes. I'm gonna allow the volatile container to become a entity (You will need the tnt_revamped mod turned on for that)
Heres a video to show you what I am talking about :)

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

Done but there seems to be a bug with the volatile container's on_blast function, it keeps using the default one even tho its overridden.

User avatar
Coder12
Member
Posts: 157
Joined: Sat Sep 30, 2017 00:15
GitHub: Coder12a
IRC: Coder12
In-game: Bob12

Re: [Mod] exploding chest [explodingchest]

by Coder12 » Post

I fixed it. does anyone know how to rotate the entity by the nodes param2?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests