1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[GS] Empire Limits on District Buildings (RESOLVED)

Discussion in 'Mod Creation Help' started by SocialMechanic, Oct 13, 2019.

  1. SocialMechanic

    SocialMechanic Chieftain

    Joined:
    May 11, 2019
    Messages:
    86
    I'm creating a building that can be constructed in the Campus. I've already done this and checked it out in-game and it works as intended. However, I want the building to be limited to only 4 total. As in, each player can only have 4 copies of this building... How do I do that? I've been looking in LeeS Modding PDF and I can't find anything like what I'm trying to do.
     
    Last edited: Oct 14, 2019
  2. Laurana Kanan

    Laurana Kanan Don’t underestimate who I am.

    Joined:
    Apr 10, 2014
    Messages:
    2,047
    Gender:
    Female
    Location:
    Near the Greatest Snow on Earth
    Set the MaxPlayerInstances column in the Buildings table to 4 for your created building.
     
  3. SocialMechanic

    SocialMechanic Chieftain

    Joined:
    May 11, 2019
    Messages:
    86
    Fantastic. It worked!! Thank you!!
     

Share This Page