bitburner-src/test/jest/__snapshots__/FullSave.test.ts.snap
2024-06-04 18:43:29 -07:00

707 lines
17 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Check Save File Continuity CompaniesSave continuity 1`] = `
{
"Noodle Bar": {
"favor": 100,
"playerReputation": 100000,
},
}
`;
exports[`Check Save File Continuity FactionsSave continuity 1`] = `
{
"Bladeburners": {
"discovery": "known",
"playerReputation": 4000,
},
"CyberSec": {
"discovery": "known",
"favor": 20,
"playerReputation": 1000000,
},
"Slum Snakes": {
"discovery": "known",
},
}
`;
exports[`Check Save File Continuity GoSave continuity 1`] = `
{
"currentGame": {
"ai": "Netburners",
"board": [
".......",
".......",
".......",
".......",
".......",
".......",
".......",
],
"cheatCount": 0,
"passCount": 0,
"previousPlayer": "White",
},
"previousGame": null,
"stats": {},
"storedCycles": 0,
}
`;
exports[`Check Save File Continuity PlayerSave continuity 1`] = `
{
"ctor": "PlayerObject",
"data": {
"achievements": [],
"augmentations": [],
"bitNodeN": 1,
"bladeburner": {
"ctor": "Bladeburner",
"data": {
"action": null,
"actionTimeCurrent": 0,
"actionTimeOverflow": 0,
"actionTimeToComplete": 0,
"automateActionHigh": null,
"automateActionLow": null,
"automateEnabled": false,
"automateThreshHigh": 0,
"automateThreshLow": 0,
"cities": {
"Aevum": {
"ctor": "City",
"data": {
"chaos": 0,
"comms": 42,
"name": "Aevum",
"pop": 1101351351,
"popEst": 803688823.7027026,
},
},
"Chongqing": {
"ctor": "City",
"data": {
"chaos": 0,
"comms": 54,
"name": "Chongqing",
"pop": 1141891892,
"popEst": 925858290.8108107,
},
},
"Ishima": {
"ctor": "City",
"data": {
"chaos": 0,
"comms": 89,
"name": "Ishima",
"pop": 1263513514,
"popEst": 1331811541.7837837,
},
},
"New Tokyo": {
"ctor": "City",
"data": {
"chaos": 0,
"comms": 78,
"name": "New Tokyo",
"pop": 1222972973,
"popEst": 1189919649.4054055,
},
},
"Sector-12": {
"ctor": "City",
"data": {
"chaos": 0,
"comms": 66,
"name": "Sector-12",
"pop": 1182432432,
"popEst": 1054601898.8108108,
},
},
"Volhaven": {
"ctor": "City",
"data": {
"chaos": 0,
"comms": 101,
"name": "Volhaven",
"pop": 1304054054,
"popEst": 1480277574.8108108,
},
},
},
"city": "Sector-12",
"consoleHistory": [],
"consoleLogs": [
"Bladeburner Console",
"Type 'help' to see console commands",
],
"contracts": {
"Bounty Hunter": {
"ctor": "Contract",
"data": {
"autoLevel": true,
"count": 117,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
},
},
"Retirement": {
"ctor": "Contract",
"data": {
"autoLevel": true,
"count": 125,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
},
},
"Tracking": {
"ctor": "Contract",
"data": {
"autoLevel": true,
"count": 115,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
},
},
},
"logging": {
"blackops": true,
"contracts": true,
"events": true,
"general": true,
"ops": true,
},
"maxRank": 2000,
"maxStamina": 1,
"moneyLost": 0,
"numBlackOpsComplete": 0,
"numHosp": 0,
"operations": {
"Assassination": {
"ctor": "Operation",
"data": {
"autoLevel": true,
"count": 23,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
"teamCount": 0,
},
},
"Investigation": {
"ctor": "Operation",
"data": {
"autoLevel": true,
"count": 88,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
"teamCount": 0,
},
},
"Raid": {
"ctor": "Operation",
"data": {
"autoLevel": true,
"count": 7,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
"teamCount": 0,
},
},
"Stealth Retirement Operation": {
"ctor": "Operation",
"data": {
"autoLevel": true,
"count": 15,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
"teamCount": 0,
},
},
"Sting Operation": {
"ctor": "Operation",
"data": {
"autoLevel": true,
"count": 148,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
"teamCount": 0,
},
},
"Undercover Operation": {
"ctor": "Operation",
"data": {
"autoLevel": true,
"count": 94,
"failures": 0,
"level": 1,
"maxLevel": 1,
"successes": 0,
"teamCount": 0,
},
},
},
"randomEventCounter": 303,
"rank": 2000,
"skillPoints": 666,
"skills": {},
"sleeveSize": 0,
"stamina": 1,
"staminaBonus": 0,
"storedCycles": 0,
"teamLost": 0,
"teamSize": 0,
"totalSkillPoints": 666,
},
},
"city": "Sector-12",
"corporation": {
"ctor": "Corporation",
"data": {
"cycleValuation": 0,
"dividendRate": 0,
"dividendTax": 0.15,
"divisions": {
"ctor": "JSONMap",
"data": [],
},
"expenses": 0,
"fundingRound": 0,
"funds": 150000000000,
"investorShares": 0,
"issueNewSharesCooldown": 0,
"issuedShares": 0,
"maxDivisions": 20,
"name": "Test Corp",
"numShares": 1000000000,
"previousTotalAssets": 150000000000,
"public": false,
"revenue": 0,
"seedFunded": false,
"sharePrice": 0,
"shareSaleCooldown": 0,
"shareSalesUntilPriceUpdate": 1000000,
"state": {
"ctor": "CorporationState",
"data": {
"state": 0,
},
},
"storedCycles": 0,
"totalAssets": 150000000000,
"totalShares": 1000000000,
"unlocks": {
"ctor": "JSONSet",
"data": [],
},
"upgrades": {
"ABC SalesBots": {
"level": 0,
"value": 1,
},
"DreamSense": {
"level": 0,
"value": 0,
},
"FocusWires": {
"level": 0,
"value": 1,
},
"Neural Accelerators": {
"level": 0,
"value": 1,
},
"Nuoptimal Nootropic Injector Implants": {
"level": 0,
"value": 1,
},
"Project Insight": {
"level": 0,
"value": 1,
},
"Smart Factories": {
"level": 0,
"value": 1,
},
"Smart Storage": {
"level": 0,
"value": 1,
},
"Speech Processor Implants": {
"level": 0,
"value": 1,
},
"Wilson Analytics": {
"level": 0,
"value": 1,
},
},
"valuation": 0,
"valuationsList": [
0,
],
},
},
"currentServer": "home",
"currentWork": null,
"entropy": 0,
"exp": {
"agility": 0,
"charisma": 0,
"defense": 0,
"dexterity": 0,
"hacking": 0,
"intelligence": 0,
"strength": 0,
},
"exploits": [],
"factionInvitations": [],
"factionRumors": {
"ctor": "JSONSet",
"data": [],
},
"factions": [
"Slum Snakes",
"CyberSec",
"Bladeburners",
],
"focus": false,
"gang": {
"ctor": "Gang",
"data": {
"facName": "Slum Snakes",
"isHackingGang": false,
"members": [],
"moneyGainRate": 0,
"notifyMemberDeath": true,
"respect": 1,
"respectGainRate": 0,
"storedCycles": 0,
"storedTerritoryAndPowerCycles": 0,
"territoryClashChance": 0,
"territoryWarfareEngaged": false,
"wanted": 1,
"wantedGainRate": 0,
},
},
"hacknetNodes": [],
"has4SData": false,
"has4SDataTixApi": false,
"hasTixApiAccess": false,
"hasWseAccount": false,
"hashManager": {
"ctor": "HashManager",
"data": {
"capacity": 0,
"hashes": 0,
"upgrades": {
"Company Favor": 0,
"Exchange for Bladeburner Rank": 0,
"Exchange for Bladeburner SP": 0,
"Exchange for Corporation Research": 0,
"Generate Coding Contract": 0,
"Improve Gym Training": 0,
"Improve Studying": 0,
"Increase Maximum Money": 0,
"Reduce Minimum Security": 0,
"Sell for Corporation Funds": 0,
"Sell for Money": 0,
},
},
},
"hp": {
"current": 10,
"max": 10,
},
"identifier": "Overwritten identifier",
"jobs": {},
"karma": 0,
"lastAugReset": 1687611703623,
"lastNodeReset": 1687611703623,
"lastSave": 0,
"lastUpdate": 1687611703623,
"location": "Travel Agency",
"money": 1151,
"moneySourceA": {
"ctor": "MoneySourceTracker",
"data": {
"augmentations": 0,
"bladeburner": 0,
"casino": 0,
"class": 0,
"codingcontract": 0,
"corporation": 0,
"crime": 0,
"gang": 0,
"gang_expenses": 0,
"hacking": 0,
"hacknet": 0,
"hacknet_expenses": 0,
"hospitalization": 0,
"infiltration": 0,
"other": 0,
"servers": 0,
"sleeves": 0,
"stock": 0,
"total": 0,
"work": 0,
},
},
"moneySourceB": {
"ctor": "MoneySourceTracker",
"data": {
"augmentations": 0,
"bladeburner": 0,
"casino": 0,
"class": 0,
"codingcontract": 0,
"corporation": 0,
"crime": 0,
"gang": 0,
"gang_expenses": 0,
"hacking": 0,
"hacknet": 0,
"hacknet_expenses": 0,
"hospitalization": 0,
"infiltration": 0,
"other": 0,
"servers": 0,
"sleeves": 0,
"stock": 0,
"total": 0,
"work": 0,
},
},
"mults": {
"agility": 1,
"agility_exp": 1,
"bladeburner_analysis": 1,
"bladeburner_max_stamina": 1,
"bladeburner_stamina_gain": 1,
"bladeburner_success_chance": 1,
"charisma": 1,
"charisma_exp": 1,
"company_rep": 1,
"crime_money": 1,
"crime_success": 1,
"defense": 1,
"defense_exp": 1,
"dexterity": 1,
"dexterity_exp": 1,
"faction_rep": 1,
"hacking": 1,
"hacking_chance": 1,
"hacking_exp": 1,
"hacking_grow": 1,
"hacking_money": 1,
"hacking_speed": 1,
"hacknet_node_core_cost": 1,
"hacknet_node_level_cost": 1,
"hacknet_node_money": 1,
"hacknet_node_purchase_cost": 1,
"hacknet_node_ram_cost": 1,
"strength": 1,
"strength_exp": 1,
"work_money": 1,
},
"numPeopleKilled": 0,
"playtimeSinceLastAug": 0,
"playtimeSinceLastBitnode": 0,
"purchasedServers": [],
"queuedAugmentations": [],
"scriptProdSinceLastAug": 0,
"skills": {
"agility": 1,
"charisma": 1,
"defense": 1,
"dexterity": 1,
"hacking": 1,
"intelligence": 0,
"strength": 1,
},
"sleeves": [
{
"ctor": "Sleeve",
"data": {
"augmentations": [
{
"level": 1,
"name": "Bionic Arms",
},
],
"city": "Sector-12",
"currentWork": {
"ctor": "SleeveCrimeWork",
"data": {
"crimeType": "Homicide",
"cyclesWorked": 0,
"tasksCompleted": 0,
"type": "CRIME",
},
},
"exp": {
"agility": 0,
"charisma": 0,
"defense": 0,
"dexterity": 0,
"hacking": 0,
"intelligence": 0,
"strength": 0,
},
"hp": {
"current": 10,
"max": 10,
},
"memory": 1,
"mults": {
"agility": 1,
"agility_exp": 1,
"bladeburner_analysis": 1,
"bladeburner_max_stamina": 1,
"bladeburner_stamina_gain": 1,
"bladeburner_success_chance": 1,
"charisma": 1,
"charisma_exp": 1,
"company_rep": 1,
"crime_money": 1,
"crime_success": 1,
"defense": 1,
"defense_exp": 1,
"dexterity": 1.3,
"dexterity_exp": 1,
"faction_rep": 1,
"hacking": 1,
"hacking_chance": 1,
"hacking_exp": 1,
"hacking_grow": 1,
"hacking_money": 1,
"hacking_speed": 1,
"hacknet_node_core_cost": 1,
"hacknet_node_level_cost": 1,
"hacknet_node_money": 1,
"hacknet_node_purchase_cost": 1,
"hacknet_node_ram_cost": 1,
"strength": 1.3,
"strength_exp": 1,
"work_money": 1,
},
"queuedAugmentations": [],
"shock": 100,
"skills": {
"agility": 1,
"charisma": 1,
"defense": 1,
"dexterity": 1,
"hacking": 1,
"intelligence": 0,
"strength": 1,
},
"storedCycles": 0,
"sync": 1,
},
},
{
"ctor": "Sleeve",
"data": {
"augmentations": [],
"city": "Sector-12",
"currentWork": {
"ctor": "SleeveRecoveryWork",
"data": {
"type": "RECOVERY",
},
},
"exp": {
"agility": 0,
"charisma": 0,
"defense": 0,
"dexterity": 0,
"hacking": 0,
"intelligence": 0,
"strength": 0,
},
"hp": {
"current": 10,
"max": 10,
},
"memory": 1,
"mults": {
"agility": 1,
"agility_exp": 1,
"bladeburner_analysis": 1,
"bladeburner_max_stamina": 1,
"bladeburner_stamina_gain": 1,
"bladeburner_success_chance": 1,
"charisma": 1,
"charisma_exp": 1,
"company_rep": 1,
"crime_money": 1,
"crime_success": 1,
"defense": 1,
"defense_exp": 1,
"dexterity": 1,
"dexterity_exp": 1,
"faction_rep": 1,
"hacking": 1,
"hacking_chance": 1,
"hacking_exp": 1,
"hacking_grow": 1,
"hacking_money": 1,
"hacking_speed": 1,
"hacknet_node_core_cost": 1,
"hacknet_node_level_cost": 1,
"hacknet_node_money": 1,
"hacknet_node_purchase_cost": 1,
"hacknet_node_ram_cost": 1,
"strength": 1,
"strength_exp": 1,
"work_money": 1,
},
"queuedAugmentations": [],
"shock": 100,
"skills": {
"agility": 1,
"charisma": 1,
"defense": 1,
"dexterity": 1,
"hacking": 1,
"intelligence": 0,
"strength": 1,
},
"storedCycles": 0,
"sync": 1,
},
},
],
"sleevesFromCovenant": 1,
"sourceFiles": {
"ctor": "JSONMap",
"data": [
[
10,
1,
],
],
},
"terminalCommandHistory": [],
"totalPlaytime": 0,
},
}
`;