40 function objects
.acid
.Activation( obj
)
41 pos
= player
.getPosition();
42 map
.acid( pos
.x
, pos
.y
);
47 function objects
.blueman
.Pickup( obj
)
48 player
.setImmune( 1 );
51 function objects
.blueman
.Drop( obj
)
52 player
.setImmune( 0 );
57 function objects
.potion
.Activation( obj
)
63 function objects
.hihi
.Activation( obj
)
64 pos
= player
.getPosition();
65 for i
= pos
.x
+1,pos
.x
+10,1 do
66 map
.CreateObject( "acid", i
, pos
.y
)
72 function objects
.bomb
.Activation( obj
)
73 pos
= player
.getPosition();
74 for x
= pos
.x
-1,pos
.x
+1,1 do
75 for y
= pos
.y
-1,pos
.y
+1,1 do
76 if not (x
== pos
.x
and y
== pos
.y
) then
77 if map
.CheckFree( x
, y
) then
78 map
.CreateRobot( x
, y
)