mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 22:15:41 +02:00
miObjet
This commit is contained in:
BIN
packages/frontend/assets/room/objects/mi-objet/mi-objet.blend
Normal file
BIN
packages/frontend/assets/room/objects/mi-objet/mi-objet.blend
Normal file
Binary file not shown.
BIN
packages/frontend/assets/room/objects/mi-objet/mi-objet.glb
Normal file
BIN
packages/frontend/assets/room/objects/mi-objet/mi-objet.glb
Normal file
Binary file not shown.
@@ -41,6 +41,7 @@ import { keyboard } from './objects/keyboard.js';
|
||||
import { laptopPc } from './objects/laptopPc.js';
|
||||
import { lavaLamp } from './objects/lavaLamp.js';
|
||||
import { letterCase } from './objects/letterCase.js';
|
||||
import { miObjet } from './objects/mi-objet.js';
|
||||
import { milk } from './objects/milk.js';
|
||||
import { miPlate } from './objects/miPlate.js';
|
||||
import { miPlateDisplayed } from './objects/miPlateDisplayed.js';
|
||||
@@ -131,6 +132,7 @@ export const OBJECT_DEFS = [
|
||||
laptopPc,
|
||||
lavaLamp,
|
||||
letterCase,
|
||||
miObjet,
|
||||
milk,
|
||||
miPlate,
|
||||
miPlateDisplayed,
|
||||
|
||||
23
packages/frontend/src/utility/room/objects/mi-objet.ts
Normal file
23
packages/frontend/src/utility/room/objects/mi-objet.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { defineObject } from '../engine.js';
|
||||
|
||||
export const miObjet = defineObject({
|
||||
id: 'miObjet',
|
||||
name: 'Mi objet',
|
||||
options: {
|
||||
schema: {},
|
||||
default: {},
|
||||
},
|
||||
placement: 'top',
|
||||
hasCollisions: false,
|
||||
hasTexture: true,
|
||||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user