Created
June 26, 2024 15:34
-
-
Save increpare/43cebc58529f81ed86279ca7b3117820 to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Simple Block Pushing Game | |
author David Skinner | |
homepage www.puzzlescript.net | |
run_rules_on_level_start | |
again_interval 0.05 | |
======== | |
OBJECTS | |
======== | |
Background | |
#431408 | |
Wall | |
#190000 #012135 | |
00000 | |
00100 | |
00001 | |
01000 | |
00000 | |
Player | |
#d07d68 #d07d68 #d07d68 #d07d68 | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
player_dead | |
black black black black black | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Crate | |
#981111 | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
fluid_1 | |
#692ba9 | |
fluid_2 | |
#157d41 | |
fluid_3 | |
#c5484e | |
fluid_4 | |
#f1892d | |
fluid_5 | |
#e9d963 | |
fluid_6 | |
#cde4fc | |
fluid_7 | |
#000000 | |
flow_up | |
#858585 | |
..... | |
..0.. | |
.0.0. | |
..... | |
..... | |
flow_down | |
#858585 | |
..... | |
..... | |
.0.0. | |
..0.. | |
..... | |
flow_left | |
#858585 | |
..... | |
..0.. | |
.0... | |
..0.. | |
..... | |
flow_right | |
#858585 | |
..... | |
..0.. | |
...0. | |
..0.. | |
..... | |
flow_node | |
#858585 | |
..... | |
..0.. | |
.0.0. | |
..0.. | |
..... | |
node_input_n | |
#858585 | |
..0.. | |
..... | |
..... | |
..... | |
..... | |
node_input_s | |
#858585 | |
..... | |
..... | |
..... | |
..... | |
..0.. | |
node_input_e | |
#858585 | |
..... | |
..... | |
....0 | |
..... | |
..... | |
node_input_w | |
#858585 | |
..... | |
..... | |
0.... | |
..... | |
..... | |
fluid_source_u | |
#484848 | |
0...0 | |
0...0 | |
0...0 | |
00.00 | |
00000 | |
fluid_source_d | |
#484848 | |
00000 | |
00.00 | |
0...0 | |
0...0 | |
0...0 | |
fluid_source_l | |
#484848 | |
00000 | |
...00 | |
....0 | |
...00 | |
00000 | |
fluid_source_r | |
#484848 | |
00000 | |
00... | |
0.... | |
00... | |
00000 | |
justremoved | |
red | |
..... | |
..... | |
..... | |
..... | |
0.... | |
incremented | |
yellow | |
....0 | |
..... | |
..... | |
..... | |
..... | |
propagated | |
pink | |
0.... | |
..... | |
..... | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
* = crate | |
fluid = fluid_1 or fluid_2 or fluid_3 or fluid_4 or fluid_5 or fluid_6 or fluid_7 | |
flow = flow_up or flow_down or flow_left or flow_right or flow_node | |
fluid_source = fluid_source_u or fluid_source_d or fluid_source_l or fluid_source_r | |
node_input = node_input_n or node_input_s or node_input_e or node_input_w | |
pushable = fluid_source or crate | |
1 = fluid_source_u | |
2 = fluid_source_u | |
3 = fluid_source_r | |
4 = fluid_source_d | |
5 = fluid_source_d | |
6 = fluid_source_r | |
obstacle = crate or fluid_source or wall | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
fluid | |
flow_up | |
flow_down | |
flow_left | |
flow_right | |
flow_node | |
Player, Wall, pushable, player_dead | |
justremoved | |
node_input_n | |
node_input_s | |
node_input_e | |
node_input_w | |
incremented | |
propagated | |
====== | |
RULES | |
====== | |
[ ] -> again | |
[ > Player | pushable ] -> [ > Player | > pushable no fluid no flow ] | |
(put fluid flow at empty sources) | |
[ stationary fluid_source_u ] -> [ fluid_source_u flow_up fluid_1 no flow_node no node_input ] | |
[ stationary fluid_source_d ] -> [ fluid_source_d flow_down fluid_1 no flow_node no node_input ] | |
[ stationary fluid_source_l ] -> [ fluid_source_l flow_left fluid_1 no flow_node no node_input ] | |
[ stationary fluid_source_r ] -> [ fluid_source_r flow_right fluid_1 no flow_node no node_input ] | |
(1: mark flows with directions) | |
[ stationary flow_up ] -> [ up flow_up ] | |
[ stationary flow_down ] -> [ down flow_down ] | |
[ stationary flow_left ] -> [ left flow_left ] | |
[ stationary flow_right ] -> [ right flow_right ] | |
[ stationary node_input_n ] -> [ up node_input_n ] | |
[ stationary node_input_s ] -> [ down node_input_s ] | |
[ stationary node_input_e ] -> [ left node_input_e ] | |
[ stationary node_input_w ] -> [ right node_input_w ] | |
(remove from start of stream) | |
(slightly complex - several cases) | |
[ no flow no justremoved | > flow fluid no fluid_source ] -> [ | justremoved no flow_node no node_input] | |
[ perpendicular flow no justremoved | > flow fluid no fluid_source ] -> [ perpendicular flow | justremoved ] | |
[ < flow no justremoved | > flow fluid no fluid_source ] -> [ < flow | justremoved ] | |
(coming from node of different colour) | |
[ flow_node fluid no fluid_1 | > flow fluid_1 no justremoved ] -> [ flow_node fluid | justremoved ] | |
[justremoved ] -> [] | |
(propagate ends of streams) | |
[ > flow fluid | no fluid no obstacle ] -> [ > flow fluid | flow fluid ] | |
[ > flow fluid | flow_node ] -> [ > flow fluid | > flow fluid ] | |
(node creation) | |
[ > flow | perpendicular flow no fluid_source ] -> [ > flow | flow_node no flow ] | |
(recalculate node contents) | |
[ flow_node fluid ] -> [ flow_node ] | |
right [ flow_node | < flow fluid ] -> [ flow_node fluid | < flow fluid ] | |
down [ flow_node no fluid no incremented | < flow fluid ] -> [ flow_node fluid incremented | < flow fluid ] | |
down [ flow_node fluid_1 no incremented | < flow fluid_1 ] -> [ flow_node fluid_2 incremented | < flow fluid_1 ] | |
down [ flow_node fluid_1 no incremented | < flow fluid_2 ] -> [ flow_node fluid_3 incremented | < flow fluid_2 ] | |
down [ flow_node fluid_1 no incremented | < flow fluid_3 ] -> [ flow_node fluid_4 incremented | < flow fluid_3 ] | |
down [ flow_node fluid_1 no incremented | < flow fluid_4 ] -> [ flow_node fluid_5 incremented | < flow fluid_4 ] | |
down [ flow_node fluid_1 no incremented | < flow fluid_5 ] -> [ flow_node fluid_6 incremented | < flow fluid_5 ] | |
down [ flow_node fluid_1 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
down [ flow_node fluid_1 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
down [ flow_node fluid_2 no incremented | < flow fluid_1 ] -> [ flow_node fluid_3 incremented | < flow fluid_1 ] | |
down [ flow_node fluid_2 no incremented | < flow fluid_2 ] -> [ flow_node fluid_4 incremented | < flow fluid_2 ] | |
down [ flow_node fluid_2 no incremented | < flow fluid_3 ] -> [ flow_node fluid_5 incremented | < flow fluid_3 ] | |
down [ flow_node fluid_2 no incremented | < flow fluid_4 ] -> [ flow_node fluid_6 incremented | < flow fluid_4 ] | |
down [ flow_node fluid_2 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
down [ flow_node fluid_2 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
down [ flow_node fluid_2 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
down [ flow_node fluid_3 no incremented | < flow fluid_1 ] -> [ flow_node fluid_4 incremented | < flow fluid_1 ] | |
down [ flow_node fluid_3 no incremented | < flow fluid_2 ] -> [ flow_node fluid_5 incremented | < flow fluid_2 ] | |
down [ flow_node fluid_3 no incremented | < flow fluid_3 ] -> [ flow_node fluid_6 incremented | < flow fluid_3 ] | |
down [ flow_node fluid_3 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
down [ flow_node fluid_3 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
down [ flow_node fluid_3 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
down [ flow_node fluid_3 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
down [ flow_node fluid_4 no incremented | < flow fluid_1 ] -> [ flow_node fluid_5 incremented | < flow fluid_1 ] | |
down [ flow_node fluid_4 no incremented | < flow fluid_2 ] -> [ flow_node fluid_6 incremented | < flow fluid_2 ] | |
down [ flow_node fluid_4 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
down [ flow_node fluid_4 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
down [ flow_node fluid_4 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
down [ flow_node fluid_4 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
down [ flow_node fluid_4 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
down [ flow_node fluid_5 no incremented | < flow fluid_1 ] -> [ flow_node fluid_6 incremented | < flow fluid_1 ] | |
down [ flow_node fluid_5 no incremented | < flow fluid_2 ] -> [ flow_node fluid_7 incremented | < flow fluid_2 ] | |
down [ flow_node fluid_5 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
down [ flow_node fluid_5 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
down [ flow_node fluid_5 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
down [ flow_node fluid_5 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
down [ flow_node fluid_5 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
down [ flow_node fluid_6 no incremented | < flow fluid_1 ] -> [ flow_node fluid_7 incremented | < flow fluid_1 ] | |
down [ flow_node fluid_6 no incremented | < flow fluid_2 ] -> [ flow_node fluid_7 incremented | < flow fluid_2 ] | |
down [ flow_node fluid_6 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
down [ flow_node fluid_6 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
down [ flow_node fluid_6 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
down [ flow_node fluid_6 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
down [ flow_node fluid_6 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
[ incremented ] -> [ ] | |
left [ flow_node no fluid no incremented | < flow fluid ] -> [ flow_node fluid incremented | < flow fluid ] | |
left [ flow_node fluid_1 no incremented | < flow fluid_1 ] -> [ flow_node fluid_2 incremented | < flow fluid_1 ] | |
left [ flow_node fluid_1 no incremented | < flow fluid_2 ] -> [ flow_node fluid_3 incremented | < flow fluid_2 ] | |
left [ flow_node fluid_1 no incremented | < flow fluid_3 ] -> [ flow_node fluid_4 incremented | < flow fluid_3 ] | |
left [ flow_node fluid_1 no incremented | < flow fluid_4 ] -> [ flow_node fluid_5 incremented | < flow fluid_4 ] | |
left [ flow_node fluid_1 no incremented | < flow fluid_5 ] -> [ flow_node fluid_6 incremented | < flow fluid_5 ] | |
left [ flow_node fluid_1 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
left [ flow_node fluid_1 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
left [ flow_node fluid_2 no incremented | < flow fluid_1 ] -> [ flow_node fluid_3 incremented | < flow fluid_1 ] | |
left [ flow_node fluid_2 no incremented | < flow fluid_2 ] -> [ flow_node fluid_4 incremented | < flow fluid_2 ] | |
left [ flow_node fluid_2 no incremented | < flow fluid_3 ] -> [ flow_node fluid_5 incremented | < flow fluid_3 ] | |
left [ flow_node fluid_2 no incremented | < flow fluid_4 ] -> [ flow_node fluid_6 incremented | < flow fluid_4 ] | |
left [ flow_node fluid_2 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
left [ flow_node fluid_2 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
left [ flow_node fluid_2 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
left [ flow_node fluid_3 no incremented | < flow fluid_1 ] -> [ flow_node fluid_4 incremented | < flow fluid_1 ] | |
left [ flow_node fluid_3 no incremented | < flow fluid_2 ] -> [ flow_node fluid_5 incremented | < flow fluid_2 ] | |
left [ flow_node fluid_3 no incremented | < flow fluid_3 ] -> [ flow_node fluid_6 incremented | < flow fluid_3 ] | |
left [ flow_node fluid_3 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
left [ flow_node fluid_3 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
left [ flow_node fluid_3 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
left [ flow_node fluid_3 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
left [ flow_node fluid_4 no incremented | < flow fluid_1 ] -> [ flow_node fluid_5 incremented | < flow fluid_1 ] | |
left [ flow_node fluid_4 no incremented | < flow fluid_2 ] -> [ flow_node fluid_6 incremented | < flow fluid_2 ] | |
left [ flow_node fluid_4 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
left [ flow_node fluid_4 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
left [ flow_node fluid_4 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
left [ flow_node fluid_4 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
left [ flow_node fluid_4 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
left [ flow_node fluid_5 no incremented | < flow fluid_1 ] -> [ flow_node fluid_6 incremented | < flow fluid_1 ] | |
left [ flow_node fluid_5 no incremented | < flow fluid_2 ] -> [ flow_node fluid_7 incremented | < flow fluid_2 ] | |
left [ flow_node fluid_5 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
left [ flow_node fluid_5 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
left [ flow_node fluid_5 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
left [ flow_node fluid_5 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
left [ flow_node fluid_5 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
left [ flow_node fluid_6 no incremented | < flow fluid_1 ] -> [ flow_node fluid_7 incremented | < flow fluid_1 ] | |
left [ flow_node fluid_6 no incremented | < flow fluid_2 ] -> [ flow_node fluid_7 incremented | < flow fluid_2 ] | |
left [ flow_node fluid_6 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
left [ flow_node fluid_6 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
left [ flow_node fluid_6 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
left [ flow_node fluid_6 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
left [ flow_node fluid_6 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
[ incremented ] -> [ ] | |
up [ flow_node no fluid no incremented | < flow fluid ] -> [ flow_node fluid incremented | < flow fluid ] | |
up [ flow_node fluid_1 no incremented | < flow fluid_1 ] -> [ flow_node fluid_2 incremented | < flow fluid_1 ] | |
up [ flow_node fluid_1 no incremented | < flow fluid_2 ] -> [ flow_node fluid_3 incremented | < flow fluid_2 ] | |
up [ flow_node fluid_1 no incremented | < flow fluid_3 ] -> [ flow_node fluid_4 incremented | < flow fluid_3 ] | |
up [ flow_node fluid_1 no incremented | < flow fluid_4 ] -> [ flow_node fluid_5 incremented | < flow fluid_4 ] | |
up [ flow_node fluid_1 no incremented | < flow fluid_5 ] -> [ flow_node fluid_6 incremented | < flow fluid_5 ] | |
up [ flow_node fluid_1 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
up [ flow_node fluid_1 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
up [ flow_node fluid_2 no incremented | < flow fluid_1 ] -> [ flow_node fluid_3 incremented | < flow fluid_1 ] | |
up [ flow_node fluid_2 no incremented | < flow fluid_2 ] -> [ flow_node fluid_4 incremented | < flow fluid_2 ] | |
up [ flow_node fluid_2 no incremented | < flow fluid_3 ] -> [ flow_node fluid_5 incremented | < flow fluid_3 ] | |
up [ flow_node fluid_2 no incremented | < flow fluid_4 ] -> [ flow_node fluid_6 incremented | < flow fluid_4 ] | |
up [ flow_node fluid_2 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
up [ flow_node fluid_2 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
up [ flow_node fluid_2 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
up [ flow_node fluid_3 no incremented | < flow fluid_1 ] -> [ flow_node fluid_4 incremented | < flow fluid_1 ] | |
up [ flow_node fluid_3 no incremented | < flow fluid_2 ] -> [ flow_node fluid_5 incremented | < flow fluid_2 ] | |
up [ flow_node fluid_3 no incremented | < flow fluid_3 ] -> [ flow_node fluid_6 incremented | < flow fluid_3 ] | |
up [ flow_node fluid_3 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
up [ flow_node fluid_3 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
up [ flow_node fluid_3 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
up [ flow_node fluid_3 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
up [ flow_node fluid_4 no incremented | < flow fluid_1 ] -> [ flow_node fluid_5 incremented | < flow fluid_1 ] | |
up [ flow_node fluid_4 no incremented | < flow fluid_2 ] -> [ flow_node fluid_6 incremented | < flow fluid_2 ] | |
up [ flow_node fluid_4 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
up [ flow_node fluid_4 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
up [ flow_node fluid_4 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
up [ flow_node fluid_4 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
up [ flow_node fluid_4 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
up [ flow_node fluid_5 no incremented | < flow fluid_1 ] -> [ flow_node fluid_6 incremented | < flow fluid_1 ] | |
up [ flow_node fluid_5 no incremented | < flow fluid_2 ] -> [ flow_node fluid_7 incremented | < flow fluid_2 ] | |
up [ flow_node fluid_5 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
up [ flow_node fluid_5 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
up [ flow_node fluid_5 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
up [ flow_node fluid_5 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
up [ flow_node fluid_5 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
up [ flow_node fluid_6 no incremented | < flow fluid_1 ] -> [ flow_node fluid_7 incremented | < flow fluid_1 ] | |
up [ flow_node fluid_6 no incremented | < flow fluid_2 ] -> [ flow_node fluid_7 incremented | < flow fluid_2 ] | |
up [ flow_node fluid_6 no incremented | < flow fluid_3 ] -> [ flow_node fluid_7 incremented | < flow fluid_3 ] | |
up [ flow_node fluid_6 no incremented | < flow fluid_4 ] -> [ flow_node fluid_7 incremented | < flow fluid_4 ] | |
up [ flow_node fluid_6 no incremented | < flow fluid_5 ] -> [ flow_node fluid_7 incremented | < flow fluid_5 ] | |
up [ flow_node fluid_6 no incremented | < flow fluid_6 ] -> [ flow_node fluid_7 incremented | < flow fluid_6 ] | |
up [ flow_node fluid_6 no incremented | < flow fluid_7 ] -> [ flow_node fluid_7 incremented | < flow fluid_7 ] | |
[ incremented ] -> [ ] | |
up [ > flow | flow_node ] -> [ > flow | flow_node node_input_s ] | |
down [ > flow | flow_node ] -> [ > flow | flow_node node_input_n ] | |
left [ > flow | flow_node ] -> [ > flow | flow_node node_input_e ] | |
right [ > flow | flow_node ] -> [ > flow | flow_node node_input_w ] | |
(propagate fluid from nodes) | |
up [ flow_node no node_input_n fluid | no obstacle ] -> [ flow_node fluid | > flow_up fluid ] | |
down [ flow_node no node_input_s fluid | no obstacle ] -> [ flow_node fluid | > flow_down fluid ] | |
left [ flow_node no node_input_w fluid | no obstacle ] -> [ flow_node fluid | > flow_left fluid ] | |
right [ flow_node no node_input_e fluid | no obstacle ] -> [ flow_node fluid | > flow_right fluid ] | |
[ > flow fluid no propagated | > flow ] -> [ > flow fluid propagated | > flow fluid ] | |
[ > flow fluid no propagated | > flow ] -> [ > flow fluid propagated | > flow fluid ] | |
[ propagated] ->[] | |
[ moving flow ] -> [ stationary flow ] | |
[ moving node_input ] -> [ stationary node_input ] | |
late [ crate flow fluid ] -> [ crate ] | |
late [ node_input no flow_node ] -> [ ] | |
late [ flow no fluid ] -> [ ] | |
late [player fluid ] -> [ player_dead fluid ] | |
late [ fluid_source_u no fluid ] -> [ fluid_source_u fluid_1 no flow flow_up ] | |
late [ fluid_source_d no fluid ] -> [ fluid_source_d fluid_1 no flow flow_down ] | |
late [ fluid_source_l no fluid ] -> [ fluid_source_l fluid_1 no flow flow_left ] | |
late [ fluid_source_r no fluid ] -> [ fluid_source_r fluid_1 no flow flow_right ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
################## | |
#................# | |
#................# | |
#................# | |
#.....p5...5.....# | |
#................# | |
#................# | |
#...6............# | |
#................# | |
#................# | |
#................# | |
#................# | |
################## | |
################## | |
#................# | |
#................# | |
#................# | |
#.....p5..4......# | |
#................# | |
#.......*..3.....# | |
#...6............# | |
#.....1..2.......# | |
#................# | |
#................# | |
#................# | |
################## | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment