Skip to content

Commit

Permalink
Clothing Item Metadata/Pictures
Browse files Browse the repository at this point in the history
  • Loading branch information
Pewwww53 committed Jan 18, 2024
1 parent c8b7ffb commit ad444e6
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 0 deletions.
Binary file added html/images/bag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/earings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/glasses.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/helmet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/necklace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/pants.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/shirt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/shoes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/vest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added html/images/watch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions html/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,46 @@ function generateDescription(itemData) {
return `<p><strong>Card Holder: </strong><span>${itemData.info.name}</span></p>`;
case "labkey":
return `<p>Lab: ${itemData.info.lab}</p>`;
case "helmet":
return `<p><strong> Helmet Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Helmet Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "top":
return `<p><strong> T-Shirt Model : </strong><span>#${itemData.info.shirt_model}</span></p>
<p><strong>T-Shirt Variant: </strong><span>#${itemData.info.shirt_variant}</span></p>
<p><strong>Jacket Variant: </strong><span>#${itemData.info.jacket_model}</span></p>
<p><strong>Jacket Variant: </strong><span>#${itemData.info.jacket_variant}</span></p>
<p><strong>Gloves Variant: </strong><span>#${itemData.info.gloves_model}</span></p>
<p><strong>Gloves Variant: </strong><span>#${itemData.info.gloves_variant}</span></p>`;
case "pants":
return `<p><strong> Pants Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Pants Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "shoes":
return `<p><strong> Shoes Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Shoes Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "neck":
return `<p><strong> Necklace Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Necklace Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "ear":
return `<p><strong> Earings Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Earings Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "glasses":
return `<p><strong> Glasses Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Glasses Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "bracelet":
return `<p><strong> Bracelet Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Barings Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "watch":
return `<p><strong> Watch Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Watch Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "mask":
return `<p><strong> Mask Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Mask Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "vest":
return `<p><strong> Best Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Best Variant: </strong><span>#${itemData.info.variant}</span></p>`;
case "bag":
return `<p><strong> Bag Model : </strong><span>#${itemData.info.model}</span></p>
<p><strong>Bag Variant: </strong><span>#${itemData.info.variant}</span></p>`;
default:
let itemDescr = itemData.description;
if (itemData.info.costs != undefined && itemData.info.costs != null) itemDescr += `<p><strong>ITEMS NEEDED:</strong> <span>${itemData.info.costs}</span></p>`;
Expand Down

0 comments on commit ad444e6

Please sign in to comment.