consoomer_edition.sh 666 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. # Applies mods to Anarch to create a consoomer edition more suitable for a
  3. # mainstream gaymer. Run from the root directory of the repository (NOT the
  4. # mod directory).
  5. # by drummyfish
  6. echo "making consoomer edition"
  7. for f in "full_zbuffer" "sprite_flipper" "weapon_swing" "particle_effects" "quicksave" "terminal_messages" "hd/hd" "crt" "movement_inertia"
  8. do
  9. echo "=== APPLYING $f ==="
  10. patch --ignore-whitespace -p1 < mods/$f.diff
  11. echo $?
  12. done
  13. sed -i 's/\(SFG_VERSION_STRING ".*\)"/\1 consoomer"/g' texts.h
  14. sed -i 's/SFG_PLAYER_DAMAGE_MULTIPLIER 512/SFG_PLAYER_DAMAGE_MULTIPLIER 300/g' settings.h # make the game easier for normies
  15. echo "DONE"