repo.or.cz
/
Projeto-PCG.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adicionado atributo maxspeed para thing
[Projeto-PCG.git]
/
weaponmanager.lua
blob
2f18846e34fc6a742e39ac85ec8c2766899266de
1
function
Weapon
(
t
)
2
local
w
=
regweapon
(
t
.
righthand
[
1
],
t
.
righthand
[
2
],
3
t
.
lefthand
[
1
],
t
.
lefthand
[
2
],
4
t
.
name
)
5
for
i
=
1
, #
t
.
sprite
do
6
regspriteline
(
w
,
t
.
sprite
[
i
][
1
],
t
.
sprite
[
i
][
2
],
t
.
sprite
[
i
][
3
],
t
.
sprite
[
i
][
4
])
7
end
8
return
t
9
end
10
11
function
Line
(
t
)
12
return
t
13
end