mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 22:15:41 +02:00
wip
This commit is contained in:
BIN
packages/frontend/assets/room/objects/pet-bottle/label.png
Normal file
BIN
packages/frontend/assets/room/objects/pet-bottle/label.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
BIN
packages/frontend/assets/room/objects/pet-bottle/pet-bottle.glb
Normal file
BIN
packages/frontend/assets/room/objects/pet-bottle/pet-bottle.glb
Normal file
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
@@ -30,6 +30,7 @@ import { monstera } from './objects/monstera.js';
|
|||||||
import { mug } from './objects/mug.js';
|
import { mug } from './objects/mug.js';
|
||||||
import { openedCardboardBox } from './objects/openedCardboardBox.js';
|
import { openedCardboardBox } from './objects/openedCardboardBox.js';
|
||||||
import { pachira } from './objects/pachira.js';
|
import { pachira } from './objects/pachira.js';
|
||||||
|
import { petBottle } from './objects/petBottle.js';
|
||||||
import { plant } from './objects/plant.js';
|
import { plant } from './objects/plant.js';
|
||||||
import { plant2 } from './objects/plant2.js';
|
import { plant2 } from './objects/plant2.js';
|
||||||
import { powerStrip } from './objects/powerStrip.js';
|
import { powerStrip } from './objects/powerStrip.js';
|
||||||
@@ -74,6 +75,7 @@ export const OBJECT_DEFS = [
|
|||||||
mug,
|
mug,
|
||||||
openedCardboardBox,
|
openedCardboardBox,
|
||||||
pachira,
|
pachira,
|
||||||
|
petBottle,
|
||||||
plant,
|
plant,
|
||||||
plant2,
|
plant2,
|
||||||
powerStrip,
|
powerStrip,
|
||||||
|
|||||||
21
packages/frontend/src/utility/room/objects/petBottle.ts
Normal file
21
packages/frontend/src/utility/room/objects/petBottle.ts
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { defineObject } from '../engine.js';
|
||||||
|
|
||||||
|
export const petBottle = defineObject({
|
||||||
|
id: 'petBottle',
|
||||||
|
name: 'PET Bottle',
|
||||||
|
options: {
|
||||||
|
schema: {},
|
||||||
|
default: {},
|
||||||
|
},
|
||||||
|
placement: 'top',
|
||||||
|
createInstance: () => {
|
||||||
|
return {
|
||||||
|
interactions: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user