anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
46 stars 16 forks source link

Trader bought items do not stack with already owned items that were collected from the ground #3733

Open pingouyn opened 7 months ago

pingouyn commented 7 months ago

Game Version

1.19.5-rc1

Platform

Linux

Modded

Vanilla

SP/MP

Multiplayer

Description

The issue occured with "aged crates" and "lanterns". I am assuming this also applies to other items too. Tested with purchasing new items from a furniture trader. Likely to concern other traders too and possibly newly found items from ruins.

The example below refers to crates only.

PS: on a side note that seems to be related on a surface level so to speak, I cannot sell bread to any vendor, whilst on the same server my daughter (playing on windows) says she can. It's as if the player made bread and the bread the trader is expecting are not considered identical. I checked their fresheness, cooking status, and the extended debug info in Dev mode - they are identical.

How to reproduce

  1. Own an "aged crate" (from a ruin or vendor) that was put on the ground and collected at some point in the past.
  2. Have that crate in the inventory.
  3. Purchase a new aged crate from a furniture trader.
  4. The already owned create and the newly purchase crate do not stack up in inventory.
  5. Checked the extended debug info in Dev Mode. They are identical for both items.
  6. Put the newly purchased crate on the ground, break and collect it. Both crates now stack up.

Screenshots

No response

Logs

Log

pingouyn commented 6 months ago

For lanterns, the trader bought lanterns do not have the following tag : "Glass: Quartz". After being positioned on the ground then picked up that lantern is finally given the "Glass: Quartz" tag and can be stacked with player crafted lanters in an inventory.