mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 14:35:38 +02:00
stormGlass
This commit is contained in:
@@ -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,
|
||||
|
||||
24
packages/frontend/src/world/room/objects/stormGlass.ts
Normal file
24
packages/frontend/src/world/room/objects/stormGlass.ts
Normal 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: {},
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user