Workable system, firt step
This commit is contained in:
@@ -87,6 +87,15 @@ Hooks.once("init", function () {
|
||||
default: "",
|
||||
})
|
||||
|
||||
game.settings.register("fvtt-hamalron", "tarotDeckState", {
|
||||
name: "Tarot Deck State",
|
||||
hint: "Stores the current state of the tarot deck and discard pile",
|
||||
scope: "world",
|
||||
config: false,
|
||||
type: Object,
|
||||
default: { deck: [], discard: [] },
|
||||
})
|
||||
|
||||
// Activate socket handler
|
||||
game.socket.on(`system.${SYSTEM.id}`, handleSocketEvent)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user