Add a setting that makes it so player rolls don't auto-update the sands of fate

This commit is contained in:
Eldritch-Oliver 2025-10-07 22:16:23 -06:00
parent c0a9731b02
commit 77d43f28b4
2 changed files with 14 additions and 0 deletions

View file

@ -155,6 +155,10 @@
"both": "Notification and Pause Game",
"nothing": "Do Nothing"
}
},
"allowUpdateSandsSocket": {
"name": "Player Haste Updates the Sands of Fate",
"hint": "This setting determines if when a player makes a haste check that the result will automatically be applied to the global Sands of Fate. Disabling this is good if you want to let players roll without needing to worry about automation messing anything up while they spam rolls."
}
},
"Apps": {

View file

@ -39,4 +39,14 @@ export function registerWorldSettings() {
},
}),
});
game.settings.register(`ripcrypt`, `allowUpdateSandsSocket`, {
name: `RipCrypt.setting.allowUpdateSandsSocket.name`,
hint: `RipCrypt.setting.allowUpdateSandsSocket.hint`,
scope: `world`,
config: true,
requiresReload: false,
type: Boolean,
default: true,
});
};