User talk:JaksStrange

From Stardew Valley Wiki
Revision as of 20:15, 5 May 2021 by FurkanS1821 (talk | contribs) (→‎Abigail revertion: new section)
Jump to navigation Jump to search
This is JaksStrange's talk page, where you can send messages and comments to JaksStrange.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Weapon sell price

Hello Jaks! I'm having trouble finding the sell to store price for weapons. I noticed you updated a few pages with reduced sell prices, and I would like to record the change in the history section of the pages, if it's a 1.5 change. However, I'm embarrassed to say that I cannot find where the sell price is set in data files or in the code. Do you have any idea? Is this a 1.5 change, or was the information incorrect before? Thanks so much, margotbean (talk) 15:54, 20 March 2021 (UTC)

not Jaks but I think you just get the formula from MeleeWeapon.cs which states "salePrice itemlevel * 100" and then the shop sell formula is "(toSell.salePrice() / 2", so the summary would be: grab item level, multiply by 100, divide by 2 = sell price. Example Infinity Gravel: item Level 17 * 100 = 1700 /2 = 850g saleprice. Dubesor (talk) 16:53, 20 March 2021 (UTC)
Thanks for the info! Now the question is, where does weapon level get set? It must be in the code, because it's not in Weapons.xnb. margotbean (talk) 18:16, 20 March 2021 (UTC)
Well, I just passed to the wiki what is in the game, I do not see the game files or code. JaksStrange (talk) 18:31, 20 March 2021 (UTC)
I am not exactly sure but I THINK it could be just a calculation pulled from all the other weapon attributes. There is a getItemLevel calculation done that takes all kind of attributes and weaponpoints into account and based on that calculation the item level is set. This is my assumption anyway, I am neither a coder nor a modder Dubesor (talk) 19:25, 20 March 2021 (UTC)
Well, thanks for all the info and research, everyone! I'm going to open a topic on the Weapons talk page to continue the discussion, so Jaks doesn't get notified every time someone discovers some new info. XO, margotbean (talk) 14:51, 21 March 2021 (UTC)

Abigail revertion

May I learn the reason why this edit has been reverted? There's no vandalism. There's no change of information. I made all changes looking into game's files and decompiled source, none of the information is wrong.