It’s actually loosely based on the town in Netflix castlevania and Dubrovnik. Also there’s a good amount of old medieval cities and towns that have walls around them in the real world so don’t just assume things please.