Starter for a hub · zones
Two zoned districts and a monitoring tower. Empty as a design: connect a hub and each host moves into the district for its labels.
The CityScript
This is all there is to it. Change it in the editor and the city redraws.
%% InfraCity sample: edit this text and the city redraws.
%% Hosts move in by label; new ones in a zoned district get a building automatically.
city 56x44 theme=architect
district prod "Production" 4,4..30,24
zone host=label:env=prod type=factory flow=row
district staging "Staging" 34,4..52,24
zone host=label:env=staging type=warehouse flow=row
building ops tower at 33,28 "Monitoring" host=monitoring
gate main at 0,30 port=443 "Public gate"
road main -> ops