• 0

    posted a message on Requirement comparing Item Class

    Hey everyone,

    I'm trying to create a requirement where a certain class of item can unlock a certain ability.

    For example, items of class "Tools" will allow your worker to harvest resources. There are several items within the "Tools" class (eg. "Rusty Tools", "Solid Tools", etc.). I want the gather ability to be enabled when any of these items is carried.

    The only option I was able to find is to just do a requirement like:

    Or
      CountUnit(RustyTools,CompleteOnlyAtUnit)
      CountUnit(SolidTools,CompleteOnlyAtUnit)
    

    This works, however, as the list of items grows, so does the item tooltip. I would like the requirement to just say "Requires Tools" instead of a list of every possible tool.

    Any ideas?

    Thanks guys!

    Posted in: Data
  • To post a comment, please or register a new account.