From 46460bb870d633cd64b75e70fe88ab096bf2bb21 Mon Sep 17 00:00:00 2001 From: Ychap Date: Sun, 7 Jul 2024 18:11:32 +0200 Subject: [PATCH] Process RNDMAGIC.2DA before RNDTREAS.2DA --- EET/lib/bg2_2DA.tph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EET/lib/bg2_2DA.tph b/EET/lib/bg2_2DA.tph index d49c6e06..e47293a7 100644 --- a/EET/lib/bg2_2DA.tph +++ b/EET/lib/bg2_2DA.tph @@ -926,7 +926,7 @@ COPY + ~%MOD_FOLDER%/temp/array/RNDTREAS.2DA~ ~%MOD_FOLDER%/temp/array~ REPLACE_TEXTUALLY ~^GEMBLADE .+$[%newline%]*~ ~~ OUTER_SET treasMag = 0 -ACTION_FOR_EACH file IN RNDTRES RNDTREAS RNDEQUIP RNDMAGIC RNDSCROL RNDWEP BEGIN +ACTION_FOR_EACH file IN RNDMAGIC RNDTRES RNDTREAS RNDEQUIP RNDSCROL RNDWEP BEGIN COPY + ~%MOD_FOLDER%/temp/array/%file%.2DA~ ~%MOD_FOLDER%/temp/array~ PRETTY_PRINT_2DA SPRINT textToReplace ~2DA[ %TAB%]+V1.0[%newline%]+.+[%newline%]+.+[%newline%]+~ @@ -990,7 +990,7 @@ COPY_EXISTING ~rndtres.2da~ ~override~ APPEND_FILE ~%MOD_FOLDER%/temp/array/rndtres.2DA~ PRETTY_PRINT_2DA BUT_ONLY -ACTION_FOR_EACH file IN RNDTREAS RNDEQUIP RNDMAGIC RNDSCROL RNDWEP BEGIN +ACTION_FOR_EACH file IN RNDMAGIC RNDTREAS RNDEQUIP RNDSCROL RNDWEP BEGIN COPY_EXISTING ~%file%.2DA~ ~override~ PRETTY_PRINT_2DA COUNT_2DA_ROWS 3 cntrow