Advertisement
Guest User

Untitled

a guest
Nov 10th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. // This isn't in the .json, and no comments following this are either. This just acts as a way to organize my newbie code.
  2.  
  3. //neckbeard_locations.json
  4.  
  5. [
  6. {
  7. "type": "mapgen",
  8. "method": "json",
  9. "om_terrain": [ "basement_neckbeard" ],
  10. "weight": 250,
  11. "object": {
  12. "fill_ter": "t_rock",
  13. "rows": [
  14. " ",
  15. " ",
  16. " ",
  17. " ",
  18. " ",
  19. " ",
  20. " ",
  21. " ||||||||| ",
  22. " |TMT___B| ",
  23. " |TS____B| ",
  24. " |T_____?| ",
  25. " |_______| ",
  26. " |FC____R| ",
  27. " |||+|++|| ",
  28. " |___|..| ",
  29. " |UUU|<<| ",
  30. " |||||||| ",
  31. " ",
  32. " ",
  33. " ",
  34. " ",
  35. " ",
  36. " ",
  37. " "
  38. ],
  39. "terrain": {
  40. "|": "t_wall",
  41. "<": "t_stairs_up",
  42. "+": "t_door_c",
  43. "_": "t_floor",
  44. "T": "t_floor",
  45. "M": "t_floor",
  46. "B": "t_floor",
  47. "R": "t_floor",
  48. "U": "t_floor",
  49. "S": "t_floor",
  50. "C": "t_floor"
  51. },
  52. "furniture": {
  53. "T": "f_table",
  54. "R": "f_rack",
  55. "S": "f_chair",
  56. "C": "f_counter",
  57. "U": "f_utility_shelf",
  58. "F": "f_fridge",
  59. "?": "f_sofa",
  60. "M": "f_table"
  61. },
  62. "items": {
  63. "U": [ { "item": "neckbeard_snacks", "chance": 50 } ],
  64. "R": [ { "item": "a_television", "chance": 100 } ],
  65. "?": [ { "item": "neckbeard_magazine", "chance": 50 } ],
  66. "F": [ { "item": "neckbeard_snacks_fridge", "chance": 33 } ],
  67. "_": [ { "item": "neckbeard_garbage", "chance": 10 } ],
  68. "T": [ { "item": "neckbeard_garbage", "chance": 66 } ]
  69. }
  70. }
  71. }
  72. ],
  73. [
  74. {
  75. "type": "overmap_terrain",
  76. "id": "basement_neckbeard",
  77. "copy-from": "generic_city_house_basement"
  78. }
  79. ]
  80.  
  81. //neckbeard_start_locations.json
  82.  
  83. [
  84. {
  85. "type": "start_location",
  86. "ident": "basement_neckbeard",
  87. "name": "Mom's Basement",
  88. "target": "basement_neckbeard"
  89. }
  90. ]
  91.  
  92. //neckbeard_overmap_locations
  93.  
  94. [
  95. {
  96. "type": "region_settings",
  97. "id": "default",
  98. "city": {
  99. "basements": { "basement": 1000, "basement_neckbeard": 25 "basement_hidden_lab_stairs": 25, "basement_bionic": 50 },
  100. }
  101. }
  102. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement