mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 22:34:04 +02:00
wip
This commit is contained in:
BIN
packages/frontend/assets/room/objects/books/books.blend
Normal file
BIN
packages/frontend/assets/room/objects/books/books.blend
Normal file
Binary file not shown.
BIN
packages/frontend/assets/room/objects/books/books.glb
Normal file
BIN
packages/frontend/assets/room/objects/books/books.glb
Normal file
Binary file not shown.
BIN
packages/frontend/assets/room/objects/books/cover.af
Normal file
BIN
packages/frontend/assets/room/objects/books/cover.af
Normal file
Binary file not shown.
BIN
packages/frontend/assets/room/objects/books/cover.png
Normal file
BIN
packages/frontend/assets/room/objects/books/cover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
BIN
packages/frontend/assets/room/objects/books/textures/cover.png
Normal file
BIN
packages/frontend/assets/room/objects/books/textures/cover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@@ -12,6 +12,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 { books } from './objects/books.js';
|
||||||
import { cactusS } from './objects/cactusS.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';
|
||||||
@@ -61,6 +62,7 @@ export const OBJECT_DEFS = [
|
|||||||
bed,
|
bed,
|
||||||
blind,
|
blind,
|
||||||
book,
|
book,
|
||||||
|
books,
|
||||||
cactusS,
|
cactusS,
|
||||||
cardboardBox,
|
cardboardBox,
|
||||||
ceilingFanLight,
|
ceilingFanLight,
|
||||||
|
|||||||
21
packages/frontend/src/utility/room/objects/books.ts
Normal file
21
packages/frontend/src/utility/room/objects/books.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 books = defineObject({
|
||||||
|
id: 'books',
|
||||||
|
name: 'Books',
|
||||||
|
options: {
|
||||||
|
schema: {},
|
||||||
|
default: {},
|
||||||
|
},
|
||||||
|
placement: 'top',
|
||||||
|
createInstance: () => {
|
||||||
|
return {
|
||||||
|
interactions: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user