mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 16:25:44 +02:00
wip
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -25,6 +25,7 @@ import { cuboid } from './objects/cuboid.js';
|
||||
import { cupNoodle } from './objects/cupNoodle.js';
|
||||
import { custardPudding } from './objects/custardPudding.js';
|
||||
import { debugHipoly } from './objects/debugHipoly.js';
|
||||
import { debugMetal } from './objects/debugMetal.js';
|
||||
import { descriptionPlate } from './objects/descriptionPlate.js';
|
||||
import { desk } from './objects/desk.js';
|
||||
import { desktopPc } from './objects/desktopPc.js';
|
||||
@@ -217,6 +218,7 @@ export const OBJECT_DEFS = [
|
||||
descriptionPlate,
|
||||
stanchionPole,
|
||||
handheldGameConsole,
|
||||
debugMetal,
|
||||
];
|
||||
|
||||
export function getObjectDef(type: string): typeof OBJECT_DEFS[number] {
|
||||
|
||||
23
packages/frontend/src/world/room/objects/debugMetal.ts
Normal file
23
packages/frontend/src/world/room/objects/debugMetal.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 debugMetal = defineObject({
|
||||
id: 'debugMetal',
|
||||
name: 'debugMetal',
|
||||
options: {
|
||||
schema: {},
|
||||
default: {},
|
||||
},
|
||||
placement: 'top',
|
||||
hasCollisions: false,
|
||||
canPreMeshesMerging: false,
|
||||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user