Jump to content

Template talk:Recipes: Difference between revisions

From Stardew Valley Wiki
imported>Charly
Game code reference for durations
 
imported>Margotbean
No edit summary
Line 9: Line 9:


-- [[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)

Revision as of 22:49, 19 November 2021

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)