mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-04 07:44:05 +02:00
stormGlass
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -75,6 +75,7 @@ import { speaker } from './objects/speaker.js';
|
|||||||
import { speakerStand } from './objects/speakerStand.js';
|
import { speakerStand } from './objects/speakerStand.js';
|
||||||
import { sprayer } from './objects/sprayer.js';
|
import { sprayer } from './objects/sprayer.js';
|
||||||
import { steelRack } from './objects/steelRack.js';
|
import { steelRack } from './objects/steelRack.js';
|
||||||
|
import { stormGlass } from './objects/stormGlass.js';
|
||||||
import { tabletopCalendar } from './objects/tabletopCalendar.js';
|
import { tabletopCalendar } from './objects/tabletopCalendar.js';
|
||||||
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
|
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
|
||||||
import { tabletopFlag } from './objects/tabletopFlag.js';
|
import { tabletopFlag } from './objects/tabletopFlag.js';
|
||||||
@@ -168,6 +169,7 @@ export const OBJECT_DEFS = [
|
|||||||
speakerStand,
|
speakerStand,
|
||||||
sprayer,
|
sprayer,
|
||||||
steelRack,
|
steelRack,
|
||||||
|
stormGlass,
|
||||||
tabletopCalendar,
|
tabletopCalendar,
|
||||||
tabletopDigitalClock,
|
tabletopDigitalClock,
|
||||||
tabletopFlag,
|
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