Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 3.33 KB

File metadata and controls

48 lines (35 loc) · 3.33 KB

mod-generator

Assembles Mod Assets into full/collapsed mod images using warframe-items

Supported by the Warframe Community Developers Discord semantic-release: angular

Supported Mod Types:

  • The four basic mods (common, uncommon, rare, primed)
  • Rivens

Collapsed


Augur Message Steel Charge Afterburn Primed Flow

Expanded


Augur Message Steel Charge Afterburn Primed Flow

Documentation

You can find the documentation here

Installation

$ npm i -S mod-generator

Example usage

import { find } from 'warframe-items/utilities';

const mod = find.findItem('/Lotus/Powersuits/Dragon/DragonBreathAugmentCard');
const expanded = generate(mod, 3); // You can set rank to whatever rank you want by default is 0
const collapsed = generateCollapsed(mod, 3);

writeFileSync('directory/expanded.png', expanded);
writeFileSync('directory/collapsed.png', collpased);