mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-24 16:14:11 +02:00
wip
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
packages/frontend/assets/room/objects/curtain/curtain.blend
Normal file
BIN
packages/frontend/assets/room/objects/curtain/curtain.blend
Normal file
Binary file not shown.
BIN
packages/frontend/assets/room/objects/curtain/curtain.glb
Normal file
BIN
packages/frontend/assets/room/objects/curtain/curtain.glb
Normal file
Binary file not shown.
@@ -23,6 +23,7 @@ import { coffeeCup } from './objects/coffeeCup.js';
|
|||||||
import { colorBox } from './objects/colorBox.js';
|
import { colorBox } from './objects/colorBox.js';
|
||||||
import { cuboid } from './objects/cuboid.js';
|
import { cuboid } from './objects/cuboid.js';
|
||||||
import { cupNoodle } from './objects/cupNoodle.js';
|
import { cupNoodle } from './objects/cupNoodle.js';
|
||||||
|
import { curtain } from './objects/curtain.js';
|
||||||
import { custardPudding } from './objects/custardPudding.js';
|
import { custardPudding } from './objects/custardPudding.js';
|
||||||
import { debugHipoly } from './objects/debugHipoly.js';
|
import { debugHipoly } from './objects/debugHipoly.js';
|
||||||
import { debugMetal } from './objects/debugMetal.js';
|
import { debugMetal } from './objects/debugMetal.js';
|
||||||
@@ -219,6 +220,7 @@ export const OBJECT_DEFS = [
|
|||||||
stanchionPole,
|
stanchionPole,
|
||||||
handheldGameConsole,
|
handheldGameConsole,
|
||||||
debugMetal,
|
debugMetal,
|
||||||
|
curtain,
|
||||||
];
|
];
|
||||||
|
|
||||||
export function getObjectDef(type: string): typeof OBJECT_DEFS[number] {
|
export function getObjectDef(type: string): typeof OBJECT_DEFS[number] {
|
||||||
|
|||||||
23
packages/frontend/src/world/room/objects/curtain.ts
Normal file
23
packages/frontend/src/world/room/objects/curtain.ts
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { defineObject } from '../object.js';
|
||||||
|
|
||||||
|
export const curtain = defineObject({
|
||||||
|
id: 'curtain',
|
||||||
|
name: 'curtain',
|
||||||
|
options: {
|
||||||
|
schema: {},
|
||||||
|
default: {},
|
||||||
|
},
|
||||||
|
placement: 'wall',
|
||||||
|
hasCollisions: false,
|
||||||
|
hasTexture: true,
|
||||||
|
createInstance: () => {
|
||||||
|
return {
|
||||||
|
interactions: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user