#!/usr/bin/env bash
# should be run from inside "magic" dir of NEMS
# make patch dir
patch_dir="../../../../06 Nifty Elemental Magic Sounds - Patch/Sound/Fx/magic"
if [ ! -d "${patch_dir}" ]; then mkdir -pv "${patch_dir}"; fi
# fire
mv -v "fireA.wav" "${patch_dir}/firesA.wav"
# I've failed to hear it even with increased gain. That should have something with timing
# mv -v "fireH.wav" "${patch_dir}/firesHit.wav"
# doesn't need renaming
# mv -v "fireT.wav" "${patch_dir}/fireT.wav"
mv -v "fireC.wav" "${patch_dir}/firesCast.wav"
# frost
mv -v "frstA.wav" "${patch_dir}/frostA.wav"
mv -v "frstC.wav" "${patch_dir}/frostCast.wav"
mv -v "frstH.wav" "${patch_dir}/frostHit.wav"
mv -v "frstT.wav" "${patch_dir}/frostT.wav"
# shock
mv -v "shokA.wav" "${patch_dir}/shokingA.wav"
mv -v "shokC.wav" "${patch_dir}/shokingCast.wav"
mv -v "shokH.wav" "${patch_dir}/shokingHit.wav"
mv -v "shokT.wav" "${patch_dir}/shokingT.wav"
# copy original readme
mv -v "../../../Readme.txt" "../../../../06 Nifty Elemental Magic Sounds - Patch"
