Removed O.* files for old object descriptors
[sdlbotor.git] / objects.lua
blob4b2c8fbc15a5e56fffef9f009e4de2d57984971e
1 objects = { }
3 objects["acid"] =
5 tile = 0,
6 nuse = "Once",
7 Activation = function()
8 pos = player.getPosition();
9 map.acid( pos.x, pos.y );
10 end
13 objects["blueman"] =
15 tile = 1,
16 nuse = "Drop",
17 Pickup = function()
18 player.setImmune( 1 );
19 end,
20 Drop = function()
21 player.setImmune( 0 );
22 end
25 objects["hihi"] =
27 tile = 0,
28 nuse = "Once",
29 Activation = function()
30 pos = player.getPosition();
31 for i = pos.x+1,pos.x+10,1 do
32 map.CreateObject( "acid", i, pos.y )
33 end
34 end