User:Jabberwock33/BotMod

From FSG Wiki

Revision as of 22:29, 10 November 2007; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

Bot Mod

by Jabberwock33

#subversion 2

group	Basic	Empty	Wall
group	Bots Botu Botd Botl	Botr Turret
group	Hazards	Nuclearwaste	Radiation
group	Fire	 Fire	Flameru	Flamerd	Flamerl	Flamerr

#Empty.
element	Empty	0	0	0	0	0	0	0	1

#A simple wall, with no reactions.
element Wall	125	125	125	0	0	0	0	1

#Center of a robot.
element	Coreu	255	255	255	0	0	0	0	0
self .1 Coreu	1	Botuf
neighbor 1	Coreu	Sensorw	.33	Botl	Sensorw	.33	Botr	Sensorw	.34	Botd	Sensorw

#Center of a robot.
element	Cored	255	255	255	0	0	0	0	0
self .1 Cored	1	Botdf
neighbor 1	Cored	Sensorw	.33	Botl	Sensorw	.33	Botr	Sensorw	.34	Botu	Sensorw

#Center of a robot.
element	Corel	255	255	255	0	0	0	0	0
self .1 Corel	1	Botlf
neighbor 1	Corel	Sensorw	.33	Botu	Sensorw	.33	Botd	Sensorw	.34	Botr	Sensorw

#Center of a robot.
element	Corer	255	255	255	0	0	0	0	0
self .05 Corer	1	Botrf
neighbor 1	Corer	Sensorw	.33	Botu	Sensorw	.33	Botd	Sensorw	.34	Botl	Sensorw	

#Senses objects in the robot's enviornment.
element	Sensor	255	0	0	0	0	0	0	0
neighbor 1	Sensor Wall	1	Sensorw	Wall
neighbor 1	Sensor Radiation	1	Sensorr	Radiation
neighbor 1	Sensor Nuclearwaste	1	Sensorw	Nuclearwaste

#A sensor that has detected radioactive materials.
element	Sensorr	255	150	0	0	0	0	0	0
neighbor 1	Sensorr	Empty	1	Sensorr	Antirad
neighbor 1	Sensorr	Radiation	1	Sensorr	Antirad
neighbor 1	Sensorr Wall	1	Sensorw	Wall
neighbor 1	Sensorr Nuclearwaste	1	Sensorw	Nuclearwaste

#A sensor that has detected a wall or obstacle.
element	Sensorw	255	150	150	0	0	0	0	0

#Forms the sides of a bot, otherwise doesn't do much.
element	Metal	175	175	175	0	0	0	0	0

element	Antirad	150	150	255	0	0	0	0	0
self	.025	Antirad	1	Empty
neighbor .5	Antirad	Empty	1	Empty	Antirad
neighbor .3	Antirad	Radiation	1	Empty	Empty
neighbor .3	Antirad	Nuclearwaste	.3	Empty	Empty	.7	Empty	Nuclearwaste

item Botu	1
Coreu + Sensor * Metal - Empty .
"     ",
" -*- ",
" -+- ",
" --- ",
"     "

item Botd	1
Cored + Sensor * Metal - Empty .
"     ",
" --- ",
" -+- ",
" -*- ",
"     "

item Botl	1
Corel + Sensor * Metal - Empty .
"     ",
" --- ",
" *+- ",
" --- ",
"     "

item Botr	1
Corer + Sensor * Metal - Empty .
"     ",
" --- ",
" -+* ",
" --- ",
"     "

item Botuf	0
Coreu + Sensor * Metal - Empty .
"     ",
" -*- ",
" -+- ",
" --- ",
" ... ",
"     ",
"     "

item Botdf	0
Cored + Sensor * Metal - Empty .
"     ",
"     ",
" ... ",
" --- ",
" -+- ",
" -*- ",
"     "

item Botlf	0
Corel + Sensor * Metal - Empty .
"       ",
" ---.  ",
" *+-.  ",
" ---.  ",
"       "

item Botrf	0
Corer + Sensor * Metal - Empty .
"       ",
"  .--- ",
"  .-+* ",
"  .--- ",
"       "

#Dangerous nuclear waste. Bots can clean this up.
element	Nuclearwaste	50	200	50	0	0	0	0	1
neighbor .1	Nuclearwaste	Empty	1	Nuclearwaste	Radiation

#Comes from nuclear waste.
element	Radiation	150	255	150	0	0	0	0	1
self	.04	Radiation	1	Empty
neighbor .5	Radiation	Empty	1	Empty	Radiation

#Burns things.
element	Fire	255	0	0	0	0	0	0	1
self	.075	Fire	1	Empty
neighbor .5	Fire	Empty	1	Empty	Fire
neighbor .1	Fire	Metal	1	Fire	Empty
neighbor .1	Fire	Sensor	1	Fire	Fire
neighbor .1	Fire	Sensorr	1	Fire	Fire
neighbor .1	Fire	Sensorw	1	Fire	Fire
neighbor .3	Fire	Coreu	1	Fire	Fire
neighbor .3	Fire	Cored	1	Fire	Fire
neighbor .3	Fire	Corel	1	Fire	Fire
neighbor .3	Fire	Corer	1	Fire	Fire

#Spews fire.
item Turret	1
Tcore + Flameru 8 Flamerd 2 Flamerl 4 Flamerr 6
"     ",
"  8  ",
" 4+6 ",
"  2  ",
"     "

element	Tcore	0	255	255	0	0	0	0	0
self	.02	Tcore	1	Turret

element	Flameru	255	254	0	0	0	0	0	1
self .4	Flameru	.98	Flamerui	.02	Empty
neighbor 1	Flameru	Empty	1	Flameru	Fire
neighbor 1	Flameru	Wall	1	Fire	Wall
neighbor 1	Flameru	Nuclearwaste	1	Fire	Nuclearwaste

element	Flamerd	255	253	0	0	0	0	0	1
self .4	Flamerd	.98	Flamerdi	.02	Empty
neighbor 1	Flamerd	Empty	1	Flamerd	Fire
neighbor 1	Flamerd	Wall	1	Fire	Wall
neighbor 1	Flamerd	Nuclearwaste	1	Fire	Nuclearwaste

element	Flamerl	254	254	0	0	0	0	0	1
self .4	Flamerl	.98	Flamerli	.02	Empty
neighbor 1	Flamerl	Empty	1	Flamerl	Fire
neighbor 1	Flamerl	Wall	1	Fire	Wall
neighbor 1	Flamerl	Nuclearwaste	1	Fire	Nuclearwaste

element	Flamerr	253	254	0	0	0	0	0	1
self .4	Flamerr	.98	Flamerri	.02	Empty
neighbor 1	Flamerr	Empty	1	Flamerr	Fire
neighbor 1	Flamerr	Wall	1	Fire	Wall
neighbor 1	Flamerr	Nuclearwaste	1	Fire	Nuclearwaste

item Flamerui	0
Flameru + Fire *
"   ",
" + ",
" * ",
"   ",
"   "

item Flamerdi	0
Flamerd + Fire *
"   ",
"   ",
" * ",
" + ",
"   "

item Flamerli	0
Flamerl + Fire *
"     ",
" +*  ",
"     "

item Flamerri	0
Flamerr + Fire *
"     ",
"  *+ ",
"     "

#End
Personal tools