1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 12:55:30 +02:00

icosahedron

This commit is contained in:
syuilo
2026-04-10 12:53:51 +09:00
parent 887f548985
commit dc59fd4edb
4 changed files with 23 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ import { energyDrink } from './objects/energyDrink.js';
import { envelope } from './objects/envelope.js';
import { facialTissue } from './objects/facialTissue.js';
import { hangingTShirt } from './objects/hangingTShirt.js';
import { icosahedron } from './objects/icosahedron.js';
import { keyboard } from './objects/keyboard.js';
import { laptopPc } from './objects/laptopPc.js';
import { lavaLamp } from './objects/lavaLamp.js';
@@ -104,6 +105,7 @@ export const OBJECT_DEFS = [
envelope,
facialTissue,
hangingTShirt,
icosahedron,
keyboard,
laptopPc,
lavaLamp,

View File

@@ -0,0 +1,21 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { defineObject } from '../engine.js';
export const icosahedron = defineObject({
id: 'icosahedron',
name: 'icosahedron',
options: {
schema: {},
default: {},
},
placement: 'top',
createInstance: () => {
return {
interactions: {},
};
},
});