I'm working on this now. For starters, I'm adding this in GoldBug.c and WoodesRogers.c:
Code:
AddStorylineVar(n, "DYNAMIC_INTERFACES", "1"); // PB: Override default "Dynamic Interfaces" behaviour
And then introducing a new function:
Code:
int DynamicInterfaceLevel()
{
if (sti(GetStorylineVar(FindCurrentStoryline(), "DYNAMIC_INTERFACES")) == 1) return 1;
if (bAnimation) return 2;
else return 0;
}
This should have the following effects:
- Animated backgrounds still listen to the MAIN toggle and aren't overridden by the storyline
- Legend in the Archipelago Map Interface also remains unaffected (ON with Dynamic Interfaces, OFF with Static)
- Items (Inventory) & Passengers Interfaces: Show text only if Dynamic Interfaces ON and OUTSIDE Woodes Rogers/The Gold-Bug, so NEVER shown in those storylines.
- Itemsbox (Transfer) Interface: Transparent background still listens to the MAIN toggle and isn't overridden by the storyline
- Itemsbox (Transfer) Interface: Show text only if Dynamic Interfaces ON, but have this ALWAYS on during the Woodes Rogers/The Gold-Bug storylines.
In other words, the differences for Woodes Rogers/The Gold-Bug is that:
- Inventory and Passengers Interfaces NEVER get text
- Transfer Interface ALWAYS gets text
Does that sound about right? I'll include this in the next upload, but it'll need to be tested to check that it does what I think it does....