mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 21:05:54 +02:00
sprayer
This commit is contained in:
BIN
packages/frontend/assets/room/objects/sprayer/sprayer.blend
Normal file
BIN
packages/frontend/assets/room/objects/sprayer/sprayer.blend
Normal file
Binary file not shown.
BIN
packages/frontend/assets/room/objects/sprayer/sprayer.glb
Normal file
BIN
packages/frontend/assets/room/objects/sprayer/sprayer.glb
Normal file
Binary file not shown.
@@ -64,6 +64,7 @@ import { router } from './objects/router.js';
|
||||
import { siphon } from './objects/siphon.js';
|
||||
import { snakeplant } from './objects/snakeplant.js';
|
||||
import { speaker } from './objects/speaker.js';
|
||||
import { sprayer } from './objects/sprayer.js';
|
||||
import { steelRack } from './objects/steelRack.js';
|
||||
import { tabletopCalendar } from './objects/tabletopCalendar.js';
|
||||
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
|
||||
@@ -141,6 +142,7 @@ export const OBJECT_DEFS = [
|
||||
siphon,
|
||||
snakeplant,
|
||||
speaker,
|
||||
sprayer,
|
||||
steelRack,
|
||||
tabletopCalendar,
|
||||
tabletopDigitalClock,
|
||||
|
||||
21
packages/frontend/src/utility/room/objects/sprayer.ts
Normal file
21
packages/frontend/src/utility/room/objects/sprayer.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 sprayer = defineObject({
|
||||
id: 'sprayer',
|
||||
name: '霧吹き',
|
||||
options: {
|
||||
schema: {},
|
||||
default: {},
|
||||
},
|
||||
placement: 'top',
|
||||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user