🔬
Urbek City Builder: Modding Doc
  • Urbek City Builder: Modding
  • Getting Started
    • Creating Your First Mod
    • How to use JSON
    • Make a 3D Model
    • Mod Folder Structure
  • Guides
    • Adding Constructions
    • Adding Models
    • Replace Models
  • In depth knowledge
    • Structure Model Format
    • Structure Attributes
      • Appearance
      • Availability & Unblock
      • Identification
      • Placement
      • Paths
      • Policy
      • Resources
      • Sound
      • Upgrades & Abandon
    • In-Game Data Names
      • Biomes
      • Building Category
      • Building Names
        • Map 0 - Temperate
        • Map 1 - Desert
        • Map 2 - Archipel
        • Map 3 - Forest
        • Map 4 - Ruins
      • Global Variables
      • Local Variables
      • Resources
Powered by GitBook
On this page
  • Abandon
  • Fast Abandon - fastAbandon
  • Upgrade
  • Updates - updates
  • Updates From - updatesFrom
  • Visual Updates - visualUpdates
  1. In depth knowledge
  2. Structure Attributes

Upgrades & Abandon

PreviousSoundNextIn-Game Data Names

Last updated 2 years ago

Abandon

You can also change the abandon model, so checkout the appearance's page

Fast Abandon - fastAbandon

The building will downgrade or be abandoned faster.

Attribute Type: Boolean (default: False).

Upgrade

Updates - updates

List of building it can be updated into.

The order specified will determine the priority of upgrade, starting from the first element, then the second... up to the last element of the list.

Attribute Type: List of Building Code Names.

The building will be updatable into either one of these 3 buildings, starting from caminoPueblo, then caminoIndustrial and then caminoLindo as priority.

"updates": [
                "caminoPueblo",
                "caminoIndustrial",
                "caminoLindo"
            ]

Examples of updates of the building protoCabanha, ciudad2 will be the first priority of upgrade when cabanha will be the last.

"updates": [
                "ciudad2", 
                "ciudad",
                "lota",
                "lotaCarbon",
                "pescadores",
                "fosforo",
                "pueblo",
                "puebloPobre",
                "callampa",
                "cabanha"
            ]

Updates From - updatesFrom

Add this building as update of another building.

Attribute Type: List of Update From

The format of Update From is: original,mode,reference.

Update From

Original: Building you are wishing to add this to as update.

Mode:

  • After: Will be placed as update priority after reference.

  • Before: Will be placed as update priority before reference.

  • First: Will be placed as first update priority.

Reference: Existing update of the original, unneeded if you use as First as mode.

Examples:

  • Upgrade after city2 for the building pobla:

UpgradesFrom: [“pobla,after,city2”]
  • Upgrade before pechonhos for the building pobla:

UpgradesFrom: [“pobla,before,pechonhos”]
  • Upgrade as first priority for the building ciudad:

UpgradesFrom: [“poblaPobre,first”]

Upgrade after city2 for the building pobla:

"UpgradesFrom": [
    "pobla,after,city2"
]

Will be added as upgrade to pobla, poblaPobre,mixto8 according to the conditions specified in each.

"UpgradesFrom": [
    "pobla,after,city2",
    "poblaPobre,first",
    "mixto8,before,mixto12"
]

Visual Updates - visualUpdates

Updates visible to players (will hide others updates).

Attribute Type: List of Building Code Name.

"visualUpdates": [
                "lota",
                "lotaCarbon",
                "pescadores",
                "fosforo",
                "villa2",
                "villa",
                "pueblo",
                "puebloPobre",
                "callampa",
                "cabanha"
            ]
Appearance