Talk:Luau

From Stardew Valley Wiki
Jump to: navigation, search
This talk page is for discussing Luau.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

The page previously mentioned that "perhaps only fresh ingredients can be used in the soup?", focusing on the Mayor's usage of the word "fresh", but I just added Kale in year 2 that was from Spring of Year 1, so this can't be right. I removed the incorrect info. MrFluffums (talk) 01:13, 26 March 2016 (EDT)

Fresh could also be pertaining to things grown in summer/spring, rather than winter/fall. (I have no evidence to support or go against this. Just the way I interpreted ted that line.) -- Kapra (talk) 04:43, 26 March 2016 (EDT)

The claim that items with a value over 200 will grant a maximum response is not quite correct, or else the valuation of silver star cauliflower on the crops page is incorrect.Crazylace (talk) 19:09, 26 March 2016 (EDT)

Referenced from [1] Not sure about the comment about it not affecting the player and being a fun diversion. The first year I went I forgot to take something with me. Governor said something was missing and the villagers were disappointed. The following year I added a gold star eggplant, and my heart rating went up with everyone in the village. Jojo modjo (talk) 18:28, 27 March 2016 (EDT)

I put in a silver star catfish and only got the "Ah... that's a very pleasant soup. The produce from this valley never disappoints!" response! Silver catfish should be worth 250G, right? Juddy555 (talk) 11:01, 1 April 2016 (EDT)

The silver star sturgeon is supposed to be 250G on the Fish page. When put on the soup I got the "Ah... that's a very pleasant soup. The produce from this valley never disappoints!" response. I'm not sure if the error is on the Luau page or the fish page, but one of them must be inaccurate.

2016-07-03 - Used gold star cheese as it was listed for best response and received the Good response instead (pleasant soup line). Guessing this should be removed from that list.

Governor Response Code

There are lots of condition combinations. I outlined them out the best I could without making them too confusing on the main page. Edibility refers to energy value. Quality is 0=normal, 1=silver, and 2=gold.

int num2 = 5; // default to no item response
if ((@object.quality >= 2 && @object.price >= 160) || (@object.quality == 1 && @object.price >= 300 && @object.edibility > 10))
{
	num2 = 4; // best response
	Utility.improveFriendshipWithEveryoneInRegion(Game1.player, 120, 2); // increase friendship with town, not sure exactly how much the number equates to hearts
}
else if (@object.edibility >= 20 || @object.price >= 100 || (@object.price >= 70 && @object.quality >= 1))
{
	num2 = 3; // good response
	Utility.improveFriendshipWithEveryoneInRegion(Game1.player, 60, 2);
}
else if ((@object.price > 20 && @object.edibility >= 10) || (@object.price >= 40 && @object.edibility >= 5))
{
	num2 = 2; // okay response
}
else if (@object.edibility >= 0)
{
	num2 = 1; // bad response
	Utility.improveFriendshipWithEveryoneInRegion(Game1.player, -50, 2);
}
if (@object.edibility > -300 && @object.edibility < 0)
{
	num2 = 0; // worst response
	Utility.improveFriendshipWithEveryoneInRegion(Game1.player, -100, 2);
}

--Samutz (talk) 15:20, 5 April 2016 (EDT)

Note that price is the price before quality and artisan multipliers are applied. For example, salePrice() contains the formula return (int)(this.price * 2 * (1 + this.quality * 0.25);.
I think the article should use energy rather than health to show edibility, because of the existing tooltip health bug in version 1.07, where it uses a 0.4 multiplier instead if 0.45. Energy is more consistent than health. (the formula during consumption and for tooltip is energy = ceiling(edibility * 2.5) + edibility * quality) --BryghtShadow (talk) 07:56, 12 April 2016 (EDT)
After I found out about the tooltip bug, I had intended to come back to this and update it to use energy instead, but forgot about it. I'll see about it later today, unless you want to do it. --Samutz (talk) 09:09, 12 April 2016 (EDT)
I've updated page with energy values. (If possible, I'd like to compact the wall of text) --BryghtShadow (talk) 09:42, 12 April 2016 (EDT)
Yea, I wasn't entirely happy with how the section looked after I typed it all out, but I couldn't come up with a way to simplify it with all of the conditions that are taken in to consideration. I'll experiment with some tables in a bit and see if I can make it easier to read. --Samutz (talk) 10:57, 12 April 2016 (EDT)
I started re-formatting the conditions and while it looked prettier it still seemed like it would be too confusing. So instead I ran all of the items through the same conditions to generate lists for each response and item quality. I think ultimately this will be easier on players just looking to see what items they can use without forcing them to work out the math themselves. --Samutz (talk) 14:49, 12 April 2016 (EDT)

