humus-old/server/fixtures/flower-barrel.entity.js
2019-05-21 03:10:07 -05:00

50 lines
938 B
JavaScript

import {buildInvoke, buildTraversal} from '@avocado/behavior';
// A flower barrel.
export function flowerBarrelJSON() {
return {
traits: {
alive: {
state: {
maxLife: 1000,
life: 1000,
},
},
collider: {},
emitter: {},
existent: {
state: {
name: 'Flower Barrel',
},
},
layered: {},
listed: {},
physical: {},
pictured: {
params: {
images: {
initial: {
offset: [0, -8],
size: [32, 32], // Derive?
uri: '/flower-barrel.png',
},
}
},
},
positioned: {},
roomed: {},
shaped: {
params: {
shape: {
type: 'rectangle',
position: [0, 0],
size: [20, 10],
},
},
},
visible: {},
vulnerable: {},
},
};
}