add remaining roopal27 items

This commit is contained in:
Matt Dunn-Rankin 2020-04-22 03:03:45 -07:00
parent 8adf4154b9
commit df81764495
2 changed files with 22 additions and 1 deletions

View file

@ -41,4 +41,16 @@ export const ITEMS = [
thumbnailSrc: "http://images.neopets.com/items/gif_magicball_table.gif",
zoneName: "Lower Foreground Item",
},
{
id: 8,
name: "Green Leaf String Lights",
thumbnailSrc: "http://images.neopets.com/items/toy_stringlight_illleaf.gif",
zoneName: "Background Item",
},
{
id: 9,
name: "Jewelled Staff",
thumbnailSrc: "http://images.neopets.com/items/mall_staff_jewelled.gif",
zoneName: "Left-hand item",
},
];

View file

@ -3,7 +3,16 @@ import React from "react";
import { ITEMS } from "./data.js";
function useOutfitState() {
const [wornItemIds, setWornItemIds] = React.useState([1, 2, 3, 4, 6, 7]);
const [wornItemIds, setWornItemIds] = React.useState([
1,
2,
3,
4,
6,
7,
8,
9,
]);
const [closetedItemIds, setClosetedItemIds] = React.useState([5]);
const wearItem = React.useCallback(