@rpg-engine/long-bow 0.2.23 → 0.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -34,6 +34,10 @@ const availableCharacters: ICharacterProps[] = [
34
34
  name: 'Kid',
35
35
  textureKey: 'kid-1',
36
36
  },
37
+ {
38
+ name: 'Purple Hair Hero 1',
39
+ textureKey: 'purple-hair-hero-1',
40
+ },
37
41
  ];
38
42
 
39
43
  Default.args = {
@@ -7,6 +7,8 @@ import {
7
7
  } from '../../src/components/Equipment/EquipmentSet';
8
8
  import { RPGUIRoot } from '../../src/components/RPGUIRoot';
9
9
  import { equipmentSetMock } from '../../src/mocks/equipmentSet.mocks';
10
+ import atlasJSON from '../mocks/atlas/items/items.json';
11
+ import atlasIMG from '../mocks/atlas/items/items.png';
10
12
 
11
13
  const meta: Meta = {
12
14
  title: 'Equipment Set',
@@ -44,6 +46,8 @@ const Template: Story<IEquipmentSetProps> = args => (
44
46
  onSelected={onSelected}
45
47
  onItemClick={onItemClick}
46
48
  type={ItemContainerType.Equipment}
49
+ atlasIMG={atlasIMG}
50
+ atlasJSON={atlasJSON}
47
51
  />
48
52
  </RPGUIRoot>
49
53
  );
@@ -7,6 +7,8 @@ import {
7
7
  } from '../../src/components/Item/Inventory/ItemContainer';
8
8
  import { RPGUIRoot } from '../../src/components/RPGUIRoot';
9
9
  import { itemContainerMock } from '../../src/mocks/itemContainer.mocks';
10
+ import atlasJSON from '../mocks/atlas/items/items.json';
11
+ import atlasIMG from '../mocks/atlas/items/items.png';
10
12
 
11
13
  const meta: Meta = {
12
14
  title: 'Item Container',
@@ -44,6 +46,8 @@ const Template: Story<IItemContainerProps> = () => (
44
46
  onSelected={onSelected}
45
47
  onItemClick={onItemClick}
46
48
  type={ItemContainerType.Inventory}
49
+ atlasIMG={atlasIMG}
50
+ atlasJSON={atlasJSON}
47
51
  />
48
52
  </RPGUIRoot>
49
53
  );
Binary file
Binary file