module.exports = function () {
    var getResources = function() {
        var resources = {
            "lumber": {
                "name" : "Lumber",
                "baseAmount" : 10,
                "increaseAmounts" : {
                    "lumber": 3
                },
                "decreaseAmounts": {

                },
                "timeToGather": 2,
                "resourceKey" : "lumber",
                "gatherDescription" : "Spend a few hours cutting down lumber for use in the village"
            },
            "firewood": {
                "name" : "Firewood",
                "baseAmount" : 10,
                "increaseAmounts" : {
                    "firewood": 5
                },
                "decreaseAmounts": {
                    "lumber": 1
                },
                "timeToGather": 2,
                "resourceKey" : "firewood",
                "gatherDescription" : "Split a piece of lumber into firewood to keep your cabin warm."
            },
            "food": {
                "name" : "Food",
                "baseAmount" : 10,
                "increaseAmounts" : {
                    "food": 3
                },
                "decreaseAmounts": {

                },
                "timeToGather": 2,
                "resourceKey" : "food",
                "gatherDescription" : "Harvest some of the bountiful berries and nuts from the surrounding forest for dinner tonight."
            },
            "water": {
                "name" : "Water",
                "baseAmount" : 10,
                "increaseAmounts" : {
                    "water": 3
                },
                "decreaseAmounts": {

                },
                "timeToGather": 2,
                "resourceKey" : "water",
                "gatherDescription" : "Fetch a bucket of water from the nearby freshwater stream, then boil it to ensure it is safe to drink."
            },
            "stone": {
                "name" : "Stone",
                "baseAmount" : 10,
                "increaseAmounts" : {
                    "stone": 3
                },
                "decreaseAmounts": {

                },
                "timeToGather": 2,
                "resourceKey" : "stone",
                "gatherDescription" : "Gather rock chipped from the island's cliffs to help with construction efforts."
            }

        };
        return resources;
    };

    var getBaseResources = function() {
        var resources = getResources();
        var baseResources = {};

        for (var i in resources) {
            baseResources[i] = {};
            baseResources[i].amount = resources[i].baseAmount;
            baseResources[i].description = resources[i].gatherDescription;
            baseResources[i].name = resources[i].name;
            baseResources[i].resKey = i;
        }

        return baseResources;
    };

    var getBuildings = function() {
        var buildingsStats = {
            "sawMill": {
                "name": "Saw Mill",
                "description": "A factory where machines saw logs into lumber.",
                "resourceMultipliers": {
                    "lumber": 1.25
                }
            }
        };
        return buildingsStats;
    };

    return {
        getResources : getResources,
        getBaseResources : getBaseResources,
        getBuildings : getBuildings
    };
};

@@ -3177,32 +3177,515 @@
               %7D%0A
+            %7D,%0A            %22well%22: %7B%0A                %22name%22: %22Well%22,%0A                %22description%22: %22A more convenient place to collect water.%22,%0A                %22resourceMultipliers%22: %7B%0A                    %22water%22: 2%0A                %7D%0A            %7D,%0A            %22quarry%22: %7B%0A                %22name%22: %22Quarry%22,%0A                %22description%22: %22A big hole in the ground... with lots of rocks.%22,%0A                %22resourceMultipliers%22: %7B%0A                    %22stone%22: 1.25%0A                %7D%0A
             %7D%0A  

add two more buildings