I've noticed a few issues in the WeiDU Readme:
1. The
tutorial for ADD_STORE_ITEM doesn't mention that you have to specify "NONE" for empty flags.
2. Links from entries in the dialog syntax table (chapter 4) or TP2 syntax table (chapter 9) to their respective tutorials don't work. Examples are
INTERJECT_COPY_TRANS or
ALTER_TRANS in the Dialog table and
ADD_STORE_ITEM,
ADD_GAM_NPC or
SUBCOMPONENT in the TP2 table.
I also have a question about the REQUIRE_xxx flags. Assuming my mod contains a main component 1 and a secondary component 2 which can only be installed if component 1 has been selected.
When I'm using the following flag for component 2
REQUIRE_COMPONENT ~setup-xyz.tp2~ 1 ~Component 1 required!~
then component 2 is automatically uninstalled when I'm uninstalling component 1.
When I'm using the following flag instead
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-xyz.tp2~ 1) ~Component 1 required!~
then component 2 is automatically uninstalled as well, but WeiDU still asks what to do with this component. None of the available options appear to work as expected though. For example, selecting "Quit" displays the message "[XYZ/SETUP-XYZ.TP2] component 2 fails component requirements, *not* Re-Installing.". Shouldn't this construct behave the same way as REQUIRE_COMPONENT?