Commit 2fafba7a authored by Matthew Odle's avatar Matthew Odle

rename leather to hide; have woodcutter produce three firewood; show counts of...

rename leather to hide; have woodcutter produce three firewood; show counts of materials used on buildings
parent 9956764a
......@@ -9,7 +9,7 @@ export class Goods extends React.Component {
return (
<div className='goods'>
<span>makes: </span>
<span>{Array.from(Object.keys(goods)).toString()}</span>
<span>{Array.from(Object.keys(goods)).map(good => good + ":" + goods[good] + " ")}</span>
</div>
);
}
......
......@@ -39,7 +39,7 @@ const knobsAndLevers = {
defaultFirewoodStores: 50,
defaultFoodStores: 50,
defaultClothingStores: 10,
defaultLeatherStores: 0,
defaultHideStores: 0,
defaultIronStores: 0,
defaultWoodStores: 0,
}
......@@ -60,7 +60,7 @@ const villageStore = [
{name: 'iron', count: knobsAndLevers.defaultIronStores, source: 'MINE'},
{name: 'firewood', count: knobsAndLevers.defaultFirewoodStores, source: 'WOODCUTTER_HUT'},
{name: 'food', count: knobsAndLevers.defaultFoodStores, source: 'GATHERER_HUT, HUNTER_LODGE'},
{name: 'leather', count: knobsAndLevers.defaultLeatherStores, source: 'HUNTER_LODGE'},
{name: 'hide', count: knobsAndLevers.defaultHideStores, source: 'HUNTER_LODGE'},
{name: 'clothing', count: knobsAndLevers.defaultClothingStores, source: 'TAILOR'},
];
......@@ -144,7 +144,7 @@ const generateBuildings = () => {
name: 'HUNTER_LODGE',
label: "Hunter's Lodge",
description: "take advantage of nature's bounty",
goods: ['food', 'leather'],
goods: ['food', 'hide'],
assignedVillagers: [],
capacity: knobsAndLevers.defaultCapacity,
progress: 0,
......@@ -171,7 +171,7 @@ const generateBuildings = () => {
label: 'Woodcutter',
description: "it's big, it's heavy, it's wood",
materials: ['wood'],
goods: ['firewood'],
goods: ['firewood','firewood','firewood'],
assignedVillagers: [],
capacity: knobsAndLevers.defaultCapacity,
progress: 0,
......@@ -184,7 +184,7 @@ const generateBuildings = () => {
name: 'TAILOR',
label: 'Tailor',
description: "clothing to keep warm",
materials: ['leather'],
materials: ['hide'],
goods: ['clothing'],
assignedVillagers: [],
capacity: knobsAndLevers.defaultCapacity,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment