2 regmap(t
.width
,t
.height
,t
.spawn
[1],t
.spawn
[2])
3 for i
,p
in pairs(t
.platforms
) do
4 regplatform(p
[1],p
[2],p
[3],p
[4],p
.passable
)
6 for i
,w
in pairs(t
.weapons
) do
7 regweapon(w
.name
, w
.spawn
[1], w
.spawn
[2])
13 if t
.passable
== nil then