BACKUP ~bp-bgt_worldmap_pvrz/backup~
AUTHOR ~K4thos (swit)~

BEGIN ~bp-bgt_worldmap_pvrz~
//NO_LOG_RECORD

COPY ~bp-bgt_worldmap_pvrz/WORLDMAP.MOS~ ~override~
	LPF ~UPDATE_PVRZ_INDICES~ RET original_base_index new_base_index END
ACTION_IF original_base_index >= 0 AND new_base_index >= 0 BEGIN
	ACTION_BASH_FOR ~bp-bgt_worldmap_pvrz~ ~MOS20.*\.PVRZ~ BEGIN
		LAF ~INSTALL_PVRZ~ INT_VAR original_base_index new_base_index STR_VAR source_file = EVAL ~%BASH_FOR_FILESPEC%~ END
	END
END ELSE BEGIN
	WARN ~WARNING: Couldn't install PVRZ files~
END
