This commit is contained in:
syuilo 2026-05-23 17:57:35 +09:00
commit 8611d55ffc
85 changed files with 91 additions and 1 deletions

View file

@ -31,7 +31,7 @@ export type RoomObjectInstance<Options = any> = {
}>;
primaryInteraction?: string | null;
resetTemporaryState?: () => void;
dispose?: () => void;
dispose: () => void;
};
type NumberOptionSchema = {

View file

@ -38,6 +38,7 @@ export const a4Case = defineObject({
applyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const aircon = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -53,6 +53,9 @@ export const aquarium = defineObject({
ps.start();
},
interactions: {},
dispose: () => {
// TODO
},
};
},
});

View file

@ -52,6 +52,7 @@ export const aromaReedDiffuser = defineObject({
applyOilColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const banknote = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -39,6 +39,7 @@ export const bed = defineObject({
applyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -132,6 +132,7 @@ export const blind = defineObject({
applyOpeningState();
},
primaryInteraction: 'openClose',
dispose: () => {},
};
},
});

View file

@ -72,6 +72,7 @@ export const book = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -85,6 +85,7 @@ export const books = defineObject({
applyVariation();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -95,6 +95,7 @@ export const boxWallShelf = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -39,6 +39,7 @@ export const cactusS = defineObject({
applyPotColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -48,6 +48,7 @@ export const cardboardBox = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -60,6 +60,7 @@ export const chair = defineObject({
},
},
primaryInteraction: 'sit',
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const coffeeCup = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -39,6 +39,7 @@ export const colorBox = defineObject({
applyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -82,6 +82,7 @@ export const cuboid = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const curtain = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const custardPudding = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -16,6 +16,7 @@ export const debugHipoly = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const debugMetal = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const descriptionPlate = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -85,6 +85,7 @@ export const desk = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const djMixer = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const ductTape = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -137,6 +137,9 @@ export const electronicDisplayBoard = defineObject({
}
},
interactions: {},
dispose: () => {
textManager.dispose();
},
};
},
});

View file

@ -17,6 +17,7 @@ export const emptyBento = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const energyDrink = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const envelope = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const facialTissue = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const glassCylinderPotPlant = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -77,6 +77,7 @@ export const hangingDuctRail = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const hangingTShirt = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -17,6 +17,7 @@ export const icosahedron = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -71,6 +71,7 @@ const base = defineObjectClass({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -99,6 +99,7 @@ export const ironFrameTable = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -64,6 +64,7 @@ export const issyoubin = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -54,6 +54,7 @@ export const keyboard = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const letterCase = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -59,6 +59,7 @@ export const lowPartitionBar = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const miObjet = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const miPlate = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const miPlateDisplayed = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const milk = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const mixer = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -38,6 +38,7 @@ export const monitorSpeaker = defineObject({
applyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -41,6 +41,7 @@ export const monstera = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -40,6 +40,7 @@ export const newtonsCradle = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -16,6 +16,7 @@ export const openedCardboardBox = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -41,6 +41,7 @@ export const pachira = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -37,6 +37,7 @@ export const pc = defineObject({
applyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -95,6 +95,7 @@ export const petBottle = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -38,6 +38,7 @@ export const piano = defineObject({
applyBodyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const pizza = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const plant = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const plant2 = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const powerStrip = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -158,6 +158,7 @@ export const randomBooks = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const recordPlayer = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -17,6 +17,7 @@ export const rolledUpPoster = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const roundRug = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const router = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const siphon = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -41,6 +41,7 @@ export const snakeplant = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -39,6 +39,7 @@ export const sofa = defineObject({
applyBodyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -52,6 +52,7 @@ export const speaker = defineObject({
applyInnerColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -60,6 +60,7 @@ export const speakerStand = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -18,6 +18,7 @@ export const sprayer = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -55,6 +55,7 @@ export const stanchionPole = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -238,6 +238,7 @@ export const steelRack = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const stormGlass = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const tableSalt = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -19,6 +19,7 @@ export const tabletopCalendar = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -123,6 +123,7 @@ export const tabletopDigitalClock = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -97,6 +97,7 @@ export const tabletopIronFrameStand = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -17,6 +17,7 @@ export const tetrapod = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -17,6 +17,7 @@ export const twistedCubeObjet = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -17,6 +17,7 @@ export const usedTissue = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -55,6 +55,7 @@ export const wallClock = defineObject({
applyFrameColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -85,6 +85,7 @@ export const wallMirror = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -102,6 +102,7 @@ export const wallShelf = defineObject({
}
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -39,6 +39,7 @@ export const wireBasket = defineObject({
applyBodyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -39,6 +39,7 @@ export const wireNet = defineObject({
applyBodyColor();
},
interactions: {},
dispose: () => {},
};
},
});

View file

@ -17,6 +17,7 @@ export const woodSoundAbsorbingPanel = defineObject({
createInstance: () => {
return {
interactions: {},
dispose: () => {},
};
},
});

View file

@ -549,6 +549,9 @@ export class RecyvlingTextGrid {
await sleep(20);
}
}
public dispose() {
}
}
export function sleep(ms: number) {