repo.or.cz
/
sdlbotor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lua_gettable -> lua_getfield
[sdlbotor.git]
/
objects.lua
blob
8677630f48ea01dbaa22a426743c01cd745d114e
1
objects
= { }
2
3
objects
[
"acid"
] =
4
{
5
tile
=
0
,
6
nuse
=
"Once"
,
7
Activation
=
function
()
8
pos
=
player
.
getPosition
();
9
map
.
acid
(
pos
.
x
,
pos
.
y
);
10
end
11
}
12
13
objects
[
"blueman"
] =
14
{
15
tile
=
1
,
16
nuse
=
"Drop"
,
17
Pickup
=
function
()
18
player
.
setImmune
(
1
);
19
end
,
20
Drop
=
function
()
21
player
.
setImmune
(
0
);
22
end
23
}