Jump to content

Template talk:Recipes: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Pathoschild
m update link
Line 6: Line 6:
Reference would be the following: Buff duration for Food and Drink appears in <samp>Content\Data\ObjectInformation.xnb</samp> at the 8th index. The given number must be then multiplied by 700 to have the duration in milliseconds. This formula appears in <samp>Buff::Buff</samp> in the game code.
Reference would be the following: Buff duration for Food and Drink appears in <samp>Content\Data\ObjectInformation.xnb</samp> at the 8th index. The given number must be then multiplied by 700 to have the duration in milliseconds. This formula appears in <samp>Buff::Buff</samp> in the game code.


I don't know if modifying the template is the best way to introduce a game code reference, but I'm not sure where else it could be mentioned. It could be added on the [[Buff#Available Buffs]] page instead, but it makes the information more distant. It is also mentioned on [[Modding:Object data#Food & Drink]] but without the reference to the <samp>.exe</samp> function.
I don't know if modifying the template is the best way to introduce a game code reference, but I'm not sure where else it could be mentioned. It could be added on the [[Buff#Available Buffs]] page instead, but it makes the information more distant. It is also mentioned on [[Modding:Items#Objects|Modding:Object data#Food & Drink]] but without the reference to the <samp>.exe</samp> function.


-- [[User:Charly|Charly]] ([[User talk:Charly|talk]]) 21:17, 19 November 2021 (UTC)
-- [[User:Charly|Charly]] ([[User talk:Charly|talk]]) 21:17, 19 November 2021 (UTC)
:Not the best idea to put a reference in a template. There is a section on the Cooking page called "Buffs", and that would be a much better place for the information. [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 22:49, 19 November 2021 (UTC)
:Not the best idea to put a reference in a template. There is a section on the Cooking page called "Buffs", and that would be a much better place for the information. [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 22:49, 19 November 2021 (UTC)

Revision as of 01:49, 28 January 2022

This talk page is for discussing Template:Recipes.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Buff duration and calculation reference

I was considering adding a game code reference to the Buff Duration Column Header on the Cooking#Recipes page.

Reference would be the following: Buff duration for Food and Drink appears in Content\Data\ObjectInformation.xnb at the 8th index. The given number must be then multiplied by 700 to have the duration in milliseconds. This formula appears in Buff::Buff in the game code.

I don't know if modifying the template is the best way to introduce a game code reference, but I'm not sure where else it could be mentioned. It could be added on the Buff#Available Buffs page instead, but it makes the information more distant. It is also mentioned on Modding:Object data#Food & Drink but without the reference to the .exe function.

-- Charly (talk) 21:17, 19 November 2021 (UTC)

Not the best idea to put a reference in a template. There is a section on the Cooking page called "Buffs", and that would be a much better place for the information. margotbean (talk) 22:49, 19 November 2021 (UTC)