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/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 { openedCardboardBox } from './objects/openedCardboardBox.js';
|
||||
import { pachira } from './objects/pachira.js';
|
||||
import { petBottle } from './objects/petBottle.js';
|
||||
import { plant } from './objects/plant.js';
|
||||
import { plant2 } from './objects/plant2.js';
|
||||
import { powerStrip } from './objects/powerStrip.js';
|
||||
@@ -74,6 +75,7 @@ export const OBJECT_DEFS = [
|
||||
mug,
|
||||
openedCardboardBox,
|
||||
pachira,
|
||||
petBottle,
|
||||
plant,
|
||||
plant2,
|
||||
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