SHOW:
|
|
- or go back to the newest paste.
| 1 | AddRoom("", { -- the name of the room
| |
| 2 | ||
| 3 | - | colour={r=.45,g=.5,b=.85,a=.50}, -- Debug Feature
|
| 3 | + | colour={r=.45,g=.5,b=.85,a=.50}, -- Debug Feature
|
| 4 | - | value =, -- the ground of the room |
| 4 | + | value =, -- the ground of the room |
| 5 | - | tags = {}, -- tags for the room, used for adventure maps and ruins
|
| 5 | + | tags = {}, -- tags for the room, used for adventure maps and ruins
|
| 6 | - | contents = { -- list of what exists in the room
|
| 6 | + | contents = { -- list of what exists in the room
|
| 7 | - | custom_tiles={} -- used for more complex rooms, specifically in cave. will not be covered in this guide.
|
| 7 | + | custom_tiles={} -- used for more complex rooms, specifically in cave. will not be covered in this guide.
|
| 8 | - | countstaticlayouts = {} - number and type of static layouts in a room
|
| 8 | + | countstaticlayouts = {} - number and type of static layouts in a room
|
| 9 | - | countprefabs= {}, -- creates prefabs to place in room
|
| 9 | + | countprefabs= {}, -- creates prefabs to place in room
|
| 10 | ||
| 11 | - | distributepercent = 0,-- density of items to distribute |
| 11 | + | distributepercent = 0,-- density of items to distribute |
| 12 | - | distributeprefabs = {}-- items to distribute and their frequency
|
| 12 | + | distributeprefabs = {}-- items to distribute and their frequency
|
| 13 | ||
| 14 | - | prefabdata = {} --used to define more specific information on prefabs
|
| 14 | + | prefabdata = {} --used to define more specific information on prefabs
|
| 15 | - | } |
| 15 | + | } |
| 16 | - | }) |
| 16 | + | }) |