engine moved to a separate node.js module
This commit is contained in:
+19
-1
@@ -1,4 +1,4 @@
|
||||
import { SerializedGame } from "../types";
|
||||
import { SerializedGame } from "@incgame/engine";
|
||||
|
||||
export const defaultGame: () => SerializedGame = () => ({
|
||||
time: 0,
|
||||
@@ -59,5 +59,23 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
items: {},
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'shop2',
|
||||
name: 'Магазин 2',
|
||||
behaviour: {
|
||||
id: 'shop.2',
|
||||
kind: 'storage',
|
||||
inputLinks: {
|
||||
pins: [
|
||||
{
|
||||
resource: 'stone',
|
||||
target: 'forest.1',
|
||||
}
|
||||
]
|
||||
},
|
||||
acceptsResources: ['stone'],
|
||||
items: {},
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user