feat(buildings): ✨ Add detailed building configurations with health, cost, and effect bonuses/penalties
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
fdf778435d
commit
8fef9506c8
8 changed files with 220 additions and 0 deletions
28
public/games/age-of-dwarves/data/buildings/barracks.json
Normal file
28
public/games/age-of-dwarves/data/buildings/barracks.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"id": "barracks",
|
||||
"name": "Barracks",
|
||||
"description": "A training hall where recruits are drilled into soldiers. New units start with bonus experience.",
|
||||
"placement": "city",
|
||||
"category": "military",
|
||||
"school": null,
|
||||
"cost": 50,
|
||||
"upkeep": 1,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 1,
|
||||
"effects": [
|
||||
{ "type": "production", "value": 1 },
|
||||
{ "type": "free_xp", "value": 15 }
|
||||
],
|
||||
"sprite": "sprites/buildings/barracks.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["military"]
|
||||
}
|
||||
}
|
||||
]
|
||||
27
public/games/age-of-dwarves/data/buildings/colosseum.json
Normal file
27
public/games/age-of-dwarves/data/buildings/colosseum.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[
|
||||
{
|
||||
"id": "colosseum",
|
||||
"name": "Colosseum",
|
||||
"description": "A grand arena where gladiatorial contests and public spectacles entertain the masses. A major source of civic happiness.",
|
||||
"placement": "city",
|
||||
"category": "culture",
|
||||
"school": null,
|
||||
"cost": 100,
|
||||
"upkeep": 2,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 2,
|
||||
"effects": [
|
||||
{ "type": "happiness", "value": 4 }
|
||||
],
|
||||
"sprite": "sprites/buildings/colosseum.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["culture"]
|
||||
}
|
||||
}
|
||||
]
|
||||
27
public/games/age-of-dwarves/data/buildings/forge.json
Normal file
27
public/games/age-of-dwarves/data/buildings/forge.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[
|
||||
{
|
||||
"id": "forge",
|
||||
"name": "Forge",
|
||||
"description": "A roaring furnace where raw ore is shaped into weapons, tools, and armor. The heart of any productive settlement.",
|
||||
"placement": "city",
|
||||
"category": "production",
|
||||
"school": null,
|
||||
"cost": 60,
|
||||
"upkeep": 1,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 1,
|
||||
"effects": [
|
||||
{ "type": "production", "value": 2 }
|
||||
],
|
||||
"sprite": "sprites/buildings/forge.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["production"]
|
||||
}
|
||||
}
|
||||
]
|
||||
27
public/games/age-of-dwarves/data/buildings/library.json
Normal file
27
public/games/age-of-dwarves/data/buildings/library.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[
|
||||
{
|
||||
"id": "library",
|
||||
"name": "Library",
|
||||
"description": "Shelves of stone tablets and vellum scrolls preserving accumulated knowledge. The foundation of scholarly pursuit.",
|
||||
"placement": "city",
|
||||
"category": "research",
|
||||
"school": null,
|
||||
"cost": 60,
|
||||
"upkeep": 1,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 1,
|
||||
"effects": [
|
||||
{ "type": "science", "value": 2 }
|
||||
],
|
||||
"sprite": "sprites/buildings/library.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["research"]
|
||||
}
|
||||
}
|
||||
]
|
||||
28
public/games/age-of-dwarves/data/buildings/marketplace.json
Normal file
28
public/games/age-of-dwarves/data/buildings/marketplace.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"id": "marketplace",
|
||||
"name": "Marketplace",
|
||||
"description": "An open trading square where merchants barter goods. Attracts caravans and increases tax revenue.",
|
||||
"placement": "city",
|
||||
"category": "infrastructure",
|
||||
"school": null,
|
||||
"cost": 80,
|
||||
"upkeep": 0,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 2,
|
||||
"effects": [
|
||||
{ "type": "gold", "value": 3 },
|
||||
{ "type": "gold_percent", "value": 0.25 }
|
||||
],
|
||||
"sprite": "sprites/buildings/marketplace.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["infrastructure"]
|
||||
}
|
||||
}
|
||||
]
|
||||
27
public/games/age-of-dwarves/data/buildings/monument.json
Normal file
27
public/games/age-of-dwarves/data/buildings/monument.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[
|
||||
{
|
||||
"id": "monument",
|
||||
"name": "Monument",
|
||||
"description": "A carved stone obelisk commemorating the founding of the settlement. Inspires civic pride and expands borders.",
|
||||
"placement": "city",
|
||||
"category": "culture",
|
||||
"school": null,
|
||||
"cost": 30,
|
||||
"upkeep": 0,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 1,
|
||||
"effects": [
|
||||
{ "type": "culture", "value": 2 }
|
||||
],
|
||||
"sprite": "sprites/buildings/monument.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["culture"]
|
||||
}
|
||||
}
|
||||
]
|
||||
28
public/games/age-of-dwarves/data/buildings/temple.json
Normal file
28
public/games/age-of-dwarves/data/buildings/temple.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"id": "temple",
|
||||
"name": "Temple",
|
||||
"description": "A sacred shrine carved into the living rock. Provides spiritual comfort and strengthens the morale of the populace.",
|
||||
"placement": "city",
|
||||
"category": "culture",
|
||||
"school": null,
|
||||
"cost": 80,
|
||||
"upkeep": 1,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 2,
|
||||
"effects": [
|
||||
{ "type": "happiness", "value": 2 },
|
||||
{ "type": "culture", "value": 1 }
|
||||
],
|
||||
"sprite": "sprites/buildings/temple.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["culture"]
|
||||
}
|
||||
}
|
||||
]
|
||||
28
public/games/age-of-dwarves/data/buildings/walls.json
Normal file
28
public/games/age-of-dwarves/data/buildings/walls.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"id": "walls",
|
||||
"name": "Walls",
|
||||
"description": "Thick stone fortifications encircling the city. Dramatically improves defensive capability against assault.",
|
||||
"placement": "city",
|
||||
"category": "defense",
|
||||
"school": null,
|
||||
"cost": 70,
|
||||
"upkeep": 0,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 1,
|
||||
"effects": [
|
||||
{ "type": "city_defense", "value": 5 },
|
||||
{ "type": "city_hp", "value": 50 }
|
||||
],
|
||||
"sprite": "sprites/buildings/walls.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["defense"]
|
||||
}
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Reference in a new issue