CITIES

FILE NAME: “data_cities.json”

FILE HEADER: “cities”

FIELD

FORMAT

DESCRIPTION

pack

Text (string)

This determines which ‘campaign’ it belongs to. Ex. NA = North America . Cities will be unlocked depending on what other cities in the same campaign have been unlocked previously.

id

Text (string)

This is a unique identifier for other scripts to use as reference. In the case of cities, it will determine the position in the map. So, for instance, if you’d like to make ‘Hamburg’, make the id “berlin”, as it is the closest city in the map (this will prevent Berlin from being loaded as a city though and will instead load Hamburg).

title

Localized Text (string)

Key of city’s name in localization file.

description

Localized Text (string)

Brief description shown when selecting city. Recommended to explain the challenge in the skill tree or the vibe of this level.

countryID

Text (string)

This will determine the country the city is in. This country must exist in any of the active packs’ “data_countries.json” file. Use the “id” field in the country.

maxStars

Number (int)

Value should ideally be 20, 30, 40 or 50.

These are the maximum amount of stars before actors will begin leaving to other cities. Also determines when the level is completed.

favFormat

Text (string)

Value should be either “film”, “tv” or “theater”.

When generating directors and actors, there is a higher change that they will be specialized in this format.

favGenre

Text (string)

Value should be “comedy”, “romance”, “drama”, “thriller”, “horror” or “action”.

When generating directors and actors, there is a higher change that they will be specialized in this genre.

studioFormats

Group (list of strings)

This will determine what formats will be available in this city. You may add from 1 to 3 different formats.

difficulty

Number (int)

Value should be 10 to 100

This is a subjective description of the difficulty of this level. It will only be displayed when selecting a new city and has no effect on the game.

unlocks

Number (int)

Determines when the city will be unlocked and ready to play. Each “campaign” should have cities in unlock level 1, 2 and 3. Player must complete at least one city in the previous level to unlock this city.

skillTree

Text (string)

This will determine which skill tree will be used in this city. This skill tree must exist in any of the active packs’ “data_skillTrees.json” file.