Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % Define domains - crops, fertiliser types
- Crops = {Amaranth,Grape,Hops,Pineapple,Sweetgemberry,Tealeaves,Fairyrose,Tulip,Bluejazz,Sunflower,Coffeebean,Poppy,Summerspangle,Parsnip,Greenbean,Cauliflower,Potato,Garlic,Taroroot,Kale,Unmilledrice,Rhubarb,Melon,Tomato,Blueberry,Hotpepper,Wheat,Radish,Redcabbage,Starfruit,Corn,Eggplant,Artichoke,Pumpkin,Bokchoy,Yam,Cranberries,Beet,Ancientfruit,Cactusfruit,Strawberry};
- Fertiliser = {NoFertiliser, BasicFertiliser, QualityFertiliser, DeluxeFertiliser, SpeedGro, DeluxeSpeedGro, HyperSpeedGro};
- % Bulk data extracted from https://thorinair.github.io/Stardew-Profits/
- base_growth_time = [7, 3, 1, 7, 24, 4, 12, 6, 7, 8, 2, 7, 8, 4, 3, 12, 6, 4, 10, 6, 8, 13, 12, 4, 4, 3, 4, 6, 9, 13, 4, 5, 8, 13, 4, 10, 5, 6, 7, 3, 4];
- is_regrowing = [false, true, true, true, false, true, false, false, false, false, true, false, false, false, true, false, false, false, false, false, false, false, false, true, true, true, false, false, false, false, true, true, false, false, false, false, true, false, true, true, true];
- extra_yield = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0.2, 0, 0, 0, 0.11, 0, 0, 0.05, 2, 0.03, 0, 0, 0, 0, 0, 0.002, 0, 0, 0, 0, 1, 0, 0, 0, 0.02];
- jar_time = 4000;
- keg_time = [4000, 10000, 4000, 10000, 4000, 180, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 10000, 10000, 4000, 10000, 10000, 4000, 4000, 4000, 10000, 4000, 4000, 4000, 4000, 4000, 4000, 10000, 4000, 10000, 10000, 10000];
- quality_price_multiplier = [1, 1.25, 1.5, 2];
- cask_age_time = [0, 14, 28, 56];
- fertiliser_tier = [0, 1, 2, 3, 0, 0, 0];
- fert_growth_time = [1, 1, 1, 1, 0.9, 0.75, 0.65];
- base_prices = [150, 80, 25, 300, 3000, 50, 290, 30, 50, 80, 15, 140, 90, 35, 40, 175, 80, 60, 100, 110, 30, 220, 250, 60, 50, 40, 25, 90, 260, 750, 50, 60, 160, 320, 80, 160, 75, 100, 550, 75, 120];
- seed_costs = [70, 60, 60, -1, -1, -1, 200, 20, 30, 125, -1, 100, 50, 20, 60, 80, 50, 40, -1, 70, 40, -1, 80, 50, 80, 40, 10, 40, 100, -1, 150, 20, 30, 100, 50, 60, 240, -1, -1, -1, -1];
- kegged_prices = [337.5, 240, 0, 900, 0, 0, 0, 0, 0, 0, 0, 0, 0, 78.75, 90, 393.75, 180, 135, 225, 247.5, 67.5, 660, 750, 135, 150, 120, 200, 202.5, 585, 2250, 112.5, 135, 360, 720, 180, 360, 225, 225, 1650, 225, 360];
- makes_wine = [false, true, false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, true, true, false, true, true, false, false, false, true, false, false, false, false, false, false, true, false, true, true, true];
- jarred_prices = [350, 210, 100, 650, 0, 150, 0, 0, 0, 0, 0, 0, 0, 120, 130, 400, 210, 170, 250, 270, 110, 490, 550, 170, 150, 130, 100, 230, 570, 1550, 150, 170, 370, 690, 210, 370, 200, 250, 1150, 200, 290];
- % Parameters for available resources, skills, etc
- % The professions we have affect our choice of production, price difference from converting products, etc.
- farming_level = 10;
- profession_tiller = true;
- profession_artisan = false;
- profession_agri = false;
- % This sets up the resources we have available - greenhouse planting spaces, kegs, jars, casks.
- planting_spaces = 108;
- kegs = 100;
- jars = 100;
- casks = 125;
- % The time limit represents how many actions we're willing to do in a day to keep this process running.
- % Actions counted (all equally) include planting crops, harvesting crops, putting things in kegs, jars
- % or casks, unloading kegs, jars or casks (load and unload two separate actions, like plant and harvest).
- time_limit = 100;
- % Setting this to a non-zero value allows you to set a minimum return on your time.
- % This applies in addition to the time limit above, preventing the engine from "filling out" your schedule
- % with low-value actions to maximise profit within the time limit above.
- % This is used for optimisation, but is not reported as a cost in the final calculation.
- labour_rate = 30;
- % We work off the number of usable hours in the day, rather than the 24 total. This is because whatever our w
- usable_day_hours = 20;
- % We assume the same fertiliser is used throughout the greenhouse, on all spaces.
- fertiliser = NoFertiliser;
- % These crops are not to be considered, possibly because of unavailability.
- banned_crops = {Tealeaves, Sweetgemberry, Ancientfruit, Starfruit, Pineapple};
Add Comment
Please, Sign In to add comment