mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00: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],
|
||||
rotation: [0, 0, 0],
|
||||
options: {},
|
||||
}, {
|
||||
id: 'f4',
|
||||
type: 'cactusS',
|
||||
position: [50, 90, 155],
|
||||
rotation: [0, 0, 0],
|
||||
options: {},
|
||||
}, {
|
||||
id: 'g',
|
||||
type: 'mug',
|
||||
|
||||
@@ -9,6 +9,7 @@ import { banknote } from './objects/banknote.js';
|
||||
import { bed } from './objects/bed.js';
|
||||
import { blind } from './objects/blind.js';
|
||||
import { book } from './objects/book.js';
|
||||
import { cactusS } from './objects/cactusS.js';
|
||||
import { cardboardBox } from './objects/cardboardBox.js';
|
||||
import { ceilingFanLight } from './objects/ceilingFanLight.js';
|
||||
import { chair } from './objects/chair.js';
|
||||
@@ -42,6 +43,7 @@ export const OBJECT_DEFS = [
|
||||
bed,
|
||||
blind,
|
||||
book,
|
||||
cactusS,
|
||||
cardboardBox,
|
||||
ceilingFanLight,
|
||||
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