mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
wip
This commit is contained in:
parent
21fe0f5e67
commit
4324b6def2
6 changed files with 25 additions and 0 deletions
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 { cuboid } from './objects/cuboid.js';
|
||||
import { cupNoodle } from './objects/cupNoodle.js';
|
||||
import { curtain } from './objects/curtain.js';
|
||||
import { custardPudding } from './objects/custardPudding.js';
|
||||
import { debugHipoly } from './objects/debugHipoly.js';
|
||||
import { debugMetal } from './objects/debugMetal.js';
|
||||
|
|
@ -219,6 +220,7 @@ export const OBJECT_DEFS = [
|
|||
stanchionPole,
|
||||
handheldGameConsole,
|
||||
debugMetal,
|
||||
curtain,
|
||||
];
|
||||
|
||||
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: {},
|
||||
};
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue