Difference between revisions of "User talk:JaksStrange"

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
: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. [[User:Dubesor|Dubesor]] ([[User talk:Dubesor|talk]]) 16:53, 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. [[User:Dubesor|Dubesor]] ([[User talk: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 <tt>Weapons.xnb</tt>.  [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:16, 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 <tt>Weapons.xnb</tt>.  [[User:Margotbean|margotbean]] ([[User talk: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. [[User:JaksStrange|JaksStrange]] ([[User talk:JaksStrange|talk]]) 18:31, 20 March 2021 (UTC)

Revision as of 18:32, 20 March 2021

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)