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.
11 lines
326 B
GDScript
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()
|