1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 16:25:44 +02:00
This commit is contained in:
syuilo
2026-05-07 12:56:18 +09:00
parent 3ede04c563
commit 21fe0f5e67
5 changed files with 25 additions and 0 deletions

View File

@@ -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] {

View 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: {},
};
},
});