[Feature] Seaborne Improvement (#1553)

* Added a max to KnowTheTide. Added a onFear trigger to increase the resource

* .

* Added a notification message when KnowTheTide gains a token
This commit is contained in:
WBHarry 2026-01-21 02:52:07 +01:00 committed by GitHub
parent cc998bffa7
commit 3725fc29ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 41 additions and 5 deletions

View file

@ -20,6 +20,7 @@ export default class RegisteredTriggers extends Map {
}
registerItemTriggers(item, registerOverride) {
if (!item.actor || !item._stats.createdTime) return;
for (const action of item.system.actions ?? []) {
if (!action.actor) continue;