diff --git a/langs/en-ca.json b/langs/en-ca.json index 963b2c2..f42b159 100644 --- a/langs/en-ca.json +++ b/langs/en-ca.json @@ -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": { diff --git a/module/settings/worldSettings.mjs b/module/settings/worldSettings.mjs index ca095ae..ac1643c 100644 --- a/module/settings/worldSettings.mjs +++ b/module/settings/worldSettings.mjs @@ -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, + }); };