feat: New features (research, invest, gambling, new game+, trophies)

This commit is contained in:
gauvainboiche
2026-10-08 14:03:00 +02:00
parent 1caa4d92b9
commit fc0d5e3ba4
56 changed files with 4332 additions and 249 deletions
+25
View File
@@ -0,0 +1,25 @@
[
{"id":"a_prod_1","condition":{"stat":"lifetimeProduced","min":1000},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_prod_2","condition":{"stat":"lifetimeProduced","min":1000000},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_prod_3","condition":{"stat":"lifetimeProduced","min":1000000000},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_prod_4","condition":{"stat":"lifetimeProduced","min":1000000000000},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_prod_5","condition":{"stat":"lifetimeProduced","min":1000000000000000},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_gen_1","condition":{"stat":"generatorsOwned","min":10},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_gen_2","condition":{"stat":"generatorsOwned","min":100},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_gen_3","condition":{"stat":"generatorsOwned","min":500},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_upg_1","condition":{"stat":"upgradesOwned","min":10},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_upg_2","condition":{"stat":"upgradesOwned","min":30},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_inv_1","condition":{"stat":"investProfit","min":1000},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_inv_2","condition":{"stat":"investProfit","min":1000000},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_inv_3","condition":{"stat":"investProfit","min":1000000000},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_gam_1","condition":{"stat":"gambleWins","min":5},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_gam_2","condition":{"stat":"gambleWins","min":50},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_gam_3","condition":{"stat":"chips","min":25},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_con_1","condition":{"stat":"contractsDone","min":1},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_con_2","condition":{"stat":"contractsDone","min":10},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_res_1","condition":{"stat":"researchOwned","min":1},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_res_2","condition":{"stat":"researchOwned","min":15},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_leg_1","condition":{"stat":"prestiges","min":1},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_leg_2","condition":{"stat":"prestiges","min":5},"effect":{"type":"global_mult","value":1.02}},
{"id":"a_evt_1","condition":{"stat":"eventsClaimed","min":5},"effect":{"type":"global_mult","value":1.02}}
]
+70
View File
@@ -0,0 +1,70 @@
{
"intervalSeconds": 60,
"fee": 0.005,
"minRatio": 0.05,
"maxRatio": 20,
"tiers": {
"low": {
"swing": 0.05,
"dividend": 0.0015,
"reversion": 0.04
},
"mid": {
"swing": 0.15,
"dividend": 0.004,
"reversion": 0.025
},
"high": {
"swing": 0.5,
"dividend": 0.009,
"reversion": 0.012
}
},
"societies": [
{
"id": "inv_low_1",
"tier": "low",
"basePrice": 100
},
{
"id": "inv_low_2",
"tier": "low",
"basePrice": 45
},
{
"id": "inv_low_3",
"tier": "low",
"basePrice": 230
},
{
"id": "inv_mid_1",
"tier": "mid",
"basePrice": 80
},
{
"id": "inv_mid_2",
"tier": "mid",
"basePrice": 150
},
{
"id": "inv_mid_3",
"tier": "mid",
"basePrice": 30
},
{
"id": "inv_high_1",
"tier": "high",
"basePrice": 60
},
{
"id": "inv_high_2",
"tier": "high",
"basePrice": 12
},
{
"id": "inv_high_3",
"tier": "high",
"basePrice": 400
}
]
}
+8
View File
@@ -0,0 +1,8 @@
[
{"id":"lg_prod","baseCost":1,"costGrowth":1.6,"maxLevel":15,"effect":{"type":"global_mult","value":1.3}},
{"id":"lg_demand","baseCost":1,"costGrowth":1.6,"maxLevel":15,"effect":{"type":"demand_mult","value":1.3}},
{"id":"lg_cost","baseCost":2,"costGrowth":1.7,"maxLevel":10,"effect":{"type":"generator_cost_mult","value":0.92}},
{"id":"lg_start","baseCost":1,"costGrowth":1.5,"maxLevel":10,"effect":{"type":"start_funds","value":50000}},
{"id":"lg_offline","baseCost":2,"costGrowth":2,"maxLevel":5,"effect":{"type":"offline_add","value":0.1}},
{"id":"lg_rp","baseCost":2,"costGrowth":1.6,"maxLevel":10,"effect":{"type":"rp_mult","value":1.25}}
]
+17
View File
@@ -0,0 +1,17 @@
[
{"id":"r_prod_1","branch":"prod","cost":20,"requires":[],"effect":{"type":"global_mult","value":1.5}},
{"id":"r_prod_2","branch":"prod","cost":120,"requires":["r_prod_1"],"effect":{"type":"global_mult","value":2}},
{"id":"r_prod_3","branch":"prod","cost":600,"requires":["r_prod_2"],"effect":{"type":"global_mult","value":3}},
{"id":"r_mkt_1","branch":"mkt","cost":25,"requires":[],"effect":{"type":"demand_mult","value":2}},
{"id":"r_mkt_2","branch":"mkt","cost":150,"requires":["r_mkt_1"],"effect":{"type":"demand_mult","value":3}},
{"id":"r_mkt_3","branch":"mkt","cost":400,"requires":["r_mkt_2"],"effect":{"type":"value_mult","value":2}},
{"id":"r_log_1","branch":"log","cost":30,"requires":[],"effect":{"type":"material_efficiency","value":1.5}},
{"id":"r_log_2","branch":"log","cost":200,"requires":["r_log_1"],"effect":{"type":"batch_discount","value":0.7}},
{"id":"r_log_3","branch":"log","cost":500,"requires":["r_log_2"],"effect":{"type":"generator_cost_mult","value":0.8}},
{"id":"r_fin_1","branch":"fin","cost":40,"requires":[],"effect":{"type":"dividend_mult","value":1.5}},
{"id":"r_fin_2","branch":"fin","cost":160,"requires":["r_fin_1"],"effect":{"type":"reliability_add","value":0.05}},
{"id":"r_fin_3","branch":"fin","cost":350,"requires":["r_fin_2"],"effect":{"type":"contract_mult","value":2}},
{"id":"r_ins_1","branch":"ins","cost":50,"requires":[],"effect":{"type":"rp_mult","value":1.5}},
{"id":"r_ins_2","branch":"ins","cost":250,"requires":["r_ins_1"],"effect":{"type":"offline_add","value":0.25}},
{"id":"r_ins_3","branch":"ins","cost":800,"requires":["r_ins_2","r_mkt_2"],"effect":{"type":"price_advisor"}}
]
+125 -6
View File
@@ -1,7 +1,16 @@
{
"start": { "units": 0, "funds": 0, "material": 100, "price": 0.25 },
"click": { "yield": 1 },
"unit": { "materialPerUnit": 1 },
"start": {
"units": 0,
"funds": 0,
"material": 100,
"price": 0.25
},
"click": {
"yield": 1
},
"unit": {
"materialPerUnit": 1
},
"market": {
"referencePrice": 0.25,
"baseDemand": 2.5,
@@ -25,7 +34,117 @@
"updateEverySeconds": 10,
"autoBuyBelowFactor": 1.2
},
"marketing": { "baseCost": 40, "costGrowth": 1.45, "demandPerLevel": 1.4 },
"offline": { "maxSeconds": 28800, "efficiency": 0.5, "minSeconds": 10 },
"autosaveSeconds": 10
"marketing": {
"baseCost": 40,
"costGrowth": 1.45,
"demandPerLevel": 1.4
},
"offline": {
"maxSeconds": 28800,
"efficiency": 0.5,
"minSeconds": 10
},
"autosaveSeconds": 10,
"gamble": {
"baseChipCost": 200000,
"chipCostGrowth": 1.3,
"maxChips": 1000000,
"chipBonusScale": 0.15,
"baseWin": 0.4,
"jackpotChance": 0.02,
"jackpotMultiplier": 4,
"crashChance": 0.03,
"crashMultiplier": 2,
"maxWin": 0.9,
"cooldownSeconds": 1.5,
"reliability": {
"baseCost": 500000,
"costGrowth": 8,
"perLevel": 0.04,
"maxLevel": 6
}
},
"research": {
"labBaseCost": 2000000,
"labCostGrowth": 3,
"labMax": 30,
"rpPerLabPerSecond": 0.01
},
"legacy": {
"threshold": 1000000000,
"passivePerPoint": 0.05
},
"contracts": {
"offerEverySeconds": 60,
"maxOffers": 3,
"templates": [
{
"id": "sprint",
"seconds": 60,
"targetFactor": 1.1,
"rewardFactor": 1
},
{
"id": "steady",
"seconds": 180,
"targetFactor": 1.3,
"rewardFactor": 2
},
{
"id": "marathon",
"seconds": 420,
"targetFactor": 1.6,
"rewardFactor": 4.5
}
],
"rewards": [
"funds",
"research",
"chips",
"boost"
],
"boostMultiplier": 1.5,
"researchPerFactor": 3,
"chipsPerFactor": 1
},
"events": {
"minSeconds": 240,
"maxSeconds": 480,
"claimSeconds": 25,
"windfallIncomeSeconds": 120,
"types": [
{
"id": "surge",
"weight": 3,
"buff": {
"type": "demand_mult",
"value": 2,
"seconds": 60
}
},
{
"id": "rush",
"weight": 3,
"buff": {
"type": "global_mult",
"value": 2,
"seconds": 45
}
},
{
"id": "windfall",
"weight": 2
},
{
"id": "crash",
"weight": 1,
"auto": true,
"buff": {
"type": "material_price_mult",
"value": 3,
"seconds": 60
}
}
]
}
}
+9
View File
@@ -0,0 +1,9 @@
[
{"id":"main"},
{"id":"contracts","unlock":{"lifetimeProduced":20000}},
{"id":"invest","unlock":{"lifetimeProduced":100000}},
{"id":"research","unlock":{"lifetimeProduced":500000}},
{"id":"gamble","unlock":{"lifetimeProduced":5000000}},
{"id":"legacy","unlock":{"lifetimeProduced":500000000}},
{"id":"achievements"}
]