Flame Items
Crafting equipment providing energy for alchemy.
Interface
interface FlameItem extends CraftingEquipmentItem {
kind: 'flame';
}
interface CraftingEquipmentItem extends ItemBase {
stats: Partial<CraftingStatsMap>;
buffs?: { buff: CraftingBuff; buffStacks: Scaling }[];
}
Properties
- stats: Crafting stat bonuses (control, intensity, etc.)
- buffs: Optional crafting buffs to apply
Examples
// Basic flame using helper function for stats
export const bifangFlame: FlameItem = {
kind: 'flame',
stats: window.modAPI.utils.getCraftingEquipmentStats(
'meridianOpening',
'Early',
{
pool: 0.4,
control: 0.3,
intensity: 0.3,
},
'flame',
),
name: 'Bifang Flame',
description: 'A crafting flame harvested from the corpse of a Bifang Crane. The heavenly fire burns as long as there is qi available to it, and can be controlled with pinpoint precision by a skilled wielder.',
icon: flameIcon,
stacks: 1,
rarity: 'resplendent',
realm: 'meridianOpening',
valueTier: 0,
};
// Advanced flame with buffs and complex effects
export const stellarFlame: FlameItem = {
kind: 'flame',
stats: window.modAPI.utils.getCraftingEquipmentStats(
'pillarCreation',
'Late',
{
pool: 1,
control: 0.35,
intensity: 0.35,
},
'flame',
),
buffs: [{
buff: {
name: 'Stellar Flame',
icon: stellarIcon,
canStack: false,
stats: undefined,
effects: [],
onFusion: [{
kind: 'createBuff',
buff: {
name: 'Burn Impurities',
icon: stellarIcon,
canStack: true,
stats: {
control: {
value: 0.05,
stat: 'control',
scaling: 'stacks',
max: { value: 0.5, stat: 'control' },
},
},
effects: [],
onFusion: [],
onRefine: [{ kind: 'negate' }],
stacks: 1,
displayLocation: 'perfectionRight',
},
stacks: { value: 1, stat: undefined },
}],
onRefine: [/* ... similar buff creation */],
stacks: 1,
displayLocation: 'none',
},
buffStacks: { value: 1, stat: undefined },
}],
name: 'Stellar Flame',
description: 'A crafting flame purified from stellar fire of a fallen star. Something in its essence burns at the very reality it touches, a phenomenon a skilled crafter can utilize to excise even the minutest of impurities.',
icon: stellarIcon,
stacks: 1,
rarity: 'incandescent',
realm: 'pillarCreation',
valueTier: 0,
};