Files
nethack/include
PatR a6b4322034 fix #H7103 - shop pricing
Player came across a stack of 2 gray stones in a shop and kicked one.
That one ended up with a different (in his case, lower) price once it
was separate.  This behavior only applies to non-glass gems which add
a price variation derived from internal ID (obj->o_id) number.  Make
splitting stacks always yield the same price per item in the new stack
as was being charged in the old stack by choosing a similar o_id.  Do
it for all splits (that can vary price by ID, so just non-glass gems),
not just ones performed inside shops.

He picked up the lower priced one and dropped it back on the original
higher priced one; the combined stack took on the lower price.  That
will no longer happen if they come from splitting a stack, but this
fix doesn't address merging with different prices when they start out
as separate stacks.  (Unpaid items won't merge in inventory if prices
are different, but shop-owned items will merge on floor.)
2018-12-27 14:12:48 -08:00
..
2018-11-11 10:29:52 -05:00
2018-09-10 21:13:10 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2016-10-10 16:18:20 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:15 +09:00
2018-11-27 07:38:03 +02:00
2015-10-17 13:15:46 +03:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-12-10 09:00:50 -05:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2018-04-25 15:00:13 -04:00
2018-12-27 14:12:48 -08:00
2018-12-10 09:00:50 -05:00
2018-12-15 19:31:42 -05:00
2015-05-25 09:21:15 +09:00
2018-12-07 09:29:01 -05:00
2018-04-25 16:54:50 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2015-05-25 09:21:15 +09:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2015-10-17 13:15:46 +03:00
2015-11-17 02:26:17 -08:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 15:00:13 -04:00
2015-05-25 09:21:31 +09:00
2018-09-22 14:08:28 -04:00
2015-05-25 09:21:31 +09:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2015-05-25 09:21:31 +09:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-10-20 23:14:33 -04:00
2017-11-02 13:37:53 +02:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-11-17 02:26:17 -08:00
2017-10-10 21:47:35 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00
2018-04-25 15:00:13 -04:00
2018-12-15 19:27:08 -08:00
2015-05-25 09:21:31 +09:00
2018-11-20 19:09:05 -05:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 15:00:13 -04:00
2018-12-19 17:52:49 -08:00
2015-05-25 09:21:31 +09:00
2018-04-25 15:00:13 -04:00
2015-10-17 18:47:31 +03:00
2015-05-25 09:21:31 +09:00
2018-12-04 22:22:43 -05:00
2015-05-25 09:21:31 +09:00
2018-12-08 17:56:20 -05:00
2017-10-10 15:56:18 -07:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00