mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-23 05:14:13 +02:00
wip
This commit is contained in:
@@ -16,6 +16,7 @@ import { chair } from './objects/chair.js';
|
||||
import { colorBox } from './objects/colorBox.js';
|
||||
import { cupNoodle } from './objects/cupNoodle.js';
|
||||
import { desk } from './objects/desk.js';
|
||||
import { ductTape } from './objects/ductTape.js';
|
||||
import { energyDrink } from './objects/energyDrink.js';
|
||||
import { facialTissue } from './objects/facialTissue.js';
|
||||
import { keyboard } from './objects/keyboard.js';
|
||||
@@ -53,6 +54,7 @@ export const OBJECT_DEFS = [
|
||||
colorBox,
|
||||
cupNoodle,
|
||||
desk,
|
||||
ductTape,
|
||||
energyDrink,
|
||||
facialTissue,
|
||||
keyboard,
|
||||
|
||||
17
packages/frontend/src/utility/room/objects/ductTape.ts
Normal file
17
packages/frontend/src/utility/room/objects/ductTape.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { defineObject } from '../engine.js';
|
||||
|
||||
export const ductTape = defineObject({
|
||||
id: 'ductTape',
|
||||
defaultOptions: {},
|
||||
placement: 'top',
|
||||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user