I have to report a very odd problem that seems to be caused by TobEx.
If a mod adds (vanilla) spells scrolls to a store after Tobex core (24) is installed, the newly added spells will only cost 1gp. Without TobEx there is no problem, and already existing spells for sale get a correct price.
Way to reproduce :
- Install TobEx 24 core only on a BG2 vanilla install (even without BG2FixPack, but the problem is the same with BG2 FixPack)
- Install component 410 of my Anomaly Tweak Pack Mod (a component that adds some spells scrolls to the scroll shop in Adventurer's Mart, see below for the code I use and download link)
- Start a TOB game (to avoid the SOA cutscene)
- Teleport to AR0702 with console
- Ask to see the scroll shop
- Notice that the original scrolls are of the correct price, but the added ones (at the end) cost 1 gp only
- If you remove TobEx and retry, all scrolls will get the correct price
My mod is only using basic WeiDU stuff to add scrolls :
BEGIN @410 DESIGNATED 410
REQUIRE_PREDICATE GAME_IS ~tob~ @999
COPY_EXISTING ~scrolls.sto~ ~override/scrolls.sto~
ADD_STORE_ITEM ~SCRL6H~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Protection contre le feu
ADD_STORE_ITEM ~SCRL6I~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Protection contre le froid
ADD_STORE_ITEM ~SCRL5T~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Protection contre l'<E9>lectricit<E9>
ADD_STORE_ITEM ~SCRL6Y~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Protection contre l'acide
ADD_STORE_ITEM ~SCRL1V~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Porte dimensionnelle
ADD_STORE_ITEM ~SCRL1J~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Invisibilit<E9> sur 3m
ADD_STORE_ITEM ~SCRLA7~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // D<E9>livrance de la magie
ADD_STORE_ITEM ~SCRL8X~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Bouclier <E0> sorts
ADD_STORE_ITEM ~SCRL8C~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Transmutation de la pierre en chair
ADD_STORE_ITEM ~SCRL8B~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Convocation de Nishruu
ADD_STORE_ITEM ~SCRL8V~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Contr<F4>le des morts vivants
ADD_STORE_ITEM ~SCRL8R~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // <C9>p<E9>e de Mordenkainen
ADD_STORE_ITEM ~SCRL8G~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Rayon rubis d'inversion
ADD_STORE_ITEM ~SCRL9C~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Manteau sup<E9>rieur
ADD_STORE_ITEM ~SCRL9A~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Perce-bouclier
ADD_STORE_ITEM ~SCRLB1~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Poing serr<E9> de Bigby
ADD_STORE_ITEM ~SCRLB2~ LAST #0 #0 #0 ~IDENTIFIED~ #3 // Main broyante de Bigby
ADD_STORE_ITEM ~SCRL9Z~ LAST #0 #0 #0 ~IDENTIFIED~ #9 // Libert<E9>
Trying to WeiDU --change-log scrl9z.itm gives no result (the spell scroll does not seem to have been changed by anything).
If you want to try, my mod can be downloaded here.
I have really no clues of why TobEx affects scrolls prices that way and only mod-added ones.
Edited by Anomaly, 24 September 2012 - 04:54 AM.