mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
wip
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -213,7 +213,7 @@ onMounted(() => {
|
|||||||
options: {},
|
options: {},
|
||||||
}, {
|
}, {
|
||||||
id: 'r',
|
id: 'r',
|
||||||
type: 'plant2',
|
type: 'pachira',
|
||||||
position: [135, 0, -135],
|
position: [135, 0, -135],
|
||||||
rotation: [0, 0, 0],
|
rotation: [0, 0, 0],
|
||||||
options: {},
|
options: {},
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import { monitor } from './objects/monitor.js';
|
|||||||
import { monstera } from './objects/monstera.js';
|
import { monstera } from './objects/monstera.js';
|
||||||
import { mug } from './objects/mug.js';
|
import { mug } from './objects/mug.js';
|
||||||
import { openedCardboardBox } from './objects/openedCardboardBox.js';
|
import { openedCardboardBox } from './objects/openedCardboardBox.js';
|
||||||
|
import { pachira } from './objects/pachira.js';
|
||||||
import { plant } from './objects/plant.js';
|
import { plant } from './objects/plant.js';
|
||||||
import { plant2 } from './objects/plant2.js';
|
import { plant2 } from './objects/plant2.js';
|
||||||
import { powerStrip } from './objects/powerStrip.js';
|
import { powerStrip } from './objects/powerStrip.js';
|
||||||
@@ -56,6 +57,7 @@ export const OBJECT_DEFS = [
|
|||||||
monstera,
|
monstera,
|
||||||
mug,
|
mug,
|
||||||
openedCardboardBox,
|
openedCardboardBox,
|
||||||
|
pachira,
|
||||||
plant,
|
plant,
|
||||||
plant2,
|
plant2,
|
||||||
powerStrip,
|
powerStrip,
|
||||||
|
|||||||
17
packages/frontend/src/utility/room/objects/pachira.ts
Normal file
17
packages/frontend/src/utility/room/objects/pachira.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 pachira = defineObject({
|
||||||
|
id: 'pachira',
|
||||||
|
defaultOptions: {},
|
||||||
|
placement: 'top',
|
||||||
|
createInstance: () => {
|
||||||
|
return {
|
||||||
|
interactions: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user