diff --git a/init.lua b/init.lua index 55695c3..d19d5a4 100644 --- a/init.lua +++ b/init.lua @@ -22,7 +22,7 @@ end arena_lib.register_minigame("the_bridge", { name = "The Bridge", - --icon = "magiccompass_the_bridge.png", + icon = "icon.png", teams = { S("red"), S("blue") }, teams_color_overlay = { "crimson", "blue"}, celebration_time = 3, @@ -46,7 +46,7 @@ arena_lib.register_minigame("the_bridge", { in_game_physics = { speed = player_speed, jump = player_jump, - sneak=false, + sneak=true,--allow sneaking (again) }, disabled_damage_types = {}, diff --git a/textures/icon.png b/textures/icon.png new file mode 100644 index 0000000..2d6c06e Binary files /dev/null and b/textures/icon.png differ diff --git a/the_bridge.lua b/the_bridge.lua index 8c9880b..2df2b12 100644 --- a/the_bridge.lua +++ b/the_bridge.lua @@ -205,6 +205,7 @@ minetest.register_craftitem("the_bridge:knockback_stick",{ if not pointed_thing then return end if not minetest.is_player(pointed_thing.ref) then return end dir = user:get_look_dir() + dir.y = dir.y+0.2 pointed_thing.ref:add_player_velocity(vector.multiply(dir,8)) end, })