Skip to content

Instantly share code, notes, and snippets.

@potch
Forked from anonymous/readme.txt
Last active August 29, 2015 14:27
Show Gist options
  • Select an option

  • Save potch/51702875a96e66d6fb96 to your computer and use it in GitHub Desktop.

Select an option

Save potch/51702875a96e66d6fb96 to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Aug 3, 2015.
    1 change: 1 addition & 0 deletions readme.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Play this game by pasting the script in http://www.puzzlescript.net/editor.html
    322 changes: 322 additions & 0 deletions script.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,322 @@
    title Herding Cats
    author anna anthropy
    homepage www.puzzlescript.net
    run_rules_on_level_start

    ========
    OBJECTS
    ========

    Background
    DarkGreen Green
    01000
    10010
    00100
    01001
    00010

    Player
    Brown Pink White
    .111.
    .0011
    .0011
    .222.
    02220

    SleepingCatBlack
    Black Yellow
    .....
    0.0..
    101..
    00000
    .0000

    AwakeCatBlack
    Black Yellow
    0.0..
    101.0
    00000
    .0000
    .0..0

    SleepingCatTuxedo
    Black LightGreen White
    .....
    0.0..
    101..
    02002
    .0200

    AwakeCatTuxedo
    Black LightGreen White
    0.0..
    101.2
    02000
    .0220
    .2..2

    SleepingCatTortoiseShell
    Brown LightBlue LightBrown
    .....
    2.2..
    101..
    02202
    .0020

    AwakeCatTortoiseShell
    Brown LightBlue LightBrown
    2.2..
    121.0
    02202
    .0020
    .2..0

    SleepingCatGrey
    Grey LightGreen White
    .....
    0.0..
    101..
    00000
    .0220

    AwakeCatGrey
    Grey LightGreen White
    0.0..
    101.0
    00000
    .0220
    .0..0

    Wall
    Red DarkBrown
    01000
    01000
    11111
    00010
    11111

    Cat
    LightGrey
    ..0..
    0...0
    ..0..
    00000
    .000.

    Empty
    Black


    =======
    LEGEND
    =======

    . = Background
    # = Wall
    P = Player
    m = Cat
    X = Empty

    SleepingCat = SleepingCatBlack or SleepingCatTuxedo or SleepingCatTortoiseShell or SleepingCatGrey
    AwakeCat = AwakeCatBlack or AwakeCatTuxedo or AwakeCatTortoiseShell or AwakeCatGrey

    WakerUpper = Player or AwakeCat

    =======
    SOUNDS
    =======

    Sfx0 9963503
    Sfx1 15006104
    Endlevel 72533508

    ================
    COLLISIONLAYERS
    ================

    Background
    Player, Cat, SleepingCatBlack, AwakeCatBlack, SleepingCatTuxedo, AwakeCatTuxedo, SleepingCatTortoiseShell, AwakeCatTortoiseShell, SleepingCatGrey, AwakeCatGrey, Wall, Empty

    ======
    RULES
    ======

    [ Cat ] -> [ random SleepingCat ]

    startloop

    late [ WakerUpper | SleepingCatBlack ] -> [ WakerUpper | AwakeCatBlack ] Sfx0
    late [ WakerUpper | SleepingCatTuxedo ] -> [ WakerUpper | AwakeCatTuxedo ] Sfx0
    late [ WakerUpper | SleepingCatTortoiseShell ] -> [ WakerUpper | AwakeCatTortoiseShell ] Sfx0
    late [ WakerUpper | SleepingCatGrey ] -> [ WakerUpper | AwakeCatGrey ] Sfx0

    endloop


    [ > Player ] [ AwakeCat ] -> [ > Player ] [ > AwakeCat ]

    [ > WakerUpper | Wall ] -> cancel


    ==============
    WINCONDITIONS
    ==============

    No SleepingCat

    =======
    LEVELS
    =======

    Message Oh, a kitty!

    #####
    #.#.#
    #.m.#
    #...#
    #...#
    #...#
    #.p.#
    #####

    Message Hi, Kitty.

    xxx########
    ####.m....#
    #mp......m#
    ####.m....#
    xxx########

    Message Oh, hi to you too!

    xx#######xx
    x##..m..##x
    ##m.....m##
    #.........#
    #.........#
    #m...p...m#
    #.........#
    #.........#
    ##m.....m##
    x##..m..##x
    xx#######xx

    Message Alright, I'm going to do it! I'm going to make friends with every cat!

    ###########
    #m.......m#
    ####...####
    xxx#.p.#xxx
    ####...####
    #m.......m#
    ###########

    Message I might need the cats to help me, though!

    xxx#######x
    xxx#.....#x
    xxx#.....#x
    xxx#.m...#x
    #######..##
    #.........#
    #p..m.....#
    #.......#.#
    ######...m#
    xxxxx######

    Message It could be hard getting around with such a big group!

    xxxxx######
    xxxxx#...m#
    xxxxx#....#
    ######....#
    #m...#...m#
    #....#..###
    #....#..#xx
    #m...#..#xx
    ###.....#xx
    xx#..p..#xx
    xx#######xx

    xxx##########x
    xxx#.......m#x
    xxx#.....####x
    xxx#.....#xxxx
    xxx#...#######
    ####...#..m..#
    #...........p#
    #......#..m..#
    #......#######
    #..m...#xxxxxx
    ########xxxxxx

    xxxx######
    #####...m#
    #......###
    #m.#.p.#xx
    #......#xx
    ##.m.###xx
    x#...#xxxx
    x#####xxxx

    #############
    #..m..#.....#
    #.....#.....#
    #m.......p..#
    #...........#
    #.....#.....#
    ###..###..###
    #.....#.....#
    #...........#
    #m.........m#
    #.....#.....#
    #..m..#..m..#
    #############

    xxxxxxxxx#########
    xxxxxxxxx#m......#
    xxxxxxxxx#.......#
    xxxxxxxxx#.......#
    xx########......m#
    xx#m....m###...###
    xx#......#m.....m#
    xx#......#.......#
    xx#m.....#.......#
    #######..#...p...#
    #m.......#.......#
    #................#
    #...............m#
    #m.......#########
    ##########xxxxxxxx

    Message So many kitties!

    #############
    #...........#
    #...........#
    #...mmmmm...#
    #...m.......#
    #...m.mmm...#
    #...m.#.p...#
    #...mmmmm...#
    #...........#
    #...........#
    #######.....#
    xxxxxx#.....#
    xxxxxx#.....#
    xxxxxx#..m..#
    xxxxxx#######

    Message You guys rule.

    #########
    #mmmmmmm#
    #mm...mm#
    #m.....m#
    #m..p..m#
    #m.....m#
    #mm...mm#
    #mmmmmmm#
    #########

    Message You win!