Regnum 3.2.10 upload

Game-5.4.x
Der1248 2018-07-31 19:29:41 +02:00
parent 2f3830039f
commit 7ac65bd4f6
3 changed files with 9 additions and 7 deletions

Binary file not shown.

View File

@ -16,12 +16,14 @@ minetest.register_globalstep(function(dtime)
if inst2 == 1 then if inst2 == 1 then
table.insert(inst_list, "Theme2") table.insert(inst_list, "Theme2")
end end
local inst = inst_list[ math.random(#inst_list)] if inst1 == 1 or inst2 == 1 then
local music = player_inv:get_stack("music", 1):get_count() local inst = inst_list[ math.random(#inst_list)]
if music == 1 then local music = player_inv:get_stack("music", 1):get_count()
sound_play_regnum = minetest.sound_play(inst, { if music == 1 then
to_player = player, sound_play_regnum = minetest.sound_play(inst, {
}) to_player = player,
})
end
end end
end end
end end

View File

@ -14,7 +14,7 @@ minetest.register_on_joinplayer(function(player)
offset = {x=0, y=30}, offset = {x=0, y=30},
alignment = {x=1, y=0}, alignment = {x=1, y=0},
number = 0xFFFFFF , number = 0xFFFFFF ,
text = "Game Version : 3.2.9", text = "Game Version : 3.2.10",
}) })
end) end)