converter now has cycleLength. storage save load fix
This commit is contained in:
+13
-5
@@ -16,14 +16,16 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
pins: [
|
||||
{
|
||||
resource: 'wood',
|
||||
rate: 1,
|
||||
},
|
||||
{
|
||||
resource: 'stone',
|
||||
rate: 0.1,
|
||||
},
|
||||
],
|
||||
},
|
||||
rules: {
|
||||
cycleLength: 1,
|
||||
outputRates: { wood: 1, stone: 0.1 },
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -36,7 +38,6 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
pins: [
|
||||
{
|
||||
resource: 'wood',
|
||||
rate: 0.5,
|
||||
link: { target: 'forest.1', resource: 'wood' },
|
||||
},
|
||||
]
|
||||
@@ -45,10 +46,14 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
pins: [
|
||||
{
|
||||
resource: 'plank',
|
||||
rate: 1,
|
||||
},
|
||||
],
|
||||
},
|
||||
rules: {
|
||||
cycleLength: 1.8,
|
||||
inputRates: { wood: 1 },
|
||||
outputRates: { plank: 2 },
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -61,7 +66,6 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
pins: [
|
||||
{
|
||||
resource: 'plank',
|
||||
rate: 1,
|
||||
link: { target: 'sawmill.1', resource: 'plank' },
|
||||
},
|
||||
],
|
||||
@@ -69,6 +73,10 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
outputs: {
|
||||
pins: [],
|
||||
},
|
||||
rules: {
|
||||
cycleLength: 1,
|
||||
inputRates: { plank: 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user