Modding Help Determining factors for colonyTagCriteria

Discussion in 'Starbound Modding' started by AmazonValkyrie, Feb 5, 2016.

  1. AmazonValkyrie

    AmazonValkyrie Spaceman Spiff

    So I'm playing around with making various tenants, but I wasn't sure what precedence the numbers indicate in the "colonyTagCriteria" portion of the code.

    Example:

    Code:
        "colonyTagCriteria": {
            "light": 1,
            "door": 1,
            "avian": 6
        },
    I'm just wondering if anyone happens to know how the numbers factor in, or what they indicate? Any help, as always, is greatly appreciated.
     
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    If you look at the objects - you will notice some of them have tags now.
    So it requires the minimum of those objects for a tenant to move in.
     
    AmazonValkyrie likes this.
  3. AmazonValkyrie

    AmazonValkyrie Spaceman Spiff

    Thank you ^_^
     
  4. AmazonValkyrie

    AmazonValkyrie Spaceman Spiff

    Looking at the file for the "sea" tenant, I noticed this:

    Code:
      "colonyTagCriteria": {
        "light": 1,
        "door": 1,
        "sea": 24
      },
    However, there are only five items with the tag of "sea." I tested a few guard tenant files that were setup as follows:

    Code:
        "colonyTagCriteria": {
            "light": 1,
            "door": 1,
            "viera": 8,
            "combat": 8
        },
    The Viera guard was able to spawn with a door, light, a Viera stool, and only one item that bears the tag "combat," even though the file setup is "combat" : 8.

    Anyway, I'm lost now >_< I, too figured that the number listed referred to the quantity of items required that bare each tag listed.

    Again, any advice or help is always greatly appreciated.
     
  5. bk3k

    bk3k Oxygen Tank

    I'm not expert on this and could be wrong, but I think that refers to how many "tiles" worth of space the tagged furniture take up. So 2 x 4 object tagged for "combat" satisfies
    "combat": 8
    but a 2x3 would not until you add something that is 1x2 or bigger.

    Unless I'm saying something incorrect.
     
    315L, AmazonValkyrie and mastercookie like this.
  6. mastercookie

    mastercookie Existential Complex

    im pretty sure they mean anchors the objects take, like if u put 'debug' and then 'boxes' in console (with admin first), u'll see how many boxes each objects have.
    those are the numbers u need to meet the criteria

    basically what bk3k said
     
    315L and AmazonValkyrie like this.

Share This Page