display refactoring
This commit is contained in:
+10
-10
@@ -15,7 +15,7 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
outputs: {
|
||||
pins: [
|
||||
{
|
||||
resource: 'wood',
|
||||
resource: 'tree',
|
||||
},
|
||||
{
|
||||
resource: 'stone',
|
||||
@@ -24,7 +24,7 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
},
|
||||
rules: {
|
||||
cycleLength: 1,
|
||||
outputRates: { wood: 1, stone: 0.1 },
|
||||
outputRates: { tree: 1, stone: 0.1 },
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -37,22 +37,22 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
inputs: {
|
||||
pins: [
|
||||
{
|
||||
resource: 'wood',
|
||||
link: { target: 'forest.1', resource: 'wood' },
|
||||
resource: 'tree',
|
||||
link: { target: 'forest.1', resource: 'tree' },
|
||||
},
|
||||
]
|
||||
},
|
||||
outputs: {
|
||||
pins: [
|
||||
{
|
||||
resource: 'plank',
|
||||
resource: 'wood',
|
||||
},
|
||||
],
|
||||
},
|
||||
rules: {
|
||||
cycleLength: 1.8,
|
||||
inputRates: { wood: 1 },
|
||||
outputRates: { plank: 2 },
|
||||
inputRates: { tree: 1 },
|
||||
outputRates: { wood: 2 },
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -65,8 +65,8 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
inputs: {
|
||||
pins: [
|
||||
{
|
||||
resource: 'plank',
|
||||
link: { target: 'sawmill.1', resource: 'plank' },
|
||||
resource: 'wood',
|
||||
link: { target: 'sawmill.1', resource: 'wood' },
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -75,7 +75,7 @@ export const defaultGame: () => SerializedGame = () => ({
|
||||
},
|
||||
rules: {
|
||||
cycleLength: 1,
|
||||
inputRates: { plank: 1 },
|
||||
inputRates: { wood: 1 },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user