I, too, tried a silver star fish, a largemouth, and it got the good response, not best as the page currently says.FerreTrip (talk) 18:28, 12 April 2016 (EDT)

Found a typo in the code I used to generate the lists. Re-doing the lists now. Thanks for pointing that out. --Samutz (talk) 19:10, 12 April 2016 (EDT)

At the time of writing, the silver- and gold-quality sections on this page contain various artisan goods and animal products; some of these items (e.g. Wine, Truffle Oil) never have quality stars. I'm skeptical as to whether Stardrops would even work: don't they get used on pickup? Assuming they could work, why would you waste them on this? Exa (talk) 06:21, 13 April 2016 (EDT)

Yes, the lists will still need some editing. The code only filters for edible, uncooked items. Feel free to remove items that can't be obtained. Technically, if they could be obtained and placed in your inventory, like with a trainer, then the Luau would accept them.
Filter from the game: public static bool highlightEdibleNonCookingItems(Item i){ return i is Object && (i as Object).edibility != -300 && (i as Object).category != -7; }
--Samutz (talk) 09:07, 13 April 2016 (EDT)

I've updated the code for v1.2.33. The only change seems to be that quality can be greater than 2 now (iridium quality = 4). I have no plans to update all the tables for items that have iridium quality with v1.2.33, but did not have that option at the time of the above discussion. margotbean (talk) 13:59, 27 October 2017 (BST)


Re v1.2.33: I'm assuming that the items that gained the capacity for iridium quality all gained that with the base v1.2, yes? There's no further expansion in later updates? I'm thus assuming also that real feature changes like this would cause the developers to bump the version to v1.3, according to long-used software engineering practices. But in my career I did see Marketing departments meddle in engineering practices in this way, often enough so that it never hurts to confirm. (All of which means that your updates apply equally to all v1.2.x versions?) Butterbur (talk) 18:04, 27 October 2017 (BST)
The convo. above seems to be dated March/April 2016, so they were talking about v1.07. Iridium quality was introduced in v1.1 in October of 2016. There haven't been any content changes that affect the Luau or its ingredients since then.
You can see how content changes follow standard engineering practices on the Version History page. margotbean (talk) 19:22, 27 October 2017 (BST)
Thanks for the verifications. I'd forgotten about that page. Butterbur (talk) 09:21, 28 October 2017 (BST)

Page Updated

All potluck soup items have been updated to PC v1.2.33. I've listed each kind of wine and juice separately, so the tables got a bit bigger. margotbean (talk) 07:55, 29 March 2018 (BST)

Affected relationships

Are the player's children affected by the potluck relationship bonus? Anecdotally, I saw no change in hearts after receiving the best response. Mono bing (talk) 15:34, 22 May 2019 (BST)

Nope. Only NPCs listed in Data\NPCDispositions.xnb are eligible for the friendship increase. Children aren't included in that file. margotbean (talk) 20:07, 22 May 2019 (BST)

Iridium Spice Berry

Iridium Spice Berries do not appear to yield the best response from the governor, but rather the Good Response. - --Psycardis (talk) 16:34, 7 September 2019 (UTC)

You are correct! The page says iridium/gold "Spice Berry Wine" gives the best response. margotbean (talk) 17:30, 7 September 2019 (UTC)

Version 1.4 Changes

The increased sell price of Cheese and Goat Cheese have no effect on the Governor's responses, they are the same as with v1.3. margotbean (talk) 18:56, 30 December 2019 (UTC)

All items other than Roe and Aged Roe have been updated. This includes Seaweed at all quality levels, since it can now be foraged at the Beach. There were no changes to any fish (iridium fish all produce the same response as their gold counterparts), but I added the 3 night market fish since gold quality can be obtained with perfect catches, and there is at least one (unverified) report of iridium quality night market fish. margotbean (talk) 20:23, 30 December 2019 (UTC)
All Roe and Aged Roe produce the good response, since quality is always 0 and edibility is always >=20. margotbean (talk) 19:39, 31 December 2019 (UTC)