Skip to main content

12 docs tagged with "magic"

View all tags

Amulet

Manages amulet-specific behaviors when equipped or unequipped, including healing, freezing, sanity effects, building discounts, pickup ability, and light emission, depending on the amulet color variant.

Books

Defines book prefabs and their associated magical spell effects for the Wickerbottom character, including growth spells, weather manipulation, and entity summoning.

Magiciantool

Manages the usage lifecycle of magical tools by tracking user context and invoking custom callbacks when tools are started or stopped being used.

Miniboatlantern

A portable magical lantern that provides light, boosts wearer movement speed, and consumes magic fuel over time while active.

Simplemagicgrower

Triggers incremental growth stages on an entity using repeated automatic calls to Growable:DoGrowth until a target stage is reached.

Spellbookcooldowns

Manages spell cooldowns for spellbook-equipped entities by tracking active cooldown instances and providing query and manipulation methods.

Staff

Implements magical staff prefabs with colour-specific abilities, including fire/lighting, ice/freezing, teleportation, blinking, deconstruction, and light creation.

Staff Projectile

Creates animated projectile prefabs for ice and fire magical attacks, handling hit behavior with specialized effects and cleanup.

Staffsanity

Modifies the rate of sanity change when used as a staff-like item to cast abilities.

Trident

A magical trident that enables远程 wave-spawned explosions on water and interacts with fish, plants, and structures in the ocean.

Voidcloth Umbrella

A magical rain-protection item that deploys a dome to block rain and acid rain while consuming magic fuel, with unique behavior when damaged.

Weed Plants

A reusable prefab factory that creates customizable farmable weeds with growth stages, soil interaction, and magical growth mechanics.