Update In depth : objects authored by Guillaume Vandenneucker's avatar Guillaume Vandenneucker
......@@ -49,6 +49,19 @@ OBJECT_1:
...
required_valid: 1
required_not_valid: 0
checkpoint:
save_location: true # true to save the location of all players in the quest
save_specific_location: world,0,0,0 # a location that will be the same for all players (instead of individual 'save_location')
save_branches: true # true to save the current state of branches and objects progression
save_individual_branches: true # true to save the current state of individual branches and objects progression
restore_on_respawn: INDIVIDUAL # what kind of restore should be made when a player in the quest respawns ; can be ALL_PLAYERS to restore all, INDIVIDUAL to restore only for that player (location and individual branches) or NONE to not restore it
restore_on_connect: INDIVIDUAL # what kind of restore should be made when a player in the quest reconnects ; this doesn't apply for the leader because it will then be "on resume" ; can be ALL_PLAYERS to restore all, INDIVIDUAL to restore only for that player (location and individual branches) or NONE to not restore it
restore_on_resume: ALL_PLAYERS # what kind of restore should be made when the quest is resumed (most likely when the leader joins or on reload) ; can be ALL_PLAYERS to restore all, INDIVIDUAL to restore only for that player (location and individual branches) or NONE to not restore it
restore_conditions: # under what other conditions should the checkpoint be restored (all players) ; you must specify at least one condition for this to be checked
# ... like other conditions group
individual_restore_conditions: # under what other conditions should the checkpoint be restored (individually) ; you must specify at least one condition for this to be checked
# ... like other conditions group
message_and_sound_on_branch_restore: true # true to play the active object message and sound when a branch is restored
```
 
- 'type' is the object type. They're all detailed below.
......@@ -69,6 +82,7 @@ OBJECT_1:
- 'only_for_role' (optional) ; set it to a role (LEADER, PLAYER (coop player), RANDOM, JOINED [join order, from 1 to X, where 1 is the leader and X is the maximum amount of players in the quest]) to restrict the progression of this object to a specific player
- 'forbidden' (optional) is a list of forbidden actions as long as this object is running (PLAYER_MOVE, PLAYER_ITEM_PICKUP, PLAYER_ITEM_DROP, PLAYER_ITEM_ENCHANT, PLAYER_ITEM_CONSUME, PLAYER_BLOCK_PLACE, PLAYER_BLOCK_BREAK, PLAYER_MOB_TAME, PLAYER_MOB_MOUNT, PLAYER_MOB_DISMOUNT, PLAYER_MOB_SHEAR, PLAYER_CHAT, PLAYER_COMMAND, PLAYER_INTERACT, PLAYER_BED_ENTER, PLAYER_BED_LEAVE, PLAYER_FISH, PLAYER_VEHICLE_ENTER, PLAYER_VEHICLE_EXIT).
- 'progress_conditions' (optionl) is a list of conditions needed to progress this object.
- 'checkpoint' is a checkpoint to be restored under some conditons ; it saves a certain amount of information when the object begins ; more info above in comments for every part of saved stuff or restore conditions
 
## Location settings
 
......
......