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],
rotation: [0, 0, 0],
options: {},
}, {
id: 'f4',
type: 'cactusS',
position: [50, 90, 155],
rotation: [0, 0, 0],
options: {},
}, {
id: 'g',
type: 'mug',

View File

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

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