feat(game-entities): ✨ Enhance stub JSON files with attributes, effects, and metadata for buildings and units to enable advanced gameplay logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
34b8fba2e6
commit
0937082f22
2 changed files with 53 additions and 16 deletions
|
|
@ -2,12 +2,26 @@
|
|||
{
|
||||
"id": "granary",
|
||||
"name": "Granary",
|
||||
"description": "Stores food surplus, reducing starvation risk",
|
||||
"sprite": "sprites/buildings/granary.png",
|
||||
"category": "infrastructure",
|
||||
"description": "A cool, stone-lined vault that stores food surplus. Reduces starvation risk and accelerates growth.",
|
||||
"placement": "city",
|
||||
"category": "food",
|
||||
"school": null,
|
||||
"cost": 40,
|
||||
"upkeep": 1,
|
||||
"tech_required": null,
|
||||
"race_required": null,
|
||||
"cost": 60,
|
||||
"upkeep": 1
|
||||
"wonder_type": null,
|
||||
"mana_generated": null,
|
||||
"tier": 1,
|
||||
"effects": [
|
||||
{ "type": "food", "value": 2 }
|
||||
],
|
||||
"sprite": "sprites/buildings/granary.png",
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "building",
|
||||
"detail_route": "/buildings/buildings",
|
||||
"tags": ["food"]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,17 +1,40 @@
|
|||
[
|
||||
{
|
||||
"id": "founder",
|
||||
"name": "Founder",
|
||||
"description": "Colonist who founds new cities",
|
||||
"gender": {
|
||||
"male": { "name": "Founder", "sprite": "sprites/units/founder_m.png" },
|
||||
"female": { "name": "Founder", "sprite": "sprites/units/founder_f.png" }
|
||||
},
|
||||
"combat_type": "civilian",
|
||||
"id": "settler",
|
||||
"name": "Settler",
|
||||
"description": "A colonist who founds new cities. Consumed upon founding.",
|
||||
"unit_type": "support",
|
||||
"school": null,
|
||||
"domain": "land",
|
||||
"keywords": [],
|
||||
"sprite": "sprites/units/founder.png",
|
||||
"race_required": null
|
||||
"attributes": ["light", "biological"],
|
||||
"attack_type": "none",
|
||||
"hp": 40,
|
||||
"attack": 0,
|
||||
"defense": 4,
|
||||
"ranged_attack": 0,
|
||||
"range": 0,
|
||||
"movement": 2,
|
||||
"vision": 2,
|
||||
"cost": 106,
|
||||
"tech_required": null,
|
||||
"upgradeable_from": null,
|
||||
"race_required": null,
|
||||
"faction": null,
|
||||
"can_found_city": true,
|
||||
"can_build_improvements": false,
|
||||
"flags": [],
|
||||
"mana_cost": null,
|
||||
"sprite": "sprites/units/settler.png",
|
||||
"gender": {
|
||||
"male": { "name": "Settler", "sprite": "sprites/units/settler_m.png" },
|
||||
"female": { "name": "Settler", "sprite": "sprites/units/settler_f.png" }
|
||||
},
|
||||
"maintenance": 5,
|
||||
"encyclopedia": {
|
||||
"category": "civilization",
|
||||
"entry_type": "unit",
|
||||
"detail_route": "/military/units",
|
||||
"tags": ["land", "support", "civilian"]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue