Skip to content

Instantly share code, notes, and snippets.

@pancelor
Created December 1, 2025 04:19
Show Gist options
  • Select an option

  • Save pancelor/5458f892281410053d21496862d4220f to your computer and use it in GitHub Desktop.

Select an option

Save pancelor/5458f892281410053d21496862d4220f to your computer and use it in GitHub Desktop.
Extremely Specific Basket & Pumpkin Harvest (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Extremely Specific Basket & Pumpkin Harvest
author pancelor, accidentlyanton
homepage www.puzzlescript.net
(flickscreen 20x12)
========
OBJECTS
========
Background
#4d4dff #4b4 #ff554d #ffdf4d #aa6f6c #3d3
11111
11111
11111
15151
55555
Player
#4d4dff #4dff90 #ff554d #ffdf4d #aa6f6c #666680
.444.
.333.
22222
.000.
.0.0.
Tomato
#4d4dff #4dff90 #ff554d #ff9f5d #aa6f6c #666680
.....
.111.
33122
32222
.222.
Pumpkin
#4d4dff #4dff90 #ffbf4d #ff9f5d #aa6f6c #666680
.111.
22132
23233
23333
.333.
Splat
#4d4dff #4dff90 #cf757d #ffdf4d #aa6f6c #666680
.....
..2..
2222.
.2222
.....
SplatP
#4d4dff #4dff90 #dfc57d #ffdf4d #aa6f6c #666680
.....
.2.2.
22222
.22..
.....
Basket
#4d4dff #4dff90 #ff554d #ffdf4d #aa6f6c #666680
.....
.444.
4...4
44444
.444.
Fence
#4d4dff #4dff90 #ff554d #ffdf4d #aa6f6c #666680 #cf757d
.....
.4.6.
44464
.4.6.
.4.6.
FireBG
#af050d
00000
00000
00000
00000
00000
WaterBG
#4d4dff
00000
00000
00000
00000
00000
EnergyBG
#ffbf4d
00000
00000
00000
00000
00000
LeafBG
#4dff90
00000
00000
00000
00000
00000
N0
#4b4
0...0
0.0.0
0.0.0
0.0.0
0...0
N1
#4b4
00.00
0..00
00.00
00.00
0...0
N2
#4b4
0...0
000.0
0...0
0.000
0...0
N3
#4b4
0...0
000.0
00..0
000.0
0...0
N4
#4b4
0.0.0
0.0.0
0...0
000.0
000.0
N5
#4b4
0...0
0.000
0...0
000.0
0...0
N6
#4b4
0...0
0.000
0...0
0.0.0
0...0
N7
#4b4
0...0
000.0
000.0
000.0
000.0
N8
#4b4
0...0
0.0.0
0...0
0.0.0
0...0
N9
#4b4
0...0
0.0.0
0...0
000.0
0...0
Counter
transparent
Increase
transparent
Subtract
transparent
Lonely
transparent
HWrap
#000
00000
.....
00000
.....
00000
VWrap
#000
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
=======
LEGEND
=======
. = Background
P = Player
T = Tomato
F = Fence
U = Pumpkin
B = Basket
0 = N0 and FireBG
1 = N0 and WaterBG
2 = N0 and LeafBG
3 = N0 and EnergyBG
BG = FireBG or WaterBG or LeafBG or EnergyBG
Pushable = Basket or Tomato or Pumpkin
Obstacle = Pushable or Fence or Player
Object = pushable or player
Digit = N0 or N1 or N2 or N3 or N4 or N5 or N6 or N7 or N8 or N9
NonZero = N1 or N2 or N3 or N4 or N5 or N6 or N7 or N8 or N9
=======
SOUNDS
=======
sfx0 67117309
sfx1 8344300
sfx2 85402100
sfx3 86702900
sfx4 18618903
sfx5 38497104
sfx6 9025501
sfx7 54794705
sfx8 23242904
sfx9 67652304
sfx10 59027504
(sfx11 26329104)
================
COLLISIONLAYERS
================
Background
HWrap
VWrap
BG
Digit
Splat
SplatP
Fence
Player, pushable
Counter
Increase
Subtract
Lonely
======
RULES
======
(mark first digit in counter)
right [digit | NO digit] -> [counter digit| ]
(player can push stuff)
[> Player | pushable] -> [> Player|> pushable]
horizontal [ Pushable HWrap | ... | > Player HWrap] -> [ > Pushable HWrap | ... | > Player HWrap]
vertical [ Pushable VWrap | ... | > Player VWrap] -> [ > Pushable VWrap | ... | > Player VWrap]
[> Tomato| Tomato] -> [ Splat| Splat] sfx5
[> Tomato| Pumpkin] -> [ Splat| Pumpkin] sfx5
[> Pumpkin| Pumpkin] -> [ SplatP| SplatP] sfx4
(put items into basket)
[> Tomato | Basket][counter FireBG] -> [ | Stationary Basket][Counter FireBG Increase] sfx1
[> Pumpkin | Basket][counter EnergyBG] -> [ | Stationary Basket][Counter EnergyBG Increase] sfx3
[> Tomato | Fence] -> [Splat | Fence] sfx5
[> pushable | Fence] -> [pushable | Fence]
(use action key to push an element out of basket)
horizontal [action Player | Basket | NO obstacle][nonzero FireBG][Counter FireBG] -> [Player | Basket | Tomato][nonzero FireBG][Counter FireBG Subtract] sfx6
vertical [action Player | Basket | NO obstacle][nonzero EnergyBG][Counter EnergyBG] -> [Player | Basket | Pumpkin][nonzero EnergyBG][Counter EnergyBG Subtract] sfx9
(resolve all movement manually, so we can use remaining movement to determine automatic item usage)
[> pushable | No object] -> [ | pushable]
horizontal [No object HWrap | ... | > Pushable HWrap] -> [Pushable HWrap | ... | HWrap]
vertical [No object VWrap | ... | > Pushable VWrap] -> [Pushable VWrap | ... | VWrap]
(make wrapping work for player too)
[> player | no pushable] -> [ | player]
horizontal [ NO Pushable HWrap | ... | > Player HWrap] -> [ Player HWrap | ... | HWrap]
vertical [ NO Pushable VWrap | ... | > Player VWrap] -> [ Player VWrap | ... | VWrap]
[N0 Increase] -> [N1]
+ [N1 Increase] -> [N2]
+ [N2 Increase] -> [N3]
+ [N3 Increase] -> [N4]
+ [N4 Increase] -> [N5]
+ [N5 Increase] -> [N6]
+ [N6 Increase] -> [N7]
+ [N7 Increase] -> [N8]
+ [N8 Increase] -> [N9]
+ LEFT [N9 Increase | Digit] -> [N0 | Digit Increase]
+ LEFT [N9 BG Increase | No Digit] -> [N0 BG | N1 BG]
LEFT [N0 Subtract| ] -> [N9 | Subtract]
+ LEFT [Digit | N1 BG Subtract| No Digit] -> [Digit | no BG no digit | ]
+ [N1 Subtract] -> [N0]
+ [N2 Subtract] -> [N1]
+ [N3 Subtract] -> [N2]
+ [N4 Subtract] -> [N3]
+ [N5 Subtract] -> [N4]
+ [N6 Subtract] -> [N5]
+ [N7 Subtract] -> [N6]
+ [N8 Subtract] -> [N7]
+ [N9 Subtract] -> [N8]
==============
WINCONDITIONS
==============
(no way to win)
=======
LEVELS
=======
fffffffffffff
ffffffffuffff
fffufufufufff
ffufufuf..uff
fup.u.b...fuf
ffufufufffuff
fffufufufufff
ffffffffuffff
ff3ff0fffffff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment