automatic update
This commit is contained in:
parent
f802514ebf
commit
0dd8bcc02e
@ -1,2 +1,3 @@
|
||||
default
|
||||
vector_extras
|
||||
moss?
|
||||
|
15
init.lua
15
init.lua
@ -900,6 +900,19 @@ minetest.register_entity("nuke:hardcore_mese_tnt", HARDCORE_MESE_TNT)
|
||||
|
||||
|
||||
|
||||
if moss then
|
||||
moss.register_moss({
|
||||
node = "nuke:iron_tnt",
|
||||
result = "nuke:mossy_tnt"
|
||||
})
|
||||
|
||||
moss.register_moss({
|
||||
node = "nuke:mese_tnt",
|
||||
result = "nuke:mossy_tnt"
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -947,7 +960,7 @@ function nuke.rocket_shoot(player, range, particle_texture, sound)
|
||||
if not pos2 then
|
||||
return
|
||||
end
|
||||
local snd = minetest.sound_play(sound, {pos = playerpos, gain = 1.0, max_hear_distance = range})
|
||||
local snd = minetest.sound_play(sound, {pos = playerpos, max_hear_distance = range})
|
||||
local delay = vector.straightdelay(math.max(vector.distance(startpos, pos2)-0.5, 0), nuke.rocket_speed, nuke.rocket_a)
|
||||
if not bl then
|
||||
rocket_expl(vector.round(pos2), player, startpos, snd, delay)
|
||||
|
Loading…
x
Reference in New Issue
Block a user