mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-24 11:34:10 +02:00
wip
This commit is contained in:
BIN
packages/frontend/assets/room/objects/cactus-s/cactus-s.blend
Normal file
BIN
packages/frontend/assets/room/objects/cactus-s/cactus-s.blend
Normal file
Binary file not shown.
BIN
packages/frontend/assets/room/objects/cactus-s/cactus-s.glb
Normal file
BIN
packages/frontend/assets/room/objects/cactus-s/cactus-s.glb
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -128,6 +128,12 @@ onMounted(() => {
|
|||||||
position: [40, 90, 170],
|
position: [40, 90, 170],
|
||||||
rotation: [0, 0, 0],
|
rotation: [0, 0, 0],
|
||||||
options: {},
|
options: {},
|
||||||
|
}, {
|
||||||
|
id: 'f4',
|
||||||
|
type: 'cactusS',
|
||||||
|
position: [50, 90, 155],
|
||||||
|
rotation: [0, 0, 0],
|
||||||
|
options: {},
|
||||||
}, {
|
}, {
|
||||||
id: 'g',
|
id: 'g',
|
||||||
type: 'mug',
|
type: 'mug',
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import { banknote } from './objects/banknote.js';
|
|||||||
import { bed } from './objects/bed.js';
|
import { bed } from './objects/bed.js';
|
||||||
import { blind } from './objects/blind.js';
|
import { blind } from './objects/blind.js';
|
||||||
import { book } from './objects/book.js';
|
import { book } from './objects/book.js';
|
||||||
|
import { cactusS } from './objects/cactusS.js';
|
||||||
import { cardboardBox } from './objects/cardboardBox.js';
|
import { cardboardBox } from './objects/cardboardBox.js';
|
||||||
import { ceilingFanLight } from './objects/ceilingFanLight.js';
|
import { ceilingFanLight } from './objects/ceilingFanLight.js';
|
||||||
import { chair } from './objects/chair.js';
|
import { chair } from './objects/chair.js';
|
||||||
@@ -42,6 +43,7 @@ export const OBJECT_DEFS = [
|
|||||||
bed,
|
bed,
|
||||||
blind,
|
blind,
|
||||||
book,
|
book,
|
||||||
|
cactusS,
|
||||||
cardboardBox,
|
cardboardBox,
|
||||||
ceilingFanLight,
|
ceilingFanLight,
|
||||||
chair,
|
chair,
|
||||||
|
|||||||
17
packages/frontend/src/utility/room/objects/cactusS.ts
Normal file
17
packages/frontend/src/utility/room/objects/cactusS.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 cactusS = defineObject({
|
||||||
|
id: 'cactusS',
|
||||||
|
defaultOptions: {},
|
||||||
|
placement: 'top',
|
||||||
|
createInstance: () => {
|
||||||
|
return {
|
||||||
|
interactions: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user