Commit Graph

7 Commits

Author SHA1 Message Date
Ceikry e958b8d255 Completely rewrote the shop system.
Shop restocking now works properly, with per-item-in-shop granularity as well. (Thanos tool update released that allows defining this)
Shops properly restrict ironmen from buying from player stock/overstocked items
Fully functioning individualized player stock support (need to set a server config variable to enable, disabled by default. Specifically, set personalized_shops = true in the world section of the config.)
The shop pricing formula now scales up/down with the authentic ratios based on stock quantity.
Buying or selling, for example, 1000 of an item, now does the proper calculation for each individual item in the purchase/sale rather than exchanging the full 1000 for the initial price at the time. (For example, in the old shops, feather price at full stock was, say, 6gp. You could buy 1000 feathers at once for 6000gp. Authentically, the pricing for each feather should scale as the stock goes down. Now 1000 feathers at once costs a bit over 7k gp, despite the initial price remaining 6gp.)
General store player stock is now shared between all general stores
2022-04-12 08:46:21 +00:00
skelsoft a4ca46d262 Redwings Drop III.5: Tutorial Island, Tribal Totem 2022-03-19 22:54:15 +00:00
Ryan 47bc652eed Fix stability issues and a various assortment of other bugs 2022-01-11 09:36:57 +00:00
Ceikry d7fd988f50 API overhaul, convert Toy Plugins to Listeners 2021-12-19 08:59:35 +00:00
Ceikry 10219652b0 Massive refactor of several different components including networking fixes 2021-12-19 05:40:17 +00:00
Ceikry d07e9a25c8 Some more improvements to ContentAPI, more stuff converted 2021-06-22 12:42:42 -05:00
Ceikry 8992e81581 bugfixes/improvements 2021-03-15 02:44:30 -05:00