Advertisement
Guest User

Rooms

a guest
Dec 31st, 2014
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. AddRoom("", { -- the name of the room
  2.  
  3. colour={r=.45,g=.5,b=.85,a=.50}, -- Debug Feature
  4. value =, -- the ground of the room
  5. tags = {}, -- tags for the room, used for adventure maps and ruins
  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.
  8.     countstaticlayouts = {} - number and type of static layouts in a room
  9. countprefabs= {}, -- creates prefabs to place in room
  10.  
  11. distributepercent = 0,-- density of items to distribute
  12. distributeprefabs = {}-- items to distribute and their frequency
  13.  
  14. prefabdata = {} --used to define more specific information on prefabs
  15. }
  16. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement