mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Pull out gear into separate modules
This commit is contained in:
29
common/script/content/gear/shield.js
Normal file
29
common/script/content/gear/shield.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import {cloneDeep} from 'lodash';
|
||||
|
||||
import {shield as baseShield} from './sets/base';
|
||||
|
||||
import {shield as healerShield} from './sets/healer';
|
||||
import {weapon as rogueWeapon} from './sets/rogue';
|
||||
import {shield as warriorShield} from './sets/warrior';
|
||||
import {shield as wizardShield} from './sets/wizard';
|
||||
|
||||
import {shield as armoireShield} from './sets/armoire';
|
||||
import {shield as mysteryShield} from './sets/mystery';
|
||||
import {shield as specialShield} from './sets/special';
|
||||
|
||||
let rogueShield = cloneDeep(rogueWeapon);
|
||||
|
||||
let shield = {
|
||||
base: baseShield,
|
||||
|
||||
warrior: warriorShield,
|
||||
rogue: rogueShield,
|
||||
wizard: wizardShield,
|
||||
healer: healerShield,
|
||||
|
||||
special: specialShield,
|
||||
mystery: mysteryShield,
|
||||
armoire: armoireShield,
|
||||
};
|
||||
|
||||
export default shield;
|
||||
Reference in New Issue
Block a user