1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-24 11:34:10 +02:00
This commit is contained in:
syuilo
2026-02-17 07:17:27 +09:00
parent 8c28c7c253
commit 7b7767942f
9 changed files with 25 additions and 0 deletions

View File

@@ -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',

View File

@@ -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,

View 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: {},
};
},
});