1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 13:25:48 +02:00

stormGlass

This commit is contained in:
syuilo
2026-04-21 16:30:42 +09:00
parent 64995bebc5
commit da8945dc23
4 changed files with 26 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ import { speaker } from './objects/speaker.js';
import { speakerStand } from './objects/speakerStand.js';
import { sprayer } from './objects/sprayer.js';
import { steelRack } from './objects/steelRack.js';
import { stormGlass } from './objects/stormGlass.js';
import { tabletopCalendar } from './objects/tabletopCalendar.js';
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
import { tabletopFlag } from './objects/tabletopFlag.js';
@@ -168,6 +169,7 @@ export const OBJECT_DEFS = [
speakerStand,
sprayer,
steelRack,
stormGlass,
tabletopCalendar,
tabletopDigitalClock,
tabletopFlag,

View File

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