Posted by: the bigg
« on: October 25, 2010, 05:21:31 AM »Yes.
The simplest solution would be to use MKDIR save before running sc#addwmpare; the 222 version of sc#addwmpare will execute MKDIR save on its own (unless you can think of a case where it'd be beneficial to have GET_FILE|DIRECTORY_ARRAY, *_BASH_EACH and the like silently skipping over missing directories).Ok, whatever works. I don't use it or know of it being used outside of messing with saved games.
(GROUP_ENABLED ~BG2 NPCs~ AND GAME_IS ~bg2 tob~) OR (GROUP_ENABLED ~BG1 NPCs~ AND GAME_IS ~tutu tutu_totsc bgt~)This will be the behavior in 222, then.
However, since GROUP constraints act as REQUIRE_PREDICATE, it ends up working like REQUIRE_PREDICATE (GROUP_ENABLED ~BG2 NPCs~ OR GROUP_ENABLED ~BG1 NPCs~) AND GAME_IS ~bg2 tob~ AND GAME_IS ~tutu tutu_totsc bgt~.Well that is fairly counterproductive, because the game will never be *both* BG2 and Tutu. Should be a disjunction of two conjunctions, not vice-versa:
'Skipping' (@-1020) is without the square bracket (or the space), while '] because it fails its requirements.' (@-1037) has it.So did you just hardcode the left bracket for "Skipping [component] because it fails its requirements", add a new string or what? I don't know if there are any languages where brackets will be different (maybe Chinese or something). I suppose you could also just drop the GROUP from @-1036 and use the same text for both GROUPs and components.