* V3 * Add classes mode * Rework top rankings * Updatez 1) Fix issues with > 2 teams 2) Show game mode in match summary 3) Support > 2 teams in classic mode * Add nade fight mode * Updatez 1) More fair team allocator 2) Fix broken respawn delay if a match ends during respawn 3) Different map pools for different game modes * Updatez 1) Optimise the team allocator 2) Add soft restart and soft next map functions 3) Nail a player down after they die 4) Remove support immunity effect when a player dies 5) Allow to get stuff from lost teams' chests * Rework nade fight mode Co-authored-by: savilli <78875209+savilli@users.noreply.github.com>
27 lines
682 B
Bash
Executable File
27 lines
682 B
Bash
Executable File
#!/bin/bash
|
|
|
|
MOD_PREFIX=mtg_
|
|
MODS_TO_KEEP=(binoculars bucket butterflies creative default doors dye fire fireflies flowers map player_api screwdriver sfinv stairs tnt vessels walls wool xpanes)
|
|
|
|
cd ../mods/mtg/ # Will work if we run from inside the scripts folder
|
|
cd mods/mtg/ # Will work if we run from inside the capturetheflag folder
|
|
|
|
git clone git@github.com:minetest/minetest_game.git
|
|
|
|
mv minetest_game/mods .
|
|
|
|
echo "Updating mods..."
|
|
|
|
for mod in "${MODS_TO_KEEP[@]}"; do
|
|
rm -r "${MOD_PREFIX}${mod}/";
|
|
mv "mods/${mod}" "${MOD_PREFIX}${mod}";
|
|
done
|
|
|
|
echo "Done. Removing unneeded folders..."
|
|
|
|
rm -r mods/
|
|
|
|
rm -rf minetest_game/
|
|
|
|
echo "Done. minetest_game mods are updated!"
|