Files
Battle-for-Tismo/data/city_description.gd
T
adrien c49899a2fd Initial commit
Server-authoritative Godot 4.6 strategy game.

Includes the headless WebSocket game server, the browser client, and
Nix packaging (server and web-export derivations plus a NixOS module)
for deployment.
2026-09-15 14:48:34 +02:00

11 lines
326 B
GDScript

class_name CityDescription
extends Resource
## Authored data for a single city. Generated cities build one of these at
## runtime; named capitals are stored as .tres files under res://data/cities.
@export var name : String
@export var population : int = 0
@export var improvements : PackedStringArray = PackedStringArray()