diff --git a/license.txt b/license.txt index 2188d8d..b8a68b3 100644 --- a/license.txt +++ b/license.txt @@ -1,7 +1,14 @@ sounds CC0, various authors + +magiccompass_quikbild.png - CC BY SA Zughy https://creativecommons.org/licenses/by-sa/4.0/ + + +otherwise, textures are or are released to the public domain lua_csv is MIT, see its license + + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/minigame_manager.lua b/minigame_manager.lua index c14704f..42bd016 100644 --- a/minigame_manager.lua +++ b/minigame_manager.lua @@ -60,19 +60,19 @@ end) arena_lib.on_time_tick('quikbild', function(arena) -- kick players who have been voted out - if arena.state ~= "game_over" and arena.in_celebration == false then - local num_players = 0 - for pl_name,stats in pairs(arena.players) do - num_players = num_players + 1 - end - for pl_name,stats in pairs(arena.players) do - if stats.kickvotes > num_players/3 and num_players > 4 then - arena_lib.remove_player_from_arena(pl_name, 2) - local msg = S("You were kicked by vote. Feel free to play again, but try not to be AFK during your turn, build letters, or tell players what your word is when you are the builder.") - minetest.chat_send_player(pl_name,minetest.colorize("#7D7071",">> "..msg)) - end - end - end + -- if arena.state ~= "game_over" and arena.in_celebration == false then + -- local num_players = 0 + -- for pl_name,stats in pairs(arena.players) do + -- num_players = num_players + 1 + -- end + -- for pl_name,stats in pairs(arena.players) do + -- if stats.kickvotes > num_players/3 and num_players > 4 then + -- arena_lib.remove_player_from_arena(pl_name, 2) + -- local msg = S("You were kicked by vote. Feel free to play again, but try not to be AFK during your turn, build letters, or tell players what your word is when you are the builder.") + -- minetest.chat_send_player(pl_name,minetest.colorize("#7D7071",">> "..msg)) + -- end + -- end + -- end if arena.state == 'choose_artist' then @@ -140,9 +140,13 @@ arena_lib.on_time_tick('quikbild', function(arena) -- give everyone except the artist helpful tools local l_player = minetest.get_player_by_name(pl_name) - l_player:hud_set_hotbar_itemcount(3) + l_player:hud_set_hotbar_itemcount(2) - for idx ,itemname in pairs({"quikbild:lang","quikbild:help","quikbild:kick"}) do + for idx ,itemname in pairs({ + "quikbild:lang", + "quikbild:help", + --"quikbild:kick" + }) do local item = ItemStack(itemname) l_player:get_inventory():set_stack("main", idx, item) end diff --git a/textures/magiccompass_quikbild.png b/textures/magiccompass_quikbild.png new file mode 100644 index 0000000..ebbecc1 Binary files /dev/null and b/textures/magiccompass_quikbild.png differ