mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 12:55:30 +02:00
icosahedron
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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,
|
||||
|
||||
21
packages/frontend/src/utility/room/objects/icosahedron.ts
Normal file
21
packages/frontend/src/utility/room/objects/icosahedron.ts
Normal 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: {},
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user