code: def ResourceEnum(ctx):
      
      return Enum(
          ctx,
          food=0,
          wood=1,
          stone=2,
          gold=3,
          decay=12,
          fish=17,
          default=Pass # lots of resource types exist
      )
docs: Resource Type Enumeration.