A hook event fired by the system when a registry is initialized. Substitute the Registry part of the hook name with the name of the registry, for example pf1RegisterDamageTypes.
Registry
pf1RegisterDamageTypes
The registry that is initialized.
Called by Hooks.callAll
Hooks.on("pf1RegisterDamageTypes", (registry, model) => { registry.register("my-module", "bleed", { name: "Bleed", icon: "ra ra-droplet", color: "red", category: "misc", });}); Copy
Hooks.on("pf1RegisterDamageTypes", (registry, model) => { registry.register("my-module", "bleed", { name: "Bleed", icon: "ra ra-droplet", color: "red", category: "misc", });});
A hook event fired by the system when a registry is initialized. Substitute the
Registrypart of the hook name with the name of the registry, for examplepf1RegisterDamageTypes.