SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local terrains = {
|
| 1 | + | return function (mapfile, terrains) |
| 2 | - | G = "grass", |
| 2 | + | |
| 3 | - | D = "dirt", |
| 3 | + | |
| 4 | - | R = "rock", |
| 4 | + | |
| 5 | - | } |
| 5 | + | |
| 6 | - | |
| 6 | + | |
| 7 | - | return function (mapfile) |
| 7 | + | |
| 8 | h = h + 1 | |
| 9 | end | |
| 10 | table.insert(new, row) | |
| 11 | end | |
| 12 | return new | |
| 13 | end |