replace UnlockAllAreas and PreventPersistQuestFlags with generalized rewrite map
This commit is contained in:
+49
-14
@@ -958,14 +958,6 @@
|
||||
// available on the proxy server.
|
||||
"CheatModeBehavior": "OnByDefault",
|
||||
|
||||
// Whether to unlock all areas by default in Ep1/2/4 games. If this is on,
|
||||
// the Ragol warp in Pioneer 2 will allow access to all base areas (Forest 1,
|
||||
// Cave 1, Mine 1, and Ruins 1 in Episode 1, for example) even if the player
|
||||
// who created the game does not yet have access to those areas.
|
||||
// Note that some late PSOBB client versions (for example, the Tethealla
|
||||
// client) open all areas by default, so this setting has no effect for them.
|
||||
"UnlockAllAreas": false,
|
||||
|
||||
// Whether to enable rare drop notifications by default. Players can toggle
|
||||
// this behavior for themselves with the $itemnotifs command.
|
||||
"RareNotificationsEnabledByDefaultV1V2": false,
|
||||
@@ -1107,12 +1099,55 @@
|
||||
"Episode2": [1, 30, 60, 100],
|
||||
"Episode4": [1, 40, 70, 110],
|
||||
},
|
||||
// Some quest flags should not be written to the character file when they're
|
||||
// updated during a quest. Specify the flag IDs here to prevent those flags
|
||||
// from being updated in saved BB character data. The default value here
|
||||
// prevents the door locks in CCA from being deactivated in free-roam by
|
||||
// loading a quest.
|
||||
"PreventPersistQuestFlags": [0x0046, 0x0047, 0x0048],
|
||||
|
||||
// Some quest flags should be changed when a game is started in order to fix
|
||||
// certain in-game issues (noted in the comments in the default values below).
|
||||
// These can be true, false, or expressions to make values conditional on
|
||||
// other flags' values. For non-BB versions, you should generally only use
|
||||
// true and false here, since the server doesn't have direct access to the
|
||||
// client's quest flags from their save file.
|
||||
// If you use an expression, the format is the same as the AvailableIf and
|
||||
// EnabledIf fields in quest JSON files (see system/quests/battle/b88001.json
|
||||
// for details). Note that the expression is only evaluated at the time the
|
||||
// game is created, and the player-specific tokens like C_EpX_YY refer to the
|
||||
// player who created the game.
|
||||
// The UnlockAllAreas option is now gone; if you want the same behavior as if
|
||||
// it were enabled, uncomment all the "area unlocks" lines below. Note that
|
||||
// some late PSOBB client versions (for example, the Tethealla client) open
|
||||
// all areas by default, so the area unlock flags have no effect for them.
|
||||
"QuestFlagRewritesV1V2": {
|
||||
// "F_0017": true, // Ep1 area unlocks
|
||||
// "F_0020": true, // Ep1 area unlocks
|
||||
// "F_002A": true, // Ep1 area unlocks
|
||||
},
|
||||
"QuestFlagRewritesV3": {
|
||||
// "F_0017": true, // Ep1 area unlocks
|
||||
// "F_0020": true, // Ep1 area unlocks
|
||||
// "F_002A": true, // Ep1 area unlocks
|
||||
// "F_004C": true, // Ep2 area unlocks
|
||||
// "F_004F": true, // Ep2 area unlocks
|
||||
// "F_0052": true, // Ep2 area unlocks
|
||||
},
|
||||
"QuestFlagRewritesV4": {
|
||||
// "F_01F9": true, // Ep1 area unlocks
|
||||
// "F_0201": true, // Ep1 area unlocks
|
||||
// "F_0207": true, // Ep1 area unlocks
|
||||
// "F_021B": true, // Ep2 area unlocks
|
||||
// "F_0225": true, // Ep2 area unlocks
|
||||
// "F_022F": true, // Ep2 area unlocks
|
||||
// "F_02BD": true, // Ep4 area unlocks
|
||||
// "F_02BE": true, // Ep4 area unlocks
|
||||
// "F_02BF": true, // Ep4 area unlocks
|
||||
// "F_02C0": true, // Ep4 area unlocks
|
||||
// "F_02C1": true, // Ep4 area unlocks
|
||||
"F_0046": false, // Ep2 CCA door lock fix
|
||||
"F_0047": false, // Ep2 CCA door lock fix
|
||||
"F_0048": false, // Ep2 CCA door lock fix
|
||||
"F_002C": "F_01F7", // Ep1 Forest monument state = 1-2 cleared
|
||||
"F_002D": "F_01FD", // Ep1 Cave monument state = 2-2 cleared
|
||||
"F_002E": "F_0209", // Ep1 Mine monument state = 4-1 cleared
|
||||
"F_002F": "F_01F7 && F_01FD && F_0209", // All monuments state
|
||||
},
|
||||
|
||||
// Whether to enable certain exception handling. Disabling this causes
|
||||
// newserv to abort when any client causes an exception, which is generally
|
||||
|
||||
Reference in New Issue
Block a user