mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-25 23:18:51 -07:00
[econ] coach needs more money
This commit is contained in:
@@ -186,7 +186,7 @@ export const UNLISTED_SKIN_RARITY = 50
|
||||
* What a GOLD skin costs — any skin whose name carries `(Gold)`, thirteen of them, all from the
|
||||
* capture. A prestige price, and the same for a subscriber: no discount, no sale.
|
||||
*/
|
||||
export const GOLD_SKIN_PRICE = 100_000
|
||||
export const GOLD_SKIN_PRICE = 1_000_000
|
||||
|
||||
/** Whether a listing is a gold skin — a skin whose name says `(Gold)`. */
|
||||
export const isGoldSkin = (listing: StoreListing): boolean =>
|
||||
|
||||
@@ -2846,7 +2846,7 @@ describe('econ endpoints', () => {
|
||||
expect(skinsJson.every((sk) => soldGuids.includes(sk.ModificationGuid))).toBe(true)
|
||||
expect(soldSkins.every((i) => i.GiftDrop.ThumbnailImageName === '')).toBe(true)
|
||||
expect(soldSkins.length).toBeGreaterThan(unlisted.length)
|
||||
// A "(Gold)" skin — thirteen, all from the capture — is a prestige item: 100,000 tokens,
|
||||
// A "(Gold)" skin — thirteen, all from the capture — is a prestige item: 1,000,000 tokens,
|
||||
// the same for a subscriber, no sale. A "(Gold)" AVATAR item is priced as the dump has it.
|
||||
const goldSkins = soldSkins.filter((i) => i.GiftDrop.FriendlyName.includes('(Gold)'))
|
||||
expect(goldSkins.length).toBeGreaterThan(10)
|
||||
|
||||
@@ -193541,14 +193541,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -193594,14 +193594,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -193647,14 +193647,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -193912,14 +193912,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -195078,14 +195078,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -198205,14 +198205,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -198629,14 +198629,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -199583,14 +199583,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -200272,14 +200272,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -200855,14 +200855,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -201650,14 +201650,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -201756,14 +201756,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
@@ -202074,14 +202074,14 @@
|
||||
"Prices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
"SubscriberPrices": [
|
||||
{
|
||||
"CurrencyType": 2,
|
||||
"Price": 100000,
|
||||
"Price": 1000000,
|
||||
"StorefrontSaleData": null
|
||||
}
|
||||
],
|
||||
|
||||
@@ -57,7 +57,7 @@ import type { StoreListing } from '../../../../apps/econ/src/catalog-load'
|
||||
* thumbnails every skin listing — the game's own 99 and the appended ones alike — and every
|
||||
* consumable listing has its `ThumbnailImageName` set to `""`. The dump names a
|
||||
* PNG per item that this server does not have.
|
||||
* gold a skin whose name carries `(Gold)` sells at `GOLD_SKIN_PRICE`, 100,000 tokens,
|
||||
* gold a skin whose name carries `(Gold)` sells at `GOLD_SKIN_PRICE`, 1,000,000 tokens,
|
||||
* subscriber price the same: no discount, no sale.
|
||||
* context a drop whose `Context` is `NO_CONTEXT` (-1) gets 0. The dump carries -1 on
|
||||
* exactly 46 listings — the 22 permanent hair dyes and the 24 dice skins, the
|
||||
|
||||
Reference in New Issue
Block a user