1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 17:35:40 +02:00
This commit is contained in:
syuilo
2026-02-21 20:37:27 +09:00
parent 055121d698
commit 689c24c776
8 changed files with 30 additions and 0 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -311,6 +311,13 @@ onMounted(() => {
rotation: [0, Math.PI / 2, 0],
sticky: 'j',
options: {},
}, {
id: '8ce7a065-120d-479f-9153-aa3b6a1fd4a7',
type: 'router',
position: [130, 142, 135],
rotation: [0, Math.PI / 2, 0],
sticky: 'j',
options: {},
}, {
id: 'j4',
type: 'letterCase',

View File

@@ -35,6 +35,7 @@ import { plant2 } from './objects/plant2.js';
import { powerStrip } from './objects/powerStrip.js';
import { rolledUpPoster } from './objects/rolledUpPoster.js';
import { roundRug } from './objects/roundRug.js';
import { router } from './objects/router.js';
import { snakeplant } from './objects/snakeplant.js';
import { speaker } from './objects/speaker.js';
import { steelRack } from './objects/steelRack.js';
@@ -78,6 +79,7 @@ export const OBJECT_DEFS = [
powerStrip,
rolledUpPoster,
roundRug,
router,
snakeplant,
speaker,
steelRack,

View 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 router = defineObject({
id: 'router',
name: 'Router',
options: {
schema: {},
default: {},
},
placement: 'top',
createInstance: () => {
return {
interactions: {},
};
},
});