openthebox/content/data/boxes.json
Samuel Bouchet 04894a4906 Initial project setup: Open The Box CLI game
- .NET 10 console app with Spectre.Console and Loreline integration
- Black Box Sim architecture (simulation separated from presentation)
- Progressive CLI rendering (9 phases from basic to full layout)
- 25+ box definitions with weighted loot tables
- 100+ item definitions (meta, cosmetics, materials, adventure tokens)
- 9 Loreline adventures (Space, Medieval, Pirate, etc.)
- Bilingual content (EN/FR)
- Save/load system
- Game Design Document
2026-03-10 18:24:01 +01:00

558 lines
20 KiB
JSON

[
{
"id": "box_starter",
"nameKey": "box.starter",
"descriptionKey": "box.starter.desc",
"rarity": "Common",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": ["box_of_boxes"],
"rollCount": 0,
"entries": []
}
},
{
"id": "box_of_boxes",
"nameKey": "box.box_of_boxes",
"descriptionKey": "box.box_of_boxes.desc",
"rarity": "Common",
"isAutoOpen": true,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 1,
"entries": [
{"itemDefinitionId": "box_not_great", "weight": 10},
{"itemDefinitionId": "box_ok_tier", "weight": 5},
{"itemDefinitionId": "box_cool", "weight": 1},
{"itemDefinitionId": "box_epic", "weight": 1},
{"itemDefinitionId": "box_legendhair", "weight": 1},
{"itemDefinitionId": "box_legendary", "weight": 1},
{"itemDefinitionId": "box_adventure", "weight": 1},
{"itemDefinitionId": "box_style", "weight": 1},
{"itemDefinitionId": "box_improvement", "weight": 1, "condition": {"type": "ResourceAbove", "targetId": "any", "value": 0}},
{"itemDefinitionId": "box_supply", "weight": 1, "condition": {"type": "ResourceAbove", "targetId": "any", "value": 0}}
]
}
},
{
"id": "box_not_great",
"nameKey": "box.not_great",
"descriptionKey": "box.not_great.desc",
"rarity": "Common",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 1,
"entries": [
{"itemDefinitionId": "material_wood_raw", "weight": 5},
{"itemDefinitionId": "material_bronze_raw", "weight": 3},
{"itemDefinitionId": "food_ration", "weight": 4},
{"itemDefinitionId": "cosmetic_hair_short", "weight": 2},
{"itemDefinitionId": "cosmetic_eyes_brown", "weight": 2},
{"itemDefinitionId": "cosmetic_body_tshirt", "weight": 2},
{"itemDefinitionId": "cosmetic_legs_short", "weight": 2},
{"itemDefinitionId": "cosmetic_arms_regular", "weight": 2},
{"itemDefinitionId": "tint_light", "weight": 1},
{"itemDefinitionId": "tint_dark", "weight": 1}
]
}
},
{
"id": "box_ok_tier",
"nameKey": "box.ok_tier",
"descriptionKey": "box.ok_tier.desc",
"rarity": "Uncommon",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "material_iron_raw", "weight": 4},
{"itemDefinitionId": "material_bronze_ingot", "weight": 3},
{"itemDefinitionId": "health_potion_small", "weight": 4},
{"itemDefinitionId": "mana_crystal_small", "weight": 3},
{"itemDefinitionId": "gold_pouch", "weight": 3},
{"itemDefinitionId": "cosmetic_hair_long", "weight": 2},
{"itemDefinitionId": "cosmetic_eyes_blue", "weight": 2},
{"itemDefinitionId": "cosmetic_eyes_green", "weight": 2},
{"itemDefinitionId": "tint_cyan", "weight": 2},
{"itemDefinitionId": "tint_orange", "weight": 2},
{"itemDefinitionId": "box_meta", "weight": 1}
]
}
},
{
"id": "box_cool",
"nameKey": "box.cool",
"descriptionKey": "box.cool.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 3,
"entries": [
{"itemDefinitionId": "material_steel_raw", "weight": 3},
{"itemDefinitionId": "material_iron_ingot", "weight": 3},
{"itemDefinitionId": "health_potion_medium", "weight": 3},
{"itemDefinitionId": "mana_crystal_medium", "weight": 3},
{"itemDefinitionId": "stamina_drink", "weight": 3},
{"itemDefinitionId": "cosmetic_hair_ponytail", "weight": 2},
{"itemDefinitionId": "cosmetic_eyes_sunglasses", "weight": 2},
{"itemDefinitionId": "cosmetic_body_sexy", "weight": 2},
{"itemDefinitionId": "tint_purple", "weight": 2},
{"itemDefinitionId": "box_meta", "weight": 2},
{"itemDefinitionId": "lore_1", "weight": 1},
{"itemDefinitionId": "lore_2", "weight": 1}
]
}
},
{
"id": "box_epic",
"nameKey": "box.epic",
"descriptionKey": "box.epic.desc",
"rarity": "Epic",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": ["box_meta"],
"rollCount": 3,
"entries": [
{"itemDefinitionId": "material_titanium_raw", "weight": 2},
{"itemDefinitionId": "material_steel_ingot", "weight": 3},
{"itemDefinitionId": "health_potion_large", "weight": 2},
{"itemDefinitionId": "blood_vial", "weight": 2},
{"itemDefinitionId": "energy_cell", "weight": 2},
{"itemDefinitionId": "oxygen_tank", "weight": 2},
{"itemDefinitionId": "cosmetic_hair_cyberpunk", "weight": 2},
{"itemDefinitionId": "cosmetic_eyes_pilotglasses", "weight": 2},
{"itemDefinitionId": "cosmetic_body_suit", "weight": 2},
{"itemDefinitionId": "cosmetic_legs_pegleg", "weight": 2},
{"itemDefinitionId": "tint_neon", "weight": 2},
{"itemDefinitionId": "tint_silver", "weight": 2},
{"itemDefinitionId": "lore_3", "weight": 1},
{"itemDefinitionId": "lore_4", "weight": 1},
{"itemDefinitionId": "lore_5", "weight": 1},
{"itemDefinitionId": "box_adventure", "weight": 1}
]
}
},
{
"id": "box_legendhair",
"nameKey": "box.legendhair",
"descriptionKey": "box.legendhair.desc",
"rarity": "Legendary",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": ["cosmetic_hair_stardust"],
"rollCount": 1,
"entries": [
{"itemDefinitionId": "cosmetic_hair_fire", "weight": 3},
{"itemDefinitionId": "cosmetic_hair_cyberpunk", "weight": 3},
{"itemDefinitionId": "tint_rainbow", "weight": 2},
{"itemDefinitionId": "tint_gold", "weight": 2}
]
}
},
{
"id": "box_legendary",
"nameKey": "box.legendary",
"descriptionKey": "box.legendary.desc",
"rarity": "Legendary",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 4,
"entries": [
{"itemDefinitionId": "material_diamond_raw", "weight": 3},
{"itemDefinitionId": "material_titanium_ingot", "weight": 3},
{"itemDefinitionId": "material_carbonfiber_raw", "weight": 3},
{"itemDefinitionId": "cosmetic_body_armored", "weight": 2},
{"itemDefinitionId": "cosmetic_body_robotic", "weight": 1},
{"itemDefinitionId": "cosmetic_eyes_cybernetic", "weight": 2},
{"itemDefinitionId": "cosmetic_legs_rocketboots", "weight": 2},
{"itemDefinitionId": "cosmetic_legs_tentacles", "weight": 1},
{"itemDefinitionId": "cosmetic_arms_mechanical", "weight": 2},
{"itemDefinitionId": "cosmetic_arms_wings", "weight": 1},
{"itemDefinitionId": "tint_void", "weight": 1},
{"itemDefinitionId": "tint_rainbow", "weight": 1},
{"itemDefinitionId": "lore_6", "weight": 1},
{"itemDefinitionId": "lore_10", "weight": 1},
{"itemDefinitionId": "box_meta", "weight": 2},
{"itemDefinitionId": "box_black", "weight": 1}
]
}
},
{
"id": "box_meta",
"nameKey": "box.meta",
"descriptionKey": "box.meta.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 1,
"entries": [
{"itemDefinitionId": "meta_colors", "weight": 5},
{"itemDefinitionId": "meta_extended_colors", "weight": 3},
{"itemDefinitionId": "meta_arrows", "weight": 4},
{"itemDefinitionId": "meta_animation", "weight": 4},
{"itemDefinitionId": "meta_inventory", "weight": 3},
{"itemDefinitionId": "meta_resources", "weight": 3},
{"itemDefinitionId": "meta_stats", "weight": 3},
{"itemDefinitionId": "meta_portrait", "weight": 2},
{"itemDefinitionId": "meta_chat", "weight": 2},
{"itemDefinitionId": "meta_layout", "weight": 1},
{"itemDefinitionId": "meta_shortcuts", "weight": 3},
{"itemDefinitionId": "meta_crafting", "weight": 2},
{"itemDefinitionId": "meta_resource_health", "weight": 2},
{"itemDefinitionId": "meta_resource_mana", "weight": 2},
{"itemDefinitionId": "meta_resource_food", "weight": 2},
{"itemDefinitionId": "meta_resource_gold", "weight": 2},
{"itemDefinitionId": "meta_resource_stamina", "weight": 1},
{"itemDefinitionId": "meta_resource_blood", "weight": 1},
{"itemDefinitionId": "meta_resource_oxygen", "weight": 1},
{"itemDefinitionId": "meta_resource_energy", "weight": 1},
{"itemDefinitionId": "meta_stat_strength", "weight": 1},
{"itemDefinitionId": "meta_stat_intelligence", "weight": 1},
{"itemDefinitionId": "meta_stat_luck", "weight": 1},
{"itemDefinitionId": "meta_stat_charisma", "weight": 1},
{"itemDefinitionId": "meta_font_consolas", "weight": 2},
{"itemDefinitionId": "meta_font_firetruc", "weight": 1},
{"itemDefinitionId": "meta_font_jetbrains", "weight": 2},
{"itemDefinitionId": "box_meta", "weight": 3}
]
}
},
{
"id": "box_style",
"nameKey": "box.style",
"descriptionKey": "box.style.desc",
"rarity": "Uncommon",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "cosmetic_hair_short", "weight": 3},
{"itemDefinitionId": "cosmetic_hair_long", "weight": 3},
{"itemDefinitionId": "cosmetic_hair_ponytail", "weight": 2},
{"itemDefinitionId": "cosmetic_hair_braided", "weight": 2},
{"itemDefinitionId": "cosmetic_eyes_blue", "weight": 3},
{"itemDefinitionId": "cosmetic_eyes_green", "weight": 3},
{"itemDefinitionId": "cosmetic_eyes_redorange", "weight": 2},
{"itemDefinitionId": "cosmetic_eyes_sunglasses", "weight": 2},
{"itemDefinitionId": "cosmetic_body_tshirt", "weight": 3},
{"itemDefinitionId": "cosmetic_body_sexy", "weight": 2},
{"itemDefinitionId": "cosmetic_legs_short", "weight": 3},
{"itemDefinitionId": "cosmetic_legs_panty", "weight": 2},
{"itemDefinitionId": "cosmetic_arms_regular", "weight": 3},
{"itemDefinitionId": "tint_cyan", "weight": 2},
{"itemDefinitionId": "tint_orange", "weight": 2},
{"itemDefinitionId": "tint_purple", "weight": 2},
{"itemDefinitionId": "tint_warmpink", "weight": 2},
{"itemDefinitionId": "cosmetic_gender_error", "weight": 1}
]
}
},
{
"id": "box_adventure",
"nameKey": "box.adventure",
"descriptionKey": "box.adventure.desc",
"rarity": "Rare",
"isAutoOpen": true,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 1,
"entries": [
{"itemDefinitionId": "box_adventure_space", "weight": 1},
{"itemDefinitionId": "box_adventure_medieval", "weight": 1},
{"itemDefinitionId": "box_adventure_pirate", "weight": 1},
{"itemDefinitionId": "box_adventure_contemporary", "weight": 1},
{"itemDefinitionId": "box_adventure_sentimental", "weight": 1},
{"itemDefinitionId": "box_adventure_prehistoric", "weight": 1},
{"itemDefinitionId": "box_adventure_cosmic", "weight": 1},
{"itemDefinitionId": "box_adventure_microscopic", "weight": 1},
{"itemDefinitionId": "box_adventure_darkfantasy", "weight": 1}
]
}
},
{
"id": "box_adventure_space",
"nameKey": "box.adventure.space",
"descriptionKey": "box.adventure.space.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "space_badge", "weight": 3},
{"itemDefinitionId": "space_phone", "weight": 3},
{"itemDefinitionId": "space_coordinates", "weight": 3},
{"itemDefinitionId": "space_key", "weight": 2},
{"itemDefinitionId": "space_map", "weight": 2},
{"itemDefinitionId": "oxygen_tank", "weight": 3},
{"itemDefinitionId": "energy_cell", "weight": 2}
]
}
},
{
"id": "box_adventure_medieval",
"nameKey": "box.adventure.medieval",
"descriptionKey": "box.adventure.medieval.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "medieval_crest", "weight": 3},
{"itemDefinitionId": "medieval_scroll", "weight": 3},
{"itemDefinitionId": "medieval_seal", "weight": 2},
{"itemDefinitionId": "medieval_key", "weight": 3},
{"itemDefinitionId": "mysterious_key", "weight": 2},
{"itemDefinitionId": "health_potion_medium", "weight": 3}
]
}
},
{
"id": "box_adventure_pirate",
"nameKey": "box.adventure.pirate",
"descriptionKey": "box.adventure.pirate.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": ["pirate_map"],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "pirate_compass", "weight": 3},
{"itemDefinitionId": "pirate_feather", "weight": 4},
{"itemDefinitionId": "pirate_rum", "weight": 3},
{"itemDefinitionId": "pirate_key", "weight": 2},
{"itemDefinitionId": "mysterious_key", "weight": 2},
{"itemDefinitionId": "gold_pouch", "weight": 4}
]
}
},
{
"id": "box_adventure_contemporary",
"nameKey": "box.adventure.contemporary",
"descriptionKey": "box.adventure.contemporary.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "contemporary_phone", "weight": 3},
{"itemDefinitionId": "contemporary_card", "weight": 3},
{"itemDefinitionId": "contemporary_usb", "weight": 2},
{"itemDefinitionId": "contemporary_key", "weight": 3},
{"itemDefinitionId": "contemporary_badge", "weight": 3},
{"itemDefinitionId": "mysterious_key", "weight": 2}
]
}
},
{
"id": "box_adventure_sentimental",
"nameKey": "box.adventure.sentimental",
"descriptionKey": "box.adventure.sentimental.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "sentimental_letter", "weight": 3},
{"itemDefinitionId": "sentimental_flower", "weight": 4},
{"itemDefinitionId": "sentimental_teddy", "weight": 3},
{"itemDefinitionId": "sentimental_phone", "weight": 3},
{"itemDefinitionId": "health_potion_small", "weight": 2}
]
}
},
{
"id": "box_adventure_prehistoric",
"nameKey": "box.adventure.prehistoric",
"descriptionKey": "box.adventure.prehistoric.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "prehistoric_tooth", "weight": 4},
{"itemDefinitionId": "prehistoric_amber", "weight": 3},
{"itemDefinitionId": "prehistoric_fossil", "weight": 2},
{"itemDefinitionId": "material_wood_raw", "weight": 4},
{"itemDefinitionId": "food_ration", "weight": 4}
]
}
},
{
"id": "box_adventure_cosmic",
"nameKey": "box.adventure.cosmic",
"descriptionKey": "box.adventure.cosmic.desc",
"rarity": "Epic",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "cosmic_shard", "weight": 4},
{"itemDefinitionId": "cosmic_crystal", "weight": 3},
{"itemDefinitionId": "cosmic_core", "weight": 1},
{"itemDefinitionId": "energy_cell", "weight": 3},
{"itemDefinitionId": "tint_void", "weight": 1}
]
}
},
{
"id": "box_adventure_microscopic",
"nameKey": "box.adventure.microscopic",
"descriptionKey": "box.adventure.microscopic.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "microscopic_bacteria", "weight": 4},
{"itemDefinitionId": "microscopic_dna", "weight": 3},
{"itemDefinitionId": "microscopic_prion", "weight": 2},
{"itemDefinitionId": "mana_crystal_small", "weight": 3},
{"itemDefinitionId": "health_potion_small", "weight": 3}
]
}
},
{
"id": "box_adventure_darkfantasy",
"nameKey": "box.adventure.darkfantasy",
"descriptionKey": "box.adventure.darkfantasy.desc",
"rarity": "Epic",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "darkfantasy_ring", "weight": 3},
{"itemDefinitionId": "darkfantasy_grimoire", "weight": 2},
{"itemDefinitionId": "darkfantasy_gem", "weight": 1},
{"itemDefinitionId": "darkfantasy_key", "weight": 3},
{"itemDefinitionId": "mysterious_key", "weight": 2},
{"itemDefinitionId": "blood_vial", "weight": 3}
]
}
},
{
"id": "box_improvement",
"nameKey": "box.improvement",
"descriptionKey": "box.improvement.desc",
"rarity": "Uncommon",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 1,
"entries": [
{"itemDefinitionId": "resource_max_health", "weight": 3},
{"itemDefinitionId": "resource_max_mana", "weight": 3},
{"itemDefinitionId": "resource_max_food", "weight": 3},
{"itemDefinitionId": "resource_max_stamina", "weight": 3},
{"itemDefinitionId": "resource_max_gold", "weight": 2},
{"itemDefinitionId": "resource_max_blood", "weight": 1},
{"itemDefinitionId": "resource_max_oxygen", "weight": 1},
{"itemDefinitionId": "resource_max_energy", "weight": 1}
]
}
},
{
"id": "box_supply",
"nameKey": "box.supply",
"descriptionKey": "box.supply.desc",
"rarity": "Common",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "health_potion_small", "weight": 5},
{"itemDefinitionId": "mana_crystal_small", "weight": 4},
{"itemDefinitionId": "food_ration", "weight": 5},
{"itemDefinitionId": "stamina_drink", "weight": 4},
{"itemDefinitionId": "gold_pouch", "weight": 4},
{"itemDefinitionId": "blood_vial", "weight": 1},
{"itemDefinitionId": "oxygen_tank", "weight": 1},
{"itemDefinitionId": "energy_cell", "weight": 1}
]
}
},
{
"id": "box_black",
"nameKey": "box.black",
"descriptionKey": "box.black.desc",
"rarity": "Mythic",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 3,
"entries": [
{"itemDefinitionId": "mysterious_key", "weight": 3},
{"itemDefinitionId": "lore_10", "weight": 2},
{"itemDefinitionId": "cosmetic_gender_error", "weight": 1},
{"itemDefinitionId": "tint_void", "weight": 2},
{"itemDefinitionId": "material_diamond_raw", "weight": 2},
{"itemDefinitionId": "material_diamond_gem", "weight": 1},
{"itemDefinitionId": "cosmic_core", "weight": 1},
{"itemDefinitionId": "darkfantasy_gem", "weight": 1},
{"itemDefinitionId": "box_meta", "weight": 2},
{"itemDefinitionId": "box_cookie", "weight": 2}
]
}
},
{
"id": "box_story",
"nameKey": "box.story",
"descriptionKey": "box.story.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": [],
"rollCount": 2,
"entries": [
{"itemDefinitionId": "lore_1", "weight": 2},
{"itemDefinitionId": "lore_2", "weight": 2},
{"itemDefinitionId": "lore_3", "weight": 2},
{"itemDefinitionId": "lore_4", "weight": 2},
{"itemDefinitionId": "lore_5", "weight": 2},
{"itemDefinitionId": "lore_6", "weight": 1},
{"itemDefinitionId": "lore_7", "weight": 2},
{"itemDefinitionId": "lore_8", "weight": 2},
{"itemDefinitionId": "lore_9", "weight": 2},
{"itemDefinitionId": "lore_10", "weight": 1}
]
}
},
{
"id": "box_music",
"nameKey": "box.music",
"descriptionKey": "box.music.desc",
"rarity": "Rare",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": ["music_melody"],
"rollCount": 0,
"entries": []
}
},
{
"id": "box_cookie",
"nameKey": "box.cookie",
"descriptionKey": "box.cookie.desc",
"rarity": "Uncommon",
"isAutoOpen": false,
"lootTable": {
"guaranteedRolls": ["cookie_fortune"],
"rollCount": 0,
"entries": []
}
}
]