Shaped TNT Blast

Post Reply
DoyleChris
Member
Posts: 265
Joined: Sat Jul 25, 2015 19:54
In-game: DoyleChris

Shaped TNT Blast

by DoyleChris » Post

Is there a way to make the TNT do a perfect sphere or cube.

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

Re: Shaped TNT Blast

by Krock » Post

Change this line in your tnt/init.lua file: https://github.com/minetest/minetest_ga ... t.lua#L335
To: if true then (for cube)
To: if r <= radius then (for sphere)

Disclaimer: Untested.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests