Вы находитесь на странице: 1из 6

#wxsand: owen piette's falling sand game

#version 4.4, file subversion 2


#element element r g b gravity slip density conductivity visible
#self probabilityofchanging element [probabilityofchangingintothiselement element]
[...]
#hotself tempatwhichthiselementselfprobabilitystartstoincreaseto100 element
#hotcolor element r g b
#neighbor probabilityofreacting element1 element2
[probabilityofchangingintotheseelements element1 element2] [...]
#hotneighbor tempatwhichthiselementselfprobabilitystartstoincreaseto100 element1
element2
#explosion neighbor1 neighbor2 xspeed<255 yspeed<255
#pexplosion neighbor1 neighbor2 diameter element

group defaultstuff water steam saltwater spout sand water salt oil
fire torch tnt ember fallingember empty drain wall dust plant cera ???
group electricity heatconverter cheatconverter wire lightbulb
group aircar airtank air compressedair aircompressor outflow intake piston
crankshaft flywheel axis rim exhaust inexhaust outexhaust cylinder instruction
instruction2
group solarcar sun solarpanel wire acmoter axis rim
group frame redfiberglass alloy

#erases.
element empty 0 0 0 0.000000 1.000000 0.000000 0.000000
1
#eraser element.
element drain 10 10 10 0.000000 1.000000 0.000000 0.000000
1
neighbor 1.0 drain water 1.0 drain empty
neighbor 1.0 drain dust 1.0 drain empty
neighbor 1.0 drain oil 1.0 drain empty
neighbor 1.0 drain steam 1.0 drain empty
neighbor 1.0 drain sand 1.0 drain empty
neighbor 1.0 drain salt 1.0 drain empty
neighbor 1.0 drain saltwater 1.0 drain empty
neighbor 1.0 drain moltencera 1.0 drain empty
neighbor 1.0 drain fallingember 1.0 drain empty
neighbor 1.0 drain explodingtnt 1.0 drain empty
#a solid element which reacts with nothing.
element wall 128 128 128 0.000000 0.000000 1.000000 0.500000
1
hotcolor wall 255 0 0
#does nothing. useful for explosion aftermaths
element dust 128 128 128 0.900000 0.000000 1.000000 0.500000
1
#burns other elements. source of energy.
element fire 247 63 63 -1.000000 1.000000 0.000000 1.100000
1
self 0.050000 fire 1.0000 empty
hotcolor fire 255 63 63
neighbor 0.9 fire water 1.0 empty steam
neighbor 0.75 fire oil 1.0 fire fire
neighbor 1.0 fire plant 1.0 fire fire
neighbor 0.005 fire cera 1.0 moltencera ember
neighbor 0.9 fire tnt 1.0 explodingtnt fire
explosion fire oil 10 10
explosion fire tnt 100 100
#explodes
element tnt 50 50 50 0.000000 0.000000 1.000000 0.000000
1
#explodes
element explodingtnt 100 50 50 0.900000 1.000000 1.000000
0.000000 0
self 0.02000 explodingtnt 1.0000 fire
neighbor 0.9 explodingtnt tnt 1.0 explodingtnt explodingtnt
neighbor 1.0 explodingtnt wall 1.0 explodingtnt dust
explosion explodingtnt tnt 100 100
#dissolves other elements. turns to steam when heated.
element water 32 32 255 0.700000 1.000000 0.500000 0.400000
1
hotcolor water 200 200 255
self 0.001 water 1.0 steam
hotself 50 water
#grows in water.
element plant 32 204 32 0.000000 0.000000 1.000000 0.000000
1
neighbor 0.2 plant water 1.0 plant plant
#inert.
element sand 238 204 128 0.900000 0.500000 0.900000 0.000000
1
#source of water.
element spout 10 100 10 0.000000 0.000000 1.000000 0.000000
1
neighbor 0.75 spout empty 1.0 spout water
neighbor 0.5 spout sand 1.0 empty empty
#wax. melts.
element cera 238 221 204 0.000000 0.000000 1.000000 0.000000
1
#destroys almost everything.
element ??? 231 7 231 0.000000 1.000000 1.000000 0.000000
1
self 0.100000 ??? 1.0000 leftover???
neighbor 1.0 ??? empty 1.0 ??? ???
neighbor 1.0 ??? wall 1.0 ??? ???
neighbor 1.0 ??? fire 1.0 ??? ???
neighbor 1.0 ??? water 1.0 ??? ???
neighbor 1.0 ??? sand 1.0 ??? ???
neighbor 1.0 ??? spout 1.0 ??? ???
neighbor 1.0 ??? cera 1.0 ??? ???
neighbor 1.0 ??? oil 1.0 ??? ???
neighbor 1.0 ??? salt 1.0 ??? ???
neighbor 1.0 ??? ember 1.0 ??? ???
neighbor 1.0 ??? moltencera 1.0 ??? ???
neighbor 1.0 ??? steam 1.0 ??? ???
neighbor 1.0 ??? saltwater 1.0 ??? ???
neighbor 1.0 ??? torch 1.0 ??? ???
neighbor 0.2 ??? leftover??? 1.0 leftover??? leftover???
#burns.
element oil 128 64 64 0.700000 1.000000 0.200000 0.000000
1
#soluable in water.
element salt 255 255 255 0.900000 0.400000 0.400000 0.000000
1
#burns for a little while.
element ember 200 50 50 0.000000 0.200000 1.000000 0.000000
1
self 0.002000 ember 1.0000 fire
neighbor 0.2 ember empty 1.0 ember fire
neighbor 0.9 ember water 1.0 empty steam
neighbor 0.75 ember oil 1.0 ember fire
neighbor 1.0 ember plant 1.0 ember fire
neighbor 0.005 ember cera 1.0 moltencera ember
#burns for a little while.
element fallingember 200 50 50 1.000000 0.200000 1.000000
0.000000 1
self 0.002000 fallingember 1.0000 fire
neighbor 0.2 fallingember empty 1.0 fallingember fire
neighbor 0.9 fallingember water 1.0 empty steam
neighbor 1.0 fallingember oil 1.0 fallingember fallingember
neighbor 1.0 fallingember plant 1.0 fallingember fire
neighbor 0.005 fallingember cera 1.0 moltencera ember
#flowing cera. will harden eventually.
element moltencera 255 220 200 0.800000 1.000000 1.000000
0.000000 0
neighbor 0.01 moltencera wall 1.0 cera wall
neighbor 0.01 moltencera water 1.0 cera water
neighbor 0.01 moltencera sand 1.0 cera sand
neighbor 0.01 moltencera spout 1.0 cera spout
neighbor 0.01 moltencera cera 1.0 cera cera
neighbor 0.01 moltencera oil 1.0 cera oil
neighbor 0.01 moltencera salt 1.0 cera salt
neighbor 0.01 moltencera saltwater 1.0 cera saltwater
#will eventually condense.
element steam 85 85 255 -1.000000 1.000000 0.010000 0.000000
1
self 0.001000 steam 1.0000 water
#salt will slowly come out of solution.
element saltwater 0 0 150 0.700000 0.000000 0.500000
0.600000 1
self 0.00001 saltwater 0.5 water 0.5 salt
neighbor 0.004 water salt 1.0 saltwater saltwater
neighbor 0.001 saltwater saltwater 1.0 salt steam
neighbor 0.04 saltwater water 1.0 water saltwater
neighbor 0.9 saltwater fire 1.0 salt steam
hotneighbor 50 saltwater saltwater
#continuous fire.
element torch 100 0 0 0.000000 1.000000 1.000000 1.000000
1
neighbor 0.2 torch empty 1.0 torch fire
neighbor 0.2 torch water 1.0 torch steam
neighbor 0.2 torch saltwater 0.5 torch steam 0.5 torch salt
neighbor 0.2 torch oil 1.0 torch fire
neighbor 0.2 torch plant 1.0 torch fire
neighbor 0.2 torch cera 1.0 torch moltencera
#a helper element.
element leftover??? 200 0 0 0.000000 0.000000 1.000000
0.000000 0
self 0.005000 leftover??? 1.0000 empty
# really just a random element.
element heatconverter 128 128 255 0 0 0.5 1 1
self 0.2 heatconverter 1.0 cheatconverter
hotself 75 heatconverter
neighbor 0.25 heatconverter fire 1.0 cheatconverter fire
neighbor 0.25 heatconverter steam 1.0 cheatconverter steam
element cheatconverter 128 128 255 0 0 0.8 1 0
neighbor 0.5 cheatconverter heatconverter 1.0 heatconverter cheatconverter
# connect to heatconverter.
element wire 141 132 129 0 0 0.8 0.4 1
element cwire 0 0 80 0 0 0.8 0 0
neighbor 0.001 cheatconverter wire 1.0 heatconverter cwire
neighbor 0.2 cwire wire 1.0 cwire cwire
# let there be light! it can only hold a charge for like to seconds. : )
element lightbulb 244 247 153 0 0 0.8 0.8 1
neighbor 1.0 lightbulb clightbulb 1.0 clightbulb clightbulb
element clightbulb 255 249 4 0 0 0.8 0.8 0
element discharge 141 132 129 0 0 0.8 0.8 0
element ldischarge 244 247 153 0 0 0.8 0.8 0
element sun 255 255 0 0 0 0.2 99 1
element sun2 255 0 0 0 0 0.2 99 0
element sun3 255 128 64 0 0 0.2 99 0
element solarenergy 70 70 70 0 0 0 0 0 0
element solarpanel 0 97 168 0 0 0.8 0 1
element csolarpanel 252 254 156 0 0 0.8 0 0
element acmoter 253 0 0 0 0 0.8 0 1
element cacmoter 249 200 4 0 0 0.8 0 0
element acdischarge 253 10 10 0 0 0.8 0 0
element airtank 183 183 183 0 0 1 0 1
element air 0 0 0 -0.3 0.5 0.1 0.2 1
element compressedair 223 225 225 -0.4 0 0.3 0 1
element caircompressor 97 97 97 0 0 0.8 0 0 0
element faircompressor 97 97 97 0 0 0.8 0 0 0
element f2aircompressor 97 97 97 0 0 0.8 0 0 0
element aircompressor 97 97 97 0 0 0.8 0 1
element outflow 201 201 201 0 0 0.8 0 1
element f2outflow 201 201 201 0 0 0.8 0 0 0
element fintake 201 201 201 0 0 0.8 0 0 0
element intake 201 201 201 0 0 0.8 0 1
# so the cylinders don't get clogged.
element exhaust 0 0 128 0 0 0.8 0 1
element fexhaust 0 0 128 0 0 0.8 0 0
# well it's the intake
element inexhaust 136 219 249 0 0 0.8 0 1
element finexhaust 136 219 249 0 0 0.8 0 0
# where the exhaust comes out
element outexhaust 219 73 222 0 0 0.8 0 1
element foutexhaust 219 73 222 0 0 0.8 0 0
# i'm am going to put the instructions here. put a piston in a cylinder then add
fuel (watever it may be)
element instruction 0 0 0 0 0 0 0 1
# then connect the piston to the crankshaft to the flywheel. connect the flywheel
to the axis the to the rim.
element instruction2 0 0 0 0 0 0 0 1
element cylinder 199 199 199 0 0 0.8 0.2 1
element piston 129 126 126 0 0 0.8 0.4 1
element crankshaft 107 108 106 0 0 0.8 0.4 1
element flywheel 225 128 64 0 0 0.8 0.4 1
element axis 9 78 106 0 0 0.8 0.4
element rim 129 126 136 0 0 0.8 0.4
element ppiston 0 0 106 0 0 0.8 0.4 0
element pcrankshaft 0 0 106 0 0 0.8 0.4 0
element pflywheel 0 0106 0 0 0.8 0.4 0
element paxis 0 0 106 0 0 0.8 0.4 0
element prim 0 0 106 0 0 0.8 0.4 0
# wll really just to hold the acid
# a powerful; lghtweight alloy for your car.
element alloy 62 62 62 0 0 1.0 0.01 1
# your car's frame, the only one for now.
element redfiberglass 255 0 0 0 0 0.8 0 1
neighbor 0.1 piston compressedair 1.0 ppiston air
neighbor 0.3 ppiston crankshaft 1.0 piston pcrankshaft
neighbor 1.0 crankshaft pcrankshaft 1.0 pcrankshaft crankshaft
neighbor 1.0 piston ppiston 1.0 ppiston piston
neighbor 0.3 pcrankshaft flywheel 1.0 crankshaft pflywheel
neighbor 1.0 flywheel pflywheel 1.0 pflywheel flywheel
neighbor 1.0 pflywheel axis 1.0 flywheel paxis
neighbor 1.0 paxis axis 1.0 axis paxis
neighbor 1.0 paxis rim 1.0 axis prim
neighbor 1.0 prim rim 1.0 rim prim
neighbor 0.6 discharge cwire 1.0 discharge discharge
neighbor 0.6 discharge clightbulb 1.0 discharge ldischarge
neighbor 0.6 ldischarge clightbulb 1.0 ldischarge ldischarge
neighbor 1.0 cwire clightbulb 1.0 discharge ldischarge
neighbor 1.0 lightbulb cwire 0.6 clightbulb discharge 0.4 clightbulb cwire
neighbor 1.0 aircompressor cwire 1.0 caircompressor discharge
neighbor 1.0 caircompressor aircompressor 1.0 caircompressor caircompressor
neighbor 0.5 intake air 1.0 fintake empty
neighbor 1.0 fintake intake 1.0 intake fintake
neighbor 1.0 fintake caircompressor 1.0 intake f2aircompressor
neighbor 1.0 f2aircompressor caircompressor 0.9 caircompressor f2aircompressor 0.1
aircompressor f2aircompressor
neighbor 1.0 f2aircompressor outflow 1.0 aircompressor f2outflow
neighbor 1.0 f2outflow outflow 1.0 outflow f2outflow
neighbor 1.0 f2outflow empty 1.0 outflow compressedair
neighbor 1.0 f2outflow air 1.0 outflow compressedair
neighbor 1.0 inexhaust air 1.0 finexhaust empty
neighbor 1.0 inexhaust finexhaust 1.0 finexhaust inexhaust
neighbor 1.0 finexhaust exhaust 1.0 inexhaust fexhaust
neighbor 1.0 exhaust fexhaust 1.0 fexhaust exhaust
neighbor 1.0 fexhaust outexhaust 1.0 exhaust foutexhaust
neighbor 1.0 outexhaust foutexhaust 1.0 foutexhaust outexhaust
neighbor 1.0 foutexhaust empty 1.0 outexhaust air
neighbor 1.0 solarenergy empty 1.0 empty solarenergy
neighbor 1.0 solarenergy air 1.0 air solarenergy
neighbor 0.0005 sun empty 1.0 sun solarenergy
neighbor 0.001 sun air 1.0 sun solarenergy
neighbor 0.0005 sun2 empty 1.0 sun2 solarenergy
neighbor 0.001 sun2 air 1.0 sun2 solarenergy
neighbor 0.0005 sun3 empty 1.0 sun3 solarenergy
neighbor 0.001 sun3 air 1.0 sun3 solarenergy
neighbor 1.0 solarenergy solarpanel 1.0 empty csolarpanel
neighbor 1.0 csolarpanel solarpanel 1.0 solarpanel csolarpanel
neighbor 0.1 csolarpanel wire 1.0 solarpanel cwire
neighbor 0.01 csolarpanel cwire 1.0 solarpanel cwire
neighbor 1.0 acmoter cwire 0.6 cacmoter discharge 0.4 cacmoter cwire
neighbor 0.9 discharge cacmoter 1.0 discharge acdischarge
neighbor 1.0 cwire cacmoter 1.0 discharge acdischarge
neighbor 1.0 cacmoter axis 1.0 acdischarge paxis
neighbor 0.6 acmoter cacmoter 1.0 cacmoter cacmoter
neighbor 0.6 cacmoter acdischarge 1.0 acdischarge acdischarge
self 0.1 prim 1.0 rim
self 0.1 discharge 1.0 wire
self 0.1 ldischarge 1.0 lightbulb
self 0.1 acdischarge 1.0 acmoter
self 0.1 air 1.0 compressedair
hotself 50 air
self 0.33 sun 0.5 sun2 0.5 sun3
self 0.33 sun2 0.5 sun 0.5 sun3
self 0.33 sun3 0.5 sun 0.5 sun3

Вам также может понравиться