Results 1 to 6 of 6

Thread: excludes keyword for maps?

  1. #1
    Senior Member
    Join Date
    Dec 2008
    Posts
    276

    Default excludes keyword for maps?

    I recently got a bunch of errors in cc_ascend's cc_util.ash about parentheses mismatch, but it looks like mafia doesn't like the "excludes" keyword all over that file. Making a small test:

    Code:
    if($monsters[Animated Mahogany Nightstand] excludes $monster[goth giant]){ print('glorp'); }
    
    Expected ), found excludes (test.ash, line 1)
    Is the excludes keyword a real thing? Did it get removed recently?
    Last edited by fxer; 05-23-2019 at 07:12 AM.

  2. #2
    Developer
    Join Date
    Jan 2007
    Posts
    95

    Default

    The only full-word operators in ASH are contains and remove, and the last change to ash operators was when "≈" was added 4 years ago (a feature of which I just learned!)

  3. #3
    Developer
    Join Date
    Apr 2010
    Posts
    5,134

    Default

    The word "excludes" looks to me like it appears three times in the Mafia source. All three are in comments in libraries.

    So doesn't look like an ash thing.

  4. #4
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,857

    Default

    This happened in r1434 of cc_ascend (End of season updates for Twilight), on 25-5-2019. Prehaps asocasno has a custom build of mafia with that operator implemented?
    https://sourceforge.net/p/ccascend/c...0cf4d0b5a:1433

  5. #5
    Developer
    Join Date
    Apr 2010
    Posts
    5,134

    Default

    But that's two days into the future!

  6. #6
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,857

    Default

    2019-05-15 02:32:33 is the correct not-copied-by-misreading timestamp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •