Skip to content

Fix item creation when buying from containers

jalensailin requested to merge jalenml-fix-buying-from-containers into hotfix-0.87.3

Intent

There was an issue with items not being created when purchased from containers. An erroneous comparison operator was the culprit. This addresses that.


  • This is meant for a hotfix
  • This is meant for the next release (see milestone)
  • This needs more reviewers than normal; there may be controversy or high complexity
  • This intentionally introduces regressions that will be addressed later
  • There is/will be documentation changes on the wiki
  • Please do not send commits here without coordinating closely with the owner
  • This is a Build System change

Related Issues

Steps to Test

  1. Configure container actor as a shop with both stackable (e.g. ammo) and non-stackable (e.g. cyberware) items.
  2. Login as another user and purchase items from this container.
  3. Ensure items are created on character when purchased (or increase the amount already on the sheet if the item is stackable)
  4. Ensure Eurobucks are added to the container sheet and deducted from the player's sheet.

Merge request reports