mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-31 19:43:56 +02:00
tableSalt
This commit is contained in:
BIN
packages/frontend/assets/room/object-thumbs/table-salt.png
Normal file
BIN
packages/frontend/assets/room/object-thumbs/table-salt.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
BIN
packages/frontend/assets/room/objects/table-salt/table-salt.glb
Normal file
BIN
packages/frontend/assets/room/objects/table-salt/table-salt.glb
Normal file
Binary file not shown.
@@ -76,6 +76,7 @@ import { speakerStand } from './objects/speakerStand.js';
|
|||||||
import { sprayer } from './objects/sprayer.js';
|
import { sprayer } from './objects/sprayer.js';
|
||||||
import { steelRack } from './objects/steelRack.js';
|
import { steelRack } from './objects/steelRack.js';
|
||||||
import { stormGlass } from './objects/stormGlass.js';
|
import { stormGlass } from './objects/stormGlass.js';
|
||||||
|
import { tableSalt } from './objects/tableSalt.js';
|
||||||
import { tabletopCalendar } from './objects/tabletopCalendar.js';
|
import { tabletopCalendar } from './objects/tabletopCalendar.js';
|
||||||
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
|
import { tabletopDigitalClock } from './objects/tabletopDigitalClock.js';
|
||||||
import { tabletopFlag } from './objects/tabletopFlag.js';
|
import { tabletopFlag } from './objects/tabletopFlag.js';
|
||||||
@@ -172,6 +173,7 @@ export const OBJECT_DEFS = [
|
|||||||
sprayer,
|
sprayer,
|
||||||
steelRack,
|
steelRack,
|
||||||
stormGlass,
|
stormGlass,
|
||||||
|
tableSalt,
|
||||||
tabletopCalendar,
|
tabletopCalendar,
|
||||||
tabletopDigitalClock,
|
tabletopDigitalClock,
|
||||||
tabletopFlag,
|
tabletopFlag,
|
||||||
|
|||||||
24
packages/frontend/src/world/room/objects/tableSalt.ts
Normal file
24
packages/frontend/src/world/room/objects/tableSalt.ts
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { defineObject } from '../object.js';
|
||||||
|
|
||||||
|
export const tableSalt = defineObject({
|
||||||
|
id: 'tableSalt',
|
||||||
|
name: 'tableSalt',
|
||||||
|
options: {
|
||||||
|
schema: {},
|
||||||
|
default: {},
|
||||||
|
},
|
||||||
|
placement: 'top',
|
||||||
|
hasCollisions: false,
|
||||||
|
hasTexture: true,
|
||||||
|
canPreMeshesMerging: true,
|
||||||
|
createInstance: () => {
|
||||||
|
return {
|
||||||
|
interactions: {},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user