User:Lilly

From Stardew Valley Wiki
Jump to: navigation, search

Redesigning the logic for recipe tables, trying to build it based on the information passed to the infobox template on the recipe's page.

Original

Image Name Description Ingredients Restores Buff(s) Buff Duration Recipe Source(s) Sell Price
Algae Soup.png
Algae Soup It's a little slimy. Green Algae.png Green Algae (4) Energy.png 75
Health.png 33
N/A N/A

Clint Icon.png Clint (Mail - 3+ HeartIconLarge.png)

Gold.png100g
Bread.png
Bread A crusty baguette. Wheat Flour.png Wheat Flour (1) Energy.png 50
Health.png 22
N/A N/A

Cooking Channel.png The Queen of Sauce
28 Summer, Year 1

Gus Icon.png Stardrop Saloon for Gold.png500g

Gold.png60g

Based on infobox parameters

Image Name Description Ingredients Restores Buff(s) Recipe Source(s) Sell Price
Algae Soup.png Algae Soup It's a little slimy. Green Algae.png Green Algae (4) Energy.png Energy (75) Health.png Health (33) Combat.png Combat (+2)Time Icon.png 0

Clint Icon.png Clint (Mail - 3+ Hearts)

Gold.png100g
Autumn's Bounty.png Autumn's Bounty A taste of the season. Yam.png Yam (1)Pumpkin.png Pumpkin (1) Energy.png Energy (220) Health.png Health (99) Foraging.png Foraging (+2)Defense.png Defense (+2)Time Icon.png 7m41s

Demetrius Icon.png Demetrius (Mail - 7+ Hearts)

Gold.png25g


Using arrays

Image Name Description Ingredients Restores Buff(s) Buff Duration Recipe Source(s) Sell Price

Algae Soup.png Algae Soup It's a little slimy. Green Algae.png Green Algae (4) Energy.png Energy (75) Health.png Health (33)

Clint Icon.png Clint (Mail - 3+ HeartIconLarge.png)

Gold.png100g
Autumn's Bounty.png Autumn's Bounty A taste of the season. Yam.png Yam (1)Pumpkin.png Pumpkin (1) Energy.png Energy (220) Health.png Health (99) Foraging.png Foraging (+2)Defense.png Defense (+2)

Demetrius Icon.png Demetrius (Mail - 7+ HeartIconLarge.png)

Gold.png350g
Bread.png Bread A crusty baguette. Wheat Flour.png Wheat Flour (1) Energy.png Energy (50) Health.png Health (22)

Cooking Channel.png The Queen of Sauce
28 Summer, Year 1

Gus Icon.png Stardrop Saloon for Gold.png500g

Gold.png60g
Algae Soup.png Algae Soup It's a little slimy. Green Algae.png Green Algae (4) Energy.png Energy (75) Health.png Health (33) Combat.png Combat (+2)Time Icon.png 0

Clint Icon.png Clint (Mail - 3+ Hearts)

Gold.png100g