tmp catalog
This commit is contained in:
@@ -1,6 +1,174 @@
|
|||||||
import { AssetInput, ItemNode } from "@pascal-app/core";
|
import { AssetInput, ItemNode } from "@pascal-app/core";
|
||||||
export const CATALOG_ITEMS: AssetInput[] = [
|
export const CATALOG_ITEMS: AssetInput[] = [
|
||||||
{
|
{
|
||||||
|
id: "tub",
|
||||||
|
category: "furniture",
|
||||||
|
name: "tub",
|
||||||
|
thumbnail: "/items/tubt/thumbnail.webp",
|
||||||
|
src: "/items/tub/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0, 0, 0.01],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [2.5, 1, 1.5],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "toilet",
|
||||||
|
category: "furniture",
|
||||||
|
name: "toilet",
|
||||||
|
thumbnail: "/items/toilet/thumbnail.webp",
|
||||||
|
src: "/items/toilet/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0, 0, -0.23],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [1, 1, 1],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "sofa",
|
||||||
|
category: "furniture",
|
||||||
|
name: "sofa",
|
||||||
|
thumbnail: "/items/sofa/thumbnail.webp",
|
||||||
|
src: "/items/sofa/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0, 0, 0.04],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [2.5, 1, 1.5],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "shower",
|
||||||
|
category: "furniture",
|
||||||
|
name: "shower",
|
||||||
|
thumbnail: "/items/shower/thumbnail.webp",
|
||||||
|
src: "/items/shower/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0.41, 0, -0.42],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [1, 2.5, 1],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "bathroom-sink",
|
||||||
|
category: "furniture",
|
||||||
|
name: "bathroom-sink",
|
||||||
|
thumbnail: "/items/bathroom-sink/thumbnail.webp",
|
||||||
|
src: "/items/bathroom-sink/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0.11, 0, 0.02],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [2, 1, 1.5],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "coffee-table",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Coffee-table",
|
||||||
|
thumbnail: "/items/coffee-table/thumbnail.webp",
|
||||||
|
src: "/items/coffee-table/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0, 0, 0],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [2.0, 0.5, 1.5],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "computer",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Computer",
|
||||||
|
thumbnail: "/items/computer/thumbnail.webp",
|
||||||
|
src: "/items/computer/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0.01, 0, 0],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [1, 0.5, 0.5],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "computer",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Computer",
|
||||||
|
thumbnail: "/items/computer/thumbnail.webp",
|
||||||
|
src: "/items/computer/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0.01, 0, 0],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [1, 0.5, 0.5],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "livingroom-chair",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Livingroom-chair",
|
||||||
|
thumbnail: "/items/livingroom-chair/thumbnail.webp",
|
||||||
|
src: "/items/livingroom-chair/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0.01, 0, 0],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [1.5, 1, 1.5],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "office-chair",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Office-chair",
|
||||||
|
thumbnail: "/items/office-chair/thumbnail.webp",
|
||||||
|
src: "/items/office-chair/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0.01, 0, 0.03],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [1, 1.5, 1],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "office-table",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Office-table",
|
||||||
|
thumbnail: "/items/office-table/thumbnail.webp",
|
||||||
|
src: "/items/office-table/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0, 0, 0],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [2, 1, 1],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "dining-table",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Dining-table",
|
||||||
|
thumbnail: "/items/dining-table/thumbnail.webp",
|
||||||
|
src: "/items/dining-table/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0, 0, -0.01],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [2.5, 1, 1],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "piano",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Piano",
|
||||||
|
thumbnail: "/items/piano/thumbnail.webp",
|
||||||
|
src: "/items/piano/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0, 0, -0],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [2, 1.5, 1],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
id: "dining-chair",
|
||||||
|
category: "furniture",
|
||||||
|
name: "Dining-chair",
|
||||||
|
thumbnail: "/items/dining-chair/thumbnail.webp",
|
||||||
|
src: "/items/dining-chair/model.glb",
|
||||||
|
scale: [1, 1, 1],
|
||||||
|
offset: [0, 0, 3.469446951953614e-18],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
dimensions: [0.5, 1, 0.5000000000000001],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "couch-medium",
|
||||||
category: "furniture",
|
category: "furniture",
|
||||||
name: "Couch",
|
name: "Couch",
|
||||||
thumbnail: "/items/couch-medium/thumbnail.webp",
|
thumbnail: "/items/couch-medium/thumbnail.webp",
|
||||||
@@ -9,6 +177,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [2, 0.8, 1],
|
dimensions: [2, 0.8, 1],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "couch-small",
|
||||||
category: "furniture",
|
category: "furniture",
|
||||||
name: "Small Couch",
|
name: "Small Couch",
|
||||||
thumbnail: "/items/couch-small/thumbnail.webp",
|
thumbnail: "/items/couch-small/thumbnail.webp",
|
||||||
@@ -17,6 +186,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [1, 0.8, 1],
|
dimensions: [1, 0.8, 1],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "desk",
|
||||||
category: "furniture",
|
category: "furniture",
|
||||||
name: "Desk",
|
name: "Desk",
|
||||||
thumbnail: "/items/desk/thumbnail.webp",
|
thumbnail: "/items/desk/thumbnail.webp",
|
||||||
@@ -25,6 +195,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [4, 2, 2],
|
dimensions: [4, 2, 2],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "table",
|
||||||
category: "furniture",
|
category: "furniture",
|
||||||
name: "Table",
|
name: "Table",
|
||||||
thumbnail: "/items/table/thumbnail.webp",
|
thumbnail: "/items/table/thumbnail.webp",
|
||||||
@@ -34,6 +205,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [6, 2, 3],
|
dimensions: [6, 2, 3],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "fence",
|
||||||
category: "outdoor",
|
category: "outdoor",
|
||||||
name: "Fence",
|
name: "Fence",
|
||||||
thumbnail: "/items/fence/thumbnail.webp",
|
thumbnail: "/items/fence/thumbnail.webp",
|
||||||
@@ -44,6 +216,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [6, 2, 1],
|
dimensions: [6, 2, 1],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "parking-spot",
|
||||||
category: "outdoor",
|
category: "outdoor",
|
||||||
name: "Parking Spot",
|
name: "Parking Spot",
|
||||||
thumbnail: "/items/parking-spot/thumbnail.webp",
|
thumbnail: "/items/parking-spot/thumbnail.webp",
|
||||||
@@ -54,6 +227,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [12, 2, 6],
|
dimensions: [12, 2, 6],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "hedge",
|
||||||
category: "outdoor",
|
category: "outdoor",
|
||||||
name: "Hedge",
|
name: "Hedge",
|
||||||
thumbnail: "/items/hedge/thumbnail.webp",
|
thumbnail: "/items/hedge/thumbnail.webp",
|
||||||
@@ -64,6 +238,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [4, 2, 3],
|
dimensions: [4, 2, 3],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "tree",
|
||||||
category: "outdoor",
|
category: "outdoor",
|
||||||
name: "Tree",
|
name: "Tree",
|
||||||
thumbnail: "/items/tree/thumbnail.webp",
|
thumbnail: "/items/tree/thumbnail.webp",
|
||||||
@@ -74,6 +249,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [2, 2, 2],
|
dimensions: [2, 2, 2],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "ceiling-light",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Ceiling Light",
|
name: "Ceiling Light",
|
||||||
thumbnail: "/items/ceiling-light/thumbnail.webp",
|
thumbnail: "/items/ceiling-light/thumbnail.webp",
|
||||||
@@ -84,6 +260,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "ceiling",
|
attachTo: "ceiling",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "ceiling-fan",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Ceiling Fan",
|
name: "Ceiling Fan",
|
||||||
thumbnail: "/items/ceiling-fan/thumbnail.webp",
|
thumbnail: "/items/ceiling-fan/thumbnail.webp",
|
||||||
@@ -95,6 +272,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "ceiling",
|
attachTo: "ceiling",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "rectangular-ceiling-light",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Rectangular Ceiling Light",
|
name: "Rectangular Ceiling Light",
|
||||||
thumbnail: "/items/rectangular-ceiling-light/thumbnail.webp",
|
thumbnail: "/items/rectangular-ceiling-light/thumbnail.webp",
|
||||||
@@ -106,6 +284,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "ceiling",
|
attachTo: "ceiling",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "circular-ceiling-light",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Circular Ceiling Light",
|
name: "Circular Ceiling Light",
|
||||||
thumbnail: "/items/circular-ceiling-light/thumbnail.webp",
|
thumbnail: "/items/circular-ceiling-light/thumbnail.webp",
|
||||||
@@ -117,6 +296,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "ceiling",
|
attachTo: "ceiling",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "smoke-detector",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Smoke Detector",
|
name: "Smoke Detector",
|
||||||
thumbnail: "/items/smoke-detector/thumbnail.webp",
|
thumbnail: "/items/smoke-detector/thumbnail.webp",
|
||||||
@@ -128,6 +308,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "ceiling",
|
attachTo: "ceiling",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "sprinkler",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Sprinkler",
|
name: "Sprinkler",
|
||||||
thumbnail: "/items/sprinkler/thumbnail.webp",
|
thumbnail: "/items/sprinkler/thumbnail.webp",
|
||||||
@@ -139,6 +320,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "ceiling",
|
attachTo: "ceiling",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "exit-sign",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Exit Sign",
|
name: "Exit Sign",
|
||||||
thumbnail: "/items/exit-sign/thumbnail.webp",
|
thumbnail: "/items/exit-sign/thumbnail.webp",
|
||||||
@@ -150,6 +332,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "ceiling",
|
attachTo: "ceiling",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "wall-art-06",
|
||||||
category: "furniture",
|
category: "furniture",
|
||||||
name: "Wall Art",
|
name: "Wall Art",
|
||||||
thumbnail: "/items/wall-art-06/thumbnail.webp",
|
thumbnail: "/items/wall-art-06/thumbnail.webp",
|
||||||
@@ -161,6 +344,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "flat-screen-tv",
|
||||||
category: "furniture",
|
category: "furniture",
|
||||||
name: "Flat Screen TV",
|
name: "Flat Screen TV",
|
||||||
thumbnail: "/items/flat-screen-tv/thumbnail.webp",
|
thumbnail: "/items/flat-screen-tv/thumbnail.webp",
|
||||||
@@ -172,6 +356,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "air-conditioner",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Air Conditioner",
|
name: "Air Conditioner",
|
||||||
thumbnail: "/items/air-conditioner/thumbnail.webp",
|
thumbnail: "/items/air-conditioner/thumbnail.webp",
|
||||||
@@ -183,6 +368,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "ac-block",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "AC Block",
|
name: "AC Block",
|
||||||
thumbnail: "/items/ac-block/thumbnail.webp",
|
thumbnail: "/items/ac-block/thumbnail.webp",
|
||||||
@@ -193,6 +379,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [3, 2, 3],
|
dimensions: [3, 2, 3],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "fire-extinguisher",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Fire extinguisher",
|
name: "Fire extinguisher",
|
||||||
thumbnail: "/items/fire-extinguisher/thumbnail.webp",
|
thumbnail: "/items/fire-extinguisher/thumbnail.webp",
|
||||||
@@ -204,6 +391,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "fire-alarm",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Fire alarm ",
|
name: "Fire alarm ",
|
||||||
thumbnail: "/items/fire-alarm/thumbnail.webp",
|
thumbnail: "/items/fire-alarm/thumbnail.webp",
|
||||||
@@ -215,6 +403,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "fire-detector",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Fire detector ",
|
name: "Fire detector ",
|
||||||
thumbnail: "/items/fire-detector/thumbnail.webp",
|
thumbnail: "/items/fire-detector/thumbnail.webp",
|
||||||
@@ -226,6 +415,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "alarm-keypad",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Alarm keypad",
|
name: "Alarm keypad",
|
||||||
thumbnail: "/items/alarm-keypad/thumbnail.webp",
|
thumbnail: "/items/alarm-keypad/thumbnail.webp",
|
||||||
@@ -237,6 +427,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "thermostat",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Thermostat",
|
name: "Thermostat",
|
||||||
thumbnail: "/items/thermostat/thumbnail.webp",
|
thumbnail: "/items/thermostat/thumbnail.webp",
|
||||||
@@ -248,6 +439,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "electric-panel",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Electric panel",
|
name: "Electric panel",
|
||||||
thumbnail: "/items/electric-panel/thumbnail.webp",
|
thumbnail: "/items/electric-panel/thumbnail.webp",
|
||||||
@@ -259,6 +451,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "air-conditioner-block",
|
||||||
category: "appliance",
|
category: "appliance",
|
||||||
name: "Air Conditioner Block",
|
name: "Air Conditioner Block",
|
||||||
thumbnail: "/items/air-conditioner-block/thumbnail.webp",
|
thumbnail: "/items/air-conditioner-block/thumbnail.webp",
|
||||||
@@ -270,6 +463,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "kitchen-fridge",
|
||||||
category: "kitchen",
|
category: "kitchen",
|
||||||
name: "Kitchen Fridge",
|
name: "Kitchen Fridge",
|
||||||
thumbnail: "/items/kitchen-fridge/thumbnail.webp",
|
thumbnail: "/items/kitchen-fridge/thumbnail.webp",
|
||||||
@@ -280,6 +474,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [2, 2, 2],
|
dimensions: [2, 2, 2],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "freezer",
|
||||||
category: "kitchen",
|
category: "kitchen",
|
||||||
name: "Freezer",
|
name: "Freezer",
|
||||||
thumbnail: "/items/freezer/thumbnail.webp",
|
thumbnail: "/items/freezer/thumbnail.webp",
|
||||||
@@ -290,6 +485,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [2, 1, 1],
|
dimensions: [2, 1, 1],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "wall-sink",
|
||||||
category: "bathroom",
|
category: "bathroom",
|
||||||
name: "Wall Sink",
|
name: "Wall Sink",
|
||||||
thumbnail: "/items/wall-sink/thumbnail.webp",
|
thumbnail: "/items/wall-sink/thumbnail.webp",
|
||||||
@@ -301,6 +497,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall-side",
|
attachTo: "wall-side",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "sink-cabinet",
|
||||||
category: "kitchen",
|
category: "kitchen",
|
||||||
name: "Sink with cabinet",
|
name: "Sink with cabinet",
|
||||||
thumbnail: "/items/sink-cabinet/thumbnail.webp",
|
thumbnail: "/items/sink-cabinet/thumbnail.webp",
|
||||||
@@ -311,6 +508,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [4, 2, 1],
|
dimensions: [4, 2, 1],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "toilet",
|
||||||
category: "bathroom",
|
category: "bathroom",
|
||||||
name: "Toilet",
|
name: "Toilet",
|
||||||
thumbnail: "/items/toilet/thumbnail.webp",
|
thumbnail: "/items/toilet/thumbnail.webp",
|
||||||
@@ -321,6 +519,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
dimensions: [1, 2, 1],
|
dimensions: [1, 2, 1],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "window-small",
|
||||||
category: "window",
|
category: "window",
|
||||||
name: "Window",
|
name: "Window",
|
||||||
thumbnail: "/items/window-small/thumbnail.webp",
|
thumbnail: "/items/window-small/thumbnail.webp",
|
||||||
@@ -332,6 +531,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall",
|
attachTo: "wall",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "window-small-2",
|
||||||
category: "window",
|
category: "window",
|
||||||
name: "Window",
|
name: "Window",
|
||||||
thumbnail: "/items/window-small-2/thumbnail.webp",
|
thumbnail: "/items/window-small-2/thumbnail.webp",
|
||||||
@@ -343,6 +543,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall",
|
attachTo: "wall",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "window-round",
|
||||||
category: "window",
|
category: "window",
|
||||||
name: "Window",
|
name: "Window",
|
||||||
thumbnail: "/items/window-round/thumbnail.webp",
|
thumbnail: "/items/window-round/thumbnail.webp",
|
||||||
@@ -354,6 +555,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall",
|
attachTo: "wall",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "window1-black-open-1731",
|
||||||
category: "window",
|
category: "window",
|
||||||
name: "Window",
|
name: "Window",
|
||||||
thumbnail: "/items/window1-black-open-1731/thumbnail.webp",
|
thumbnail: "/items/window1-black-open-1731/thumbnail.webp",
|
||||||
@@ -365,6 +567,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall",
|
attachTo: "wall",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "doorway-front",
|
||||||
category: "door",
|
category: "door",
|
||||||
name: "Door",
|
name: "Door",
|
||||||
thumbnail: "/items/doorway-front/thumbnail.webp",
|
thumbnail: "/items/doorway-front/thumbnail.webp",
|
||||||
@@ -376,6 +579,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall",
|
attachTo: "wall",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "door",
|
||||||
category: "door",
|
category: "door",
|
||||||
name: "Door",
|
name: "Door",
|
||||||
thumbnail: "/items/door/thumbnail.webp",
|
thumbnail: "/items/door/thumbnail.webp",
|
||||||
@@ -387,6 +591,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
|
|||||||
attachTo: "wall",
|
attachTo: "wall",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "door-with-bar",
|
||||||
category: "door",
|
category: "door",
|
||||||
name: "Door with bar",
|
name: "Door with bar",
|
||||||
thumbnail: "/items/door-with-bar/thumbnail.webp",
|
thumbnail: "/items/door-with-bar/thumbnail.webp",
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
Binary file not shown.
@@ -3,6 +3,7 @@ import { z } from "zod";
|
|||||||
import { BaseNode, nodeType, objectId } from "../base";
|
import { BaseNode, nodeType, objectId } from "../base";
|
||||||
|
|
||||||
const assetSchema = z.object({
|
const assetSchema = z.object({
|
||||||
|
id: z.string(),
|
||||||
category: z.string(),
|
category: z.string(),
|
||||||
name: z.string(),
|
name: z.string(),
|
||||||
thumbnail: z.string(),
|
thumbnail: z.string(),
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ const useScene = create<SceneState>()(
|
|||||||
position: [2.5, 0.5, 0],
|
position: [2.5, 0.5, 0],
|
||||||
parentId: wall3.id,
|
parentId: wall3.id,
|
||||||
asset: {
|
asset: {
|
||||||
|
id: "window-round",
|
||||||
name: "Round Window",
|
name: "Round Window",
|
||||||
thumbnail: "/items/window-small/thumbnail.png",
|
thumbnail: "/items/window-small/thumbnail.png",
|
||||||
category: "windows",
|
category: "windows",
|
||||||
|
|||||||
Reference in New Issue
Block a user