51 Commits

Author SHA1 Message Date
b761ff1bff fix: tell client of PrimeTokens inventory change when buying from varzia (#1243)
Reviewed-on: OpenWF/SpaceNinjaServer#1243
2025-03-20 10:08:00 -07:00
6135fdcdb9 fix: remove credits & ducats for purchases from baro (#1232)
Reviewed-on: OpenWF/SpaceNinjaServer#1232
2025-03-20 05:36:36 -07:00
3986dac8ef fix: buying flawed mods on iron wake doesn't consume credits (#1228)
Reviewed-on: OpenWF/SpaceNinjaServer#1228
2025-03-20 05:36:17 -07:00
adddc11b6f fix: limit booster pack purchases to a max quantity of 100 (#1189)
Reviewed-on: OpenWF/SpaceNinjaServer#1189
2025-03-15 10:25:15 -07:00
2891e2fef5 chore: fix various eslint issues (#1176)
Reviewed-on: OpenWF/SpaceNinjaServer#1176
2025-03-15 03:24:39 -07:00
6490fadcae feat: track vendor purchases (#1153)
Closes #739

Also adds the `noVendorPurchaseLimits` cheat to disable the logic, which is enabled by default due to lack of vendor rotations.

Reviewed-on: OpenWF/SpaceNinjaServer#1153
2025-03-13 02:14:53 -07:00
4e0494f15d fix: ignore purchaseQuantity when getting slots via a bundle (#1151)
Fixes #1149

Reviewed-on: OpenWF/SpaceNinjaServer#1151
2025-03-11 10:32:44 -07:00
1c276ce133 feat: stripped rewards (#1123)
Closes #683

Reviewed-on: OpenWF/SpaceNinjaServer#1123
2025-03-09 07:42:55 -07:00
f3f1bfc890 chore: simplify rngService (#1073)
getRandomWeightedReward now takes any object with lowercase 'rarity', and the only alternative to it is the 'uc' variant which takes any object with uppercase 'Rarity'
usage of IRngResult is now also optional

Reviewed-on: OpenWF/SpaceNinjaServer#1073
Co-authored-by: Sainan <sainan@calamity.inc>
Co-committed-by: Sainan <sainan@calamity.inc>
2025-03-03 12:48:46 -08:00
a5c45bb646 fix: consume a slot when item is crafted instead of bought via plat (#1029)
Reviewed-on: OpenWF/SpaceNinjaServer#1029
2025-02-26 15:41:07 -08:00
f672f05db9 fix: handle bundles being given to addItems (#1005)
This is needed for the Hex noggles email attachment

Reviewed-on: OpenWF/SpaceNinjaServer#1005
Co-authored-by: Sainan <sainan@calamity.inc>
Co-committed-by: Sainan <sainan@calamity.inc>
2025-02-25 04:38:17 -08:00
c29bf6aab5 chore: use PE+ for boosters (#1009)
Reviewed-on: OpenWF/SpaceNinjaServer#1009
2025-02-24 21:46:30 -08:00
bc07978846 chore: use creditBundles map from PE+ (#1008)
Reviewed-on: OpenWF/SpaceNinjaServer#1008
2025-02-24 21:46:20 -08:00
e1af6bd598 feat: implement CreditBundle purchases (#989)
This fixes purchasing one of the few bundles that include these credit bundles. Ex: Essential Damage mod bundles

Reviewed-on: OpenWF/SpaceNinjaServer#989
Co-authored-by: nrbdev <itzneonrb@gmail.com>
Co-committed-by: nrbdev <itzneonrb@gmail.com>
2025-02-23 03:53:56 -08:00
5649c5bf86
chore: switch purchaseService to take inventory document (#848) 2025-01-24 15:24:29 +01:00
efcaaa56c4
fix: tell client when it has used a free favor (#850) 2025-01-24 14:18:05 +01:00
734ca84557
fix: purchasing flawed mods from iron wake (#802) 2025-01-18 11:11:52 +01:00
79299db475
fix: not consuming ItemPrices from server-side vendor (#798) 2025-01-18 07:06:07 +01:00
9fd2fb6ba2
fix: track FreeFavorsEarned & FreeFavorsUsed (#792) 2025-01-17 14:43:51 +01:00
0ace5eb446
fix: identify correct offer for when teshin has 2 kuva offers up (#797) 2025-01-17 14:43:09 +01:00
fb8e19403e
feat: cycle 1999 calendar season every week (#756) 2025-01-11 07:18:42 +01:00
172db2337f
feat: infiniteEndo & infiniteRegalAya (#741) 2025-01-06 05:36:39 +01:00
27ddada3f3
fix: quantity ignored when purchasing slots (#704) 2025-01-05 02:43:06 +01:00
74ed098692
chore: do addItem on inventory document, not accountId (#699) 2025-01-04 00:25:09 +01:00
16d98636e9
chore: updateCurrency with existing inventory instance (#674) 2024-12-31 01:41:29 +01:00
0e1ee0c669
fix: purchase of multiple booster packs (#671) 2024-12-31 01:39:45 +01:00
d31f9f8d24
chore: fix most explicit-function-return-type warnings (#656) 2024-12-29 21:47:18 +01:00
4d1bbff99e
fix: booster packs not showing what items were gained after purchase (#635) 2024-12-25 23:34:14 +01:00
735f0b885d
feat: syndicate initiation (#638) 2024-12-25 23:33:29 +01:00
68335aa91b
fix: handle purchaseQuantity for resources (#609) 2024-12-23 04:05:06 +01:00
412de02680
feat: subtract standing for syndicate purchases (#608) 2024-12-22 23:31:30 +01:00
c421c7021c
feat: implement aya costs for varzia offers (#606) 2024-12-22 23:28:59 +01:00
d1d221bb58
feat: apply QuantityMultiplier for server-side vendor offers (#605) 2024-12-22 23:28:44 +01:00
ce94c78cc1 fix: scale MiscItem prices by quantity 2024-12-22 22:14:08 +01:00
9fd6ed3b21
fix: purchasing an arcane pack does not consume vosfor (#601) 2024-12-22 20:35:08 +01:00
c7c9d901b1
feat: handle acquisition of booster packs (#452) 2024-07-03 12:30:32 +02:00
d3004b19dd
improve: handle purchase quantity of gear items (#389)
Co-authored-by: Sainan <Sainan@users.noreply.github.com>
2024-06-24 12:31:29 +02:00
8aae246b48
fix: purchasing multiples of a bundle (#379) 2024-06-23 14:58:35 +02:00
5597db6761
fix: not being able to buy incarnon bundles (#337) 2024-06-20 16:35:24 +02:00
77c2761a97
fix: not being able to purchase boosters (#316) 2024-06-17 16:38:26 +02:00
5036d6dbae
feat: purchasing of bundles (#301) 2024-06-15 22:12:57 +02:00
b08fff1906
feat: rushing recipes, refactor: addItem (#248) 2024-06-15 02:50:43 +02:00
b9c7daf4f6
feat: implement purchasing of blueprints & gear items (#208) 2024-05-09 16:04:31 +02:00
971d149122
improve: purchases (#161)
Co-authored-by: Sainan <Sainan@users.noreply.github.com>
2024-05-09 01:27:32 +02:00
8b50189fcf
Foundry 1 - Preliminary (#127) 2024-01-25 14:49:45 +01:00
25914bfa18
Improved logging using winston (#111) 2024-01-06 16:26:58 +01:00
1ab411e3cc
Purchase Loadouts and Inventory Slots (#105) 2023-12-28 16:24:52 +01:00
dd99e8782c
saveLoadout and misc. (#99)
Co-authored-by: Matej Voboril <tobiah@pm.me>
2023-12-14 17:34:15 +01:00
Nicat
db0aaffb44
Mission rewards save (#46) 2023-08-31 12:29:09 +02:00
5838cddbdb
fix ignoring static/data files, except .bin (#21) 2023-06-14 16:25:35 +02:00