default.lua 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929
  1. -- Todo:
  2. -- Add grand staircases (bridge and passage variants). (Note: maybe we don't want these? Fortresses should be 2D only ....)
  3. -- Add connections between sections of gatehouse tower.
  4. -- Allow fortress to generate off of gatehouse tower sections.
  5. -- Add raised plaza.
  6. -- Add lava-well room.
  7. -- Add throne room.
  8. -- Add balconies.
  9. -- Add lava aquaducts.
  10. -- Add bluegrass farm.
  11. -- Add single-room chambers.
  12. -- Add great hall.
  13. -- Add dungeon prison.
  14. -- Add portal chamber.
  15. -- Add ziggurat plaza.
  16. -- Add table/alter room.
  17. fortress.default = {
  18. -- The initial schem placed by the spawner.
  19. -- This starts the rest of the fortress growing off it.
  20. initial = {
  21. "junction",
  22. "junction_walk_bridge",
  23. "plaza",
  24. "ew_gatehouse",
  25. "ns_gatehouse",
  26. "ns_bridge_passage",
  27. "ew_bridge_passage",
  28. },
  29. -- Size of cells.
  30. -- This is how much the algorithm steps in a direction before generating the
  31. -- next chunk of fortress.
  32. step = {x=11, y=11, z=11},
  33. -- Maximum fortress extent.
  34. -- The fortress spawner will not spawn any chunks farther than this distance
  35. -- from the starting position.
  36. max_extent = {x=150, y=100, z=150},
  37. -- If chunk position would exceed the soft extent, then the chance for all
  38. -- sub-chunks becomes 0, and fallback chunks (if any) are used ONLY.
  39. soft_extent = {x=100, y=30, z=100},
  40. -- List of node replacements.
  41. replacements = {
  42. ["torches:torch_wall"] = "torches:iron_torch",
  43. ["rackstone:brick"] = "rackstone:brick_black",
  44. ["stairs:slab_rackstone_brick"] = "stairs:slab_rackstone_brick_black",
  45. ["stairs:stair_rackstone_brick"] = "stairs:stair_basaltic_rubble",
  46. },
  47. -- Fortress section definitions.
  48. -- Each chunk has a name, and its table defines which other chunks may be
  49. -- spawned off it.
  50. --
  51. -- Note: for each chunk, 'size' is given in terms of 'step', this is NOT
  52. -- actual size coordinates. The fortress spawner multiplies 'size' by 'step'
  53. -- value and uses the result to detect whether a particular location has
  54. -- already spawned a section of fortress.
  55. --
  56. -- You typically only need to specify 'size' for sections of fortress that are
  57. -- larger than 'step' size. The default size is {1, 1, 1}.
  58. --
  59. -- The 'adjust' schematic variable is for slightly adjusting the precise
  60. -- positioning of an individual schematic file. Chunks can have multiple
  61. -- schematic files, and often each one must have its position adjusted a bit
  62. -- to prevent overlaps.
  63. --
  64. -- The 'fallback' flag indicates that a chunk should be placed if no other
  65. -- chunk was chosen. E.g., if several possible neighbors are specified in a
  66. -- particular chunk's data, but none of those neighbors pass the 'chance'
  67. -- test, then the first neighbor with 'fallback' set will be used instead.
  68. -- Any single neighbor with 'fallback' must be the LAST entry in the neighbors
  69. -- list, but there may be multiple neighbors thus flagged -- they will be
  70. -- added in order.
  71. chunks = {
  72. plaza = {
  73. schem = {
  74. {file="nf_building_solid", force=false, adjust={x=0, y=-7, z=0}},
  75. {file="nf_building_solid", force=false, adjust={x=11, y=-7, z=0}},
  76. {file="nf_building_solid", force=false, adjust={x=22, y=-7, z=0}},
  77. {file="nf_building_solid", force=false, adjust={x=0, y=-7, z=11}},
  78. {file="nf_building_solid", force=false, adjust={x=11, y=-7, z=11}},
  79. {file="nf_building_solid", force=false, adjust={x=22, y=-7, z=11}},
  80. {file="nf_building_solid", force=false, adjust={x=0, y=-7, z=22}},
  81. {file="nf_building_solid", force=false, adjust={x=11, y=-7, z=22}},
  82. {file="nf_building_solid", force=false, adjust={x=22, y=-7, z=22}},
  83. },
  84. size = {x=3, y=1, z=3},
  85. next = {
  86. ["+x"] = {
  87. {chunk="ns", fallback=true, continue=true, shift={x=2, y=0, z=0}},
  88. {chunk="ns_plaza_e", fallback=true, continue=true, shift={x=2, y=0, z=1}},
  89. {chunk="ns", fallback=true, continue=true, shift={x=2, y=0, z=2}},
  90. {chunk="junction", fallback=true, continue=true, shift={x=2, y=0, z=3}},
  91. },
  92. ["-x"] = {
  93. {chunk="ns", fallback=true, continue=true, shift={x=0, y=0, z=0}},
  94. {chunk="ns_plaza_w", fallback=true, continue=true, shift={x=-1, y=0, z=1}},
  95. {chunk="ns", fallback=true, continue=true, shift={x=0, y=0, z=2}},
  96. {chunk="junction", fallback=true, continue=true, shift={x=0, y=0, z=-1}},
  97. },
  98. ["+z"] = {
  99. {chunk="ew", fallback=true, continue=true, shift={x=0, y=0, z=2}},
  100. {chunk="ew_plaza_n", fallback=true, continue=true, shift={x=1, y=0, z=2}},
  101. {chunk="ew", fallback=true, continue=true, shift={x=2, y=0, z=2}},
  102. {chunk="junction", fallback=true, continue=true, shift={x=-1, y=0, z=2}},
  103. },
  104. ["-z"] = {
  105. {chunk="ew", fallback=true, continue=true, shift={x=0, y=0, z=0}},
  106. {chunk="ew_plaza_s", fallback=true, continue=true, shift={x=1, y=0, z=-1}},
  107. {chunk="ew", fallback=true, continue=true, shift={x=2, y=0, z=0}},
  108. {chunk="junction", fallback=true, continue=true, shift={x=3, y=0, z=0}},
  109. },
  110. ["-y"] = {
  111. {chunk="pillar", fallback=true, continue=true, shift={x=0, y=0, z=0}},
  112. {chunk="pillar", fallback=true, continue=true, shift={x=2, y=0, z=0}},
  113. {chunk="pillar", fallback=true, continue=true, shift={x=0, y=0, z=2}},
  114. {chunk="pillar", fallback=true, continue=true, shift={x=2, y=0, z=2}},
  115. },
  116. },
  117. },
  118. -- Corridor sections.
  119. junction = {
  120. schem = {
  121. {file="nf_passage_4x_junction"},
  122. {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
  123. {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
  124. {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
  125. {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
  126. },
  127. next = {
  128. ["+x"] = {
  129. {chunk="ew", chance=80, shift={x=0, y=0, z=0}},
  130. {chunk="w_capped", fallback=true},
  131. },
  132. ["+z"] = {
  133. {chunk="ns", chance=80},
  134. {chunk="s_capped", fallback=true},
  135. },
  136. ["-x"] = {
  137. {chunk="ew", chance=80},
  138. {chunk="e_capped", fallback=true},
  139. },
  140. ["-z"] = {
  141. {chunk="ns", chance=80},
  142. {chunk="n_capped", fallback=true},
  143. },
  144. ["-y"] = {{chunk="solid", fallback=true}},
  145. ["+y"] = {{chunk="junction_walk", fallback=true}},
  146. },
  147. },
  148. ew = {
  149. schem = {
  150. {file="nf_passage_ew"},
  151. {file="ew_hall_end_stair_e", priority=100, force=false, adjust={x=11, y=1, z=2}},
  152. {file="ew_hall_end_stair_w", priority=100, force=false, adjust={x=-3, y=1, z=2}},
  153. {file="nf_detail_lava1", chance=10, force=true, adjust={x=3, y=3, z=3}},
  154. {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  155. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  156. {file="nf_detail_room1", chance=15, force=true, adjust={x=3, y=3, z=3}},
  157. {file="nf_detail_room2", chance=15, force=true, adjust={x=3, y=4, z=3}},
  158. {file="nf_detail_room3", chance=15, rotation="90", force=false, adjust={x=0, y=4, z=3}},
  159. },
  160. chests = {
  161. {pos={x_min=0, x_max=10, y=4, z=3}, chance=10, loot="common"},
  162. {pos={x_min=0, x_max=10, y=4, z=7}, chance=10, loot="common"},
  163. {pos={x_min=0, x_max=10, y=4, z=3}, chance=5, loot="rare"},
  164. {pos={x_min=0, x_max=10, y=4, z=7}, chance=5, loot="rare"},
  165. },
  166. next = {
  167. ["+x"] = {
  168. {chunk="ew", chance=50},
  169. {chunk="ew_stair", chance=20},
  170. {chunk="ew_bridge_passage", chance=10, shift={x=0, y=0, z=-1}},
  171. {chunk="ew_bridge_passage_n", chance=30, shift={x=0, y=0, z=0}},
  172. {chunk="ew_bridge_passage_s", chance=30, shift={x=0, y=0, z=1}},
  173. {chunk="sw_corner", chance=20},
  174. {chunk="nw_corner", chance=20},
  175. {chunk="swn_t", chance=10},
  176. {chunk="esw_t", chance=10},
  177. {chunk="wne_t", chance=10},
  178. {chunk="junction", chance=20},
  179. {chunk="w_capped", fallback=true},
  180. },
  181. ["-x"] = {
  182. {chunk="ew", chance=50},
  183. {chunk="ew_stair", chance=20},
  184. {chunk="ew_bridge_passage", chance=10, shift={x=0, y=0, z=-1}},
  185. {chunk="ew_bridge_passage_n", chance=30, shift={x=0, y=0, z=0}},
  186. {chunk="ew_bridge_passage_s", chance=30, shift={x=0, y=0, z=1}},
  187. {chunk="se_corner", chance=20},
  188. {chunk="ne_corner", chance=20},
  189. {chunk="wne_t", chance=10},
  190. {chunk="esw_t", chance=10},
  191. {chunk="nes_t", chance=10},
  192. {chunk="junction", chance=20},
  193. {chunk="e_capped", fallback=true},
  194. },
  195. ["-y"] = {{chunk="solid", fallback=true}},
  196. ["+y"] = {{chunk="ew_walk", fallback=true}},
  197. },
  198. },
  199. ns = {
  200. schem = {
  201. {file="nf_passage_ns"},
  202. {file="ns_hall_end_stair_n", priority=100, force=false, adjust={x=2, y=1, z=11}},
  203. {file="ns_hall_end_stair_s", priority=100, force=false, adjust={x=2, y=1, z=-3}},
  204. {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=3, z=3}},
  205. {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  206. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  207. {file="nf_detail_room1", chance=15, rotation="90", force=true, adjust={x=3, y=3, z=3}},
  208. {file="nf_detail_room2", chance=15, rotation="90", force=true, adjust={x=3, y=4, z=3}},
  209. {file="nf_detail_room3", chance=15, force=false, adjust={x=3, y=4, z=0}},
  210. },
  211. chests = {
  212. {pos={x=3, y=4, z_min=0, z_max=10}, chance=10, loot="common"},
  213. {pos={x=7, y=4, z_min=0, z_max=10}, chance=10, loot="common"},
  214. {pos={x=3, y=4, z_min=0, z_max=10}, chance=5, loot="rare"},
  215. {pos={x=7, y=4, z_min=0, z_max=10}, chance=5, loot="rare"},
  216. },
  217. next = {
  218. ["+z"] = {
  219. {chunk="ns", chance=50},
  220. {chunk="ns_stair", chance=20},
  221. {chunk="ns_bridge_passage", chance=10, shift={x=-1, y=0, z=0}},
  222. {chunk="ns_bridge_passage_e", chance=30, shift={x=0, y=0, z=0}},
  223. {chunk="ns_bridge_passage_w", chance=30, shift={x=1, y=0, z=0}},
  224. {chunk="se_corner", chance=20},
  225. {chunk="sw_corner", chance=20},
  226. {chunk="nes_t", chance=10},
  227. {chunk="esw_t", chance=10},
  228. {chunk="swn_t", chance=10},
  229. {chunk="junction", chance=20},
  230. {chunk="s_capped", fallback=true},
  231. },
  232. ["-z"] = {
  233. {chunk="ns", chance=50},
  234. {chunk="ns_stair", chance=20},
  235. {chunk="ns_bridge_passage", chance=10, shift={x=-1, y=0, z=0}},
  236. {chunk="ns_bridge_passage_e", chance=30, shift={x=0, y=0, z=0}},
  237. {chunk="ns_bridge_passage_w", chance=30, shift={x=1, y=0, z=0}},
  238. {chunk="ne_corner", chance=20},
  239. {chunk="nw_corner", chance=20},
  240. {chunk="nes_t", chance=10},
  241. {chunk="wne_t", chance=10},
  242. {chunk="swn_t", chance=10},
  243. {chunk="junction", chance=20},
  244. {chunk="n_capped", fallback=true},
  245. },
  246. ["-y"] = {{chunk="solid", fallback=true}},
  247. ["+y"] = {{chunk="ns_walk", fallback=true}},
  248. },
  249. },
  250. ns_plaza_e = {
  251. schem = {
  252. {file="ns_bridge_passage_e"},
  253. {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=3, z=3}},
  254. {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  255. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  256. {file="plaza_door_ew", force=true, adjust={x=0, y=4, z=3}},
  257. },
  258. size = {x=2, y=1, z=1},
  259. next = {
  260. ["+x"] = {
  261. {chunk="ew_walk_bridge", chance=70, shift={x=1, y=0, z=0}},
  262. {chunk="w_broken_walk", fallback=true, shift={x=1, y=0, z=0}},
  263. },
  264. ["-y"] = {
  265. {chunk="bridge_arch_ew", fallback=true, shift={x=1, y=0, z=0}, continue=true},
  266. {chunk="solid", fallback=true},
  267. },
  268. ["+y"] = {
  269. {chunk="ns_walk", fallback=true},
  270. },
  271. },
  272. },
  273. ns_plaza_w = {
  274. schem = {
  275. {file="ns_bridge_passage_w"},
  276. {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=14, y=3, z=3}},
  277. {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=14, y=3, z=3}},
  278. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=14, y=3, z=3}},
  279. {file="plaza_door_ew", force=true, adjust={x=19, y=4, z=3}},
  280. },
  281. size = {x=2, y=1, z=1},
  282. next = {
  283. ["-x"] = {
  284. {chunk="ew_walk_bridge", chance=70, shift={x=-2, y=0, z=0}},
  285. {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
  286. },
  287. ["-y"] = {
  288. {chunk="bridge_arch_ew", fallback=true, shift={x=0, y=0, z=0}, continue=true},
  289. {chunk="solid", fallback=true, shift={x=1, y=0, z=0}},
  290. },
  291. ["+y"] = {
  292. {chunk="ns_walk", fallback=true, shift={x=1, y=0, z=0}},
  293. },
  294. },
  295. },
  296. ew_plaza_n = {
  297. schem = {
  298. {file="ew_bridge_passage_n"},
  299. {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=3, z=3}},
  300. {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  301. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  302. {file="plaza_door_ns", force=true, adjust={x=3, y=4, z=0}},
  303. },
  304. size = {x=1, y=1, z=2},
  305. next = {
  306. ["+z"] = {
  307. {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=1}},
  308. {chunk="s_broken_walk", fallback=true, shift={x=0, y=0, z=1}},
  309. },
  310. ["-y"] = {
  311. {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=1}, continue=true},
  312. {chunk="solid", fallback=true},
  313. },
  314. ["+y"] = {
  315. {chunk="ew_walk", fallback=true},
  316. },
  317. },
  318. },
  319. ew_plaza_s = {
  320. schem = {
  321. {file="ew_bridge_passage_s"},
  322. {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=3, z=3}},
  323. {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  324. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
  325. {file="plaza_door_ns", force=true, adjust={x=3, y=4, z=19}},
  326. },
  327. size = {x=1, y=1, z=2},
  328. next = {
  329. ["-z"] = {
  330. {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=-2}},
  331. {chunk="n_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
  332. },
  333. ["-y"] = {
  334. {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=0}, continue=true},
  335. {chunk="solid", fallback=true, shift={x=0, y=0, z=1}},
  336. },
  337. ["+y"] = {
  338. {chunk="ew_walk", fallback=true, shift={x=0, y=0, z=1}},
  339. },
  340. },
  341. },
  342. n_capped = {
  343. schem = {
  344. {file="nf_passage_n_capped"},
  345. {file="hall_end_stair", rotation="180", chance=20, force=true, priority=1000, adjust={x=4, y=4, z=5}},
  346. },
  347. chests = {
  348. {pos={x_min=3, x_max=7, y=4, z=3}, chance=50, loot="common"},
  349. {pos={x=3, y=4, z_min=3, z_max=10}, chance=30, loot="rare"},
  350. {pos={x=7, y=4, z_min=3, z_max=10}, chance=20, loot="exceptional"},
  351. },
  352. next = {
  353. ["-y"] = {{chunk="solid", fallback=true}},
  354. ["+y"] = {{chunk="n_capped_walk", fallback=true}},
  355. },
  356. },
  357. s_capped = {
  358. schem = {
  359. {file="nf_passage_s_capped"},
  360. {file="hall_end_stair", rotation="0", chance=20, force=true, priority=1000, adjust={x=4, y=4, z=-2}},
  361. },
  362. chests = {
  363. {pos={x_min=3, x_max=7, y=4, z=7}, chance=50, loot="common"},
  364. {pos={x=3, y=4, z_min=0, z_max=7}, chance=30, loot="rare"},
  365. {pos={x=7, y=4, z_min=0, z_max=7}, chance=20, loot="exceptional"},
  366. },
  367. next = {
  368. ["-y"] = {{chunk="solid", fallback=true}},
  369. ["+y"] = {{chunk="s_capped_walk", fallback=true}},
  370. },
  371. },
  372. e_capped = {
  373. schem = {
  374. {file="nf_passage_e_capped"},
  375. {file="hall_end_stair", rotation="270", chance=20, force=true, priority=1000, adjust={x=5, y=4, z=4}},
  376. },
  377. chests = {
  378. {pos={x_min=3, x_max=10, y=4, z=3}, chance=50, loot="common"},
  379. {pos={x_min=3, x_max=10, y=4, z=7}, chance=30, loot="rare"},
  380. {pos={x=3, y=4, z_min=3, z_max=7}, chance=20, loot="exceptional"},
  381. },
  382. next = {
  383. ["-y"] = {{chunk="solid", fallback=true}},
  384. ["+y"] = {{chunk="e_capped_walk", fallback=true}},
  385. },
  386. },
  387. w_capped = {
  388. schem = {
  389. {file="nf_passage_w_capped"},
  390. {file="hall_end_stair", rotation="90", chance=20, force=true, priority=1000, adjust={x=-2, y=4, z=4}},
  391. },
  392. chests = {
  393. {pos={x_min=0, x_max=7, y=4, z=3}, chance=50, loot="common"},
  394. {pos={x_min=0, x_max=7, y=4, z=7}, chance=30, loot="rare"},
  395. {pos={x=7, y=4, z_min=3, z_max=7}, chance=20, loot="exceptional"},
  396. },
  397. next = {
  398. ["-y"] = {{chunk="solid", fallback=true}},
  399. ["+y"] = {{chunk="w_capped_walk", fallback=true}},
  400. },
  401. },
  402. ne_corner = {
  403. schem = {
  404. {file="nf_passage_ne_corner"},
  405. {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
  406. {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
  407. },
  408. next = {
  409. ["+z"] = {
  410. {chunk="ns", chance=50},
  411. {chunk="s_capped", fallback=true},
  412. },
  413. ["+x"] = {
  414. {chunk="ew", chance=70},
  415. {chunk="w_capped", fallback=true},
  416. },
  417. ["-y"] = {{chunk="solid", fallback=true}},
  418. ["+y"] = {{chunk="ne_corner_walk", fallback=true}},
  419. },
  420. },
  421. nw_corner = {
  422. schem = {
  423. {file="nf_passage_nw_corner"},
  424. {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
  425. {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
  426. },
  427. next = {
  428. ["-x"] = {
  429. {chunk="ew", chance=70},
  430. {chunk="e_capped", fallback=true},
  431. },
  432. ["+z"] = {
  433. {chunk="ns", chance=50},
  434. {chunk="s_capped", fallback=true},
  435. },
  436. ["-y"] = {{chunk="solid", fallback=true}},
  437. ["+y"] = {{chunk="nw_corner_walk", fallback=true}},
  438. },
  439. },
  440. sw_corner = {
  441. schem = {
  442. {file="nf_passage_sw_corner"},
  443. {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
  444. {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
  445. },
  446. next = {
  447. ["-z"] = {
  448. {chunk="ns", chance=50},
  449. {chunk="n_capped", fallback=true},
  450. },
  451. ["-x"] = {
  452. {chunk="ew", chance=70},
  453. {chunk="e_capped", fallback=true},
  454. },
  455. ["-y"] = {{chunk="solid", fallback=true}},
  456. ["+y"] = {{chunk="sw_corner_walk", fallback=true}},
  457. },
  458. },
  459. se_corner = {
  460. schem = {
  461. {file="nf_passage_se_corner"},
  462. {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
  463. {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
  464. },
  465. next = {
  466. ["-z"] = {
  467. {chunk="ns", chance=50},
  468. {chunk="n_capped", fallback=true},
  469. },
  470. ["+x"] = {
  471. {chunk="ew", chance=70},
  472. {chunk="w_capped", fallback=true},
  473. },
  474. ["-y"] = {{chunk="solid", fallback=true}},
  475. ["+y"] = {{chunk="se_corner_walk", fallback=true}},
  476. },
  477. },
  478. esw_t = {
  479. schem = {
  480. {file="nf_passage_esw_t"},
  481. {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
  482. {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
  483. {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
  484. },
  485. next = {
  486. ["+x"] = {
  487. {chunk="ew", chance=70},
  488. {chunk="w_capped", fallback=true},
  489. },
  490. ["-x"] = {
  491. {chunk="ew", chance=70},
  492. {chunk="e_capped", fallback=true},
  493. },
  494. ["-z"] = {
  495. {chunk="ns", chance=50},
  496. {chunk="n_capped", fallback=true},
  497. },
  498. ["-y"] = {{chunk="solid", fallback=true}},
  499. ["+y"] = {{chunk="esw_t_walk", fallback=true}},
  500. },
  501. },
  502. nes_t = {
  503. schem = {
  504. {file="nf_passage_nes_t"},
  505. {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
  506. {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
  507. {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
  508. },
  509. next = {
  510. ["+z"] = {
  511. {chunk="ns", chance=50},
  512. {chunk="s_capped", fallback=true},
  513. },
  514. ["-z"] = {
  515. {chunk="ns", chance=50},
  516. {chunk="n_capped", fallback=true},
  517. },
  518. ["+x"] = {
  519. {chunk="ew", chance=70},
  520. {chunk="w_capped", fallback=true},
  521. },
  522. ["-y"] = {{chunk="solid", fallback=true}},
  523. ["+y"] = {{chunk="nes_t_walk", fallback=true}},
  524. },
  525. },
  526. swn_t = {
  527. schem = {
  528. {file="nf_passage_swn_t"},
  529. {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
  530. {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
  531. {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
  532. },
  533. next = {
  534. ["-z"] = {
  535. {chunk="ns", chance=50},
  536. {chunk="n_capped", fallback=true},
  537. },
  538. ["+z"] = {
  539. {chunk="ns", chance=50},
  540. {chunk="s_capped", fallback=true},
  541. },
  542. ["-x"] = {
  543. {chunk="ew", chance=70},
  544. {chunk="e_capped", fallback=true},
  545. },
  546. ["-y"] = {{chunk="solid", fallback=true}},
  547. ["+y"] = {{chunk="swn_t_walk", fallback=true}},
  548. },
  549. },
  550. wne_t = {
  551. schem = {
  552. {file="nf_passage_wne_t"},
  553. {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
  554. {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
  555. {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
  556. },
  557. next = {
  558. ["-x"] = {
  559. {chunk="ew", chance=70},
  560. {chunk="e_capped", fallback=true},
  561. },
  562. ["+x"] = {
  563. {chunk="ew", chance=70},
  564. {chunk="w_capped", fallback=true},
  565. },
  566. ["+z"] = {
  567. {chunk="ns", chance=50},
  568. {chunk="s_capped", fallback=true},
  569. },
  570. ["-y"] = {{chunk="solid", fallback=true}},
  571. ["+y"] = {{chunk="wne_t_walk", fallback=true}},
  572. },
  573. },
  574. -- Bridge/passage connections.
  575. ns_bridge_passage = {
  576. schem = {
  577. {file="nf_ns_passage_ew_bridge_access"},
  578. {file="ns_hall_end_stair_n", priority=1000, force=false, adjust={x=13, y=1, z=11}},
  579. {file="ns_hall_end_stair_s", priority=1000, force=false, adjust={x=13, y=1, z=-3}},
  580. },
  581. size = {x=3, y=1, z=1},
  582. limit = 4,
  583. next = {
  584. ["+z"] = {
  585. {chunk="ns", shift={x=1, y=0, z=0}},
  586. {chunk="s_capped", fallback=true, shift={x=1, y=0, z=0}},
  587. },
  588. ["-z"] = {
  589. {chunk="ns", shift={x=1, y=0, z=0}},
  590. {chunk="n_capped", fallback=true, shift={x=1, y=0, z=0}},
  591. },
  592. ["+x"] = {
  593. {chunk="ew_walk_bridge", chance=70, shift={x=2, y=0, z=0}},
  594. {chunk="w_broken_walk", fallback=true, shift={x=2, y=0, z=0}},
  595. },
  596. ["-x"] = {
  597. {chunk="ew_walk_bridge", chance=70, shift={x=-2, y=0, z=0}},
  598. {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
  599. },
  600. ["-y"] = {
  601. {chunk="bridge_arch_ew", fallback=true, shift={x=0, y=0, z=0}, continue=true},
  602. {chunk="bridge_arch_ew", fallback=true, shift={x=2, y=0, z=0}, continue=true},
  603. {chunk="solid", fallback=true, shift={x=1, y=0, z=0}},
  604. },
  605. ["+y"] = {
  606. {chunk="ns_walk", shift={x=1, y=0, z=0}, fallback=true},
  607. },
  608. },
  609. },
  610. ns_bridge_passage_w = {
  611. schem = {
  612. {file="ns_bridge_passage_w"},
  613. {file="ns_hall_end_stair_n", priority=1000, force=false, adjust={x=13, y=1, z=11}},
  614. {file="ns_hall_end_stair_s", priority=1000, force=false, adjust={x=13, y=1, z=-3}},
  615. },
  616. size = {x=2, y=1, z=1},
  617. limit = 4,
  618. next = {
  619. ["+z"] = {
  620. {chunk="ns", shift={x=1, y=0, z=0}},
  621. {chunk="s_capped", fallback=true, shift={x=1, y=0, z=0}},
  622. },
  623. ["-z"] = {
  624. {chunk="ns", shift={x=1, y=0, z=0}},
  625. {chunk="n_capped", fallback=true, shift={x=1, y=0, z=0}},
  626. },
  627. ["-x"] = {
  628. {chunk="ew_walk_bridge", chance=70, shift={x=-2, y=0, z=0}},
  629. {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
  630. },
  631. ["-y"] = {
  632. {chunk="bridge_arch_ew", fallback=true, shift={x=0, y=0, z=0}, continue=true},
  633. {chunk="solid", fallback=true, shift={x=1, y=0, z=0}},
  634. },
  635. ["+y"] = {
  636. {chunk="ns_walk", shift={x=1, y=0, z=0}, fallback=true},
  637. },
  638. },
  639. },
  640. ns_bridge_passage_e = {
  641. schem = {
  642. {file="ns_bridge_passage_e"},
  643. {file="ns_hall_end_stair_n", priority=1000, force=false, adjust={x=2, y=1, z=11}},
  644. {file="ns_hall_end_stair_s", priority=1000, force=false, adjust={x=2, y=1, z=-3}},
  645. },
  646. size = {x=2, y=1, z=1},
  647. limit = 4,
  648. next = {
  649. ["+z"] = {
  650. {chunk="ns", shift={x=0, y=0, z=0}},
  651. {chunk="s_capped", fallback=true, shift={x=0, y=0, z=0}},
  652. },
  653. ["-z"] = {
  654. {chunk="ns", shift={x=0, y=0, z=0}},
  655. {chunk="n_capped", fallback=true, shift={x=0, y=0, z=0}},
  656. },
  657. ["+x"] = {
  658. {chunk="ew_walk_bridge", chance=70, shift={x=1, y=0, z=0}},
  659. {chunk="w_broken_walk", fallback=true, shift={x=1, y=0, z=0}},
  660. },
  661. ["-y"] = {
  662. {chunk="bridge_arch_ew", fallback=true, shift={x=1, y=0, z=0}, continue=true},
  663. {chunk="solid", fallback=true, shift={x=0, y=0, z=0}},
  664. },
  665. ["+y"] = {
  666. {chunk="ns_walk", shift={x=0, y=0, z=0}, fallback=true},
  667. },
  668. },
  669. },
  670. ew_bridge_passage = {
  671. schem = {
  672. {file="nf_ew_passage_ns_bridge_access"},
  673. {file="ew_hall_end_stair_e", priority=1000, force=false, adjust={x=11, y=1, z=13}},
  674. {file="ew_hall_end_stair_w", priority=1000, force=false, adjust={x=-3, y=1, z=13}},
  675. },
  676. size = {x=1, y=1, z=3},
  677. limit = 4,
  678. next = {
  679. ["+x"] = {
  680. {chunk="ew", shift={x=0, y=0, z=1}},
  681. {chunk="w_capped", fallback=true, shift={x=0, y=0, z=1}},
  682. },
  683. ["-x"] = {
  684. {chunk="ew", shift={x=0, y=0, z=1}},
  685. {chunk="e_capped", fallback=true, shift={x=0, y=0, z=1}},
  686. },
  687. ["+z"] = {
  688. {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=2}},
  689. {chunk="s_broken_walk", fallback=true, shift={x=0, y=0, z=2}},
  690. },
  691. ["-z"] = {
  692. {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=-2}},
  693. {chunk="n_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
  694. },
  695. ["-y"] = {
  696. {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=0}, continue=true},
  697. {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=2}, continue=true},
  698. {chunk="solid", fallback=true, shift={x=0, y=0, z=1}},
  699. },
  700. ["+y"] = {
  701. {chunk="ew_walk", shift={x=0, y=0, z=1}, fallback=true},
  702. },
  703. },
  704. },
  705. ew_bridge_passage_n = {
  706. schem = {
  707. {file="ew_bridge_passage_n"},
  708. {file="ew_hall_end_stair_e", priority=1000, force=false, adjust={x=11, y=1, z=2}},
  709. {file="ew_hall_end_stair_w", priority=1000, force=false, adjust={x=-3, y=1, z=2}},
  710. },
  711. size = {x=1, y=1, z=2},
  712. limit = 4,
  713. next = {
  714. ["+x"] = {
  715. {chunk="ew", shift={x=0, y=0, z=0}},
  716. {chunk="w_capped", fallback=true, shift={x=0, y=0, z=0}},
  717. },
  718. ["-x"] = {
  719. {chunk="ew", shift={x=0, y=0, z=0}},
  720. {chunk="e_capped", fallback=true, shift={x=0, y=0, z=0}},
  721. },
  722. ["+z"] = {
  723. {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=1}},
  724. {chunk="s_broken_walk", fallback=true, shift={x=0, y=0, z=1}},
  725. },
  726. ["-y"] = {
  727. {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=1}, continue=true},
  728. {chunk="solid", fallback=true, shift={x=0, y=0, z=0}},
  729. },
  730. ["+y"] = {
  731. {chunk="ew_walk", shift={x=0, y=0, z=0}, fallback=true},
  732. },
  733. },
  734. },
  735. ew_bridge_passage_s = {
  736. schem = {
  737. {file="ew_bridge_passage_s"},
  738. {file="ew_hall_end_stair_e", priority=1000, force=false, adjust={x=11, y=1, z=13}},
  739. {file="ew_hall_end_stair_w", priority=1000, force=false, adjust={x=-3, y=1, z=13}},
  740. },
  741. size = {x=1, y=1, z=2},
  742. limit = 4,
  743. next = {
  744. ["+x"] = {
  745. {chunk="ew", shift={x=0, y=0, z=1}},
  746. {chunk="w_capped", fallback=true, shift={x=0, y=0, z=1}},
  747. },
  748. ["-x"] = {
  749. {chunk="ew", shift={x=0, y=0, z=1}},
  750. {chunk="e_capped", fallback=true, shift={x=0, y=0, z=1}},
  751. },
  752. ["-z"] = {
  753. {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=-2}},
  754. {chunk="n_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
  755. },
  756. ["-y"] = {
  757. {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=0}, continue=true},
  758. {chunk="solid", fallback=true, shift={x=0, y=0, z=1}},
  759. },
  760. ["+y"] = {
  761. {chunk="ew_walk", shift={x=0, y=0, z=1}, fallback=true},
  762. },
  763. },
  764. },
  765. -- Bridge junctions.
  766. junction_walk_bridge = {
  767. schem = {
  768. {file="nf_walkway_4x_junction", force=false},
  769. {file="bridge_junction_house", chance=50, force=true},
  770. {file="nf_detail_lava_well1", chance=50, force=true, adjust={x=3, y=1, z=3}},
  771. },
  772. -- If number of chunks excees this limit, then algorithm reduces
  773. -- the chance by 10% for every unit over the limit. This affects
  774. -- all chunks which have this chunk as a possible follow-up.
  775. limit = 3,
  776. next = {
  777. ["-y"] = {
  778. {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
  779. },
  780. ["+x"] = {
  781. {chunk="ew_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
  782. {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  783. {chunk="w_broken_walk", fallback=true},
  784. },
  785. ["-x"] = {
  786. {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=0}},
  787. {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  788. {chunk="e_broken_walk", fallback=true},
  789. },
  790. ["+z"] = {
  791. {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
  792. {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  793. {chunk="s_broken_walk", fallback=true},
  794. },
  795. ["-z"] = {
  796. {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=-2}},
  797. {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  798. {chunk="n_broken_walk", fallback=true},
  799. },
  800. },
  801. },
  802. walk_bridge_nse = {
  803. schem = {
  804. {file="walk_bridge_nse", force=false},
  805. },
  806. -- If number of chunks excees this limit, then algorithm reduces
  807. -- the chance by 10% for every unit over the limit. This affects
  808. -- all chunks which have this chunk as a possible follow-up.
  809. limit = 5,
  810. next = {
  811. ["-y"] = {
  812. {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
  813. },
  814. ["+x"] = {
  815. {chunk="ew_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
  816. {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  817. {chunk="w_broken_walk", fallback=true},
  818. },
  819. ["+z"] = {
  820. {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
  821. {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  822. {chunk="s_broken_walk", fallback=true},
  823. },
  824. ["-z"] = {
  825. {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=-2}},
  826. {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  827. {chunk="n_broken_walk", fallback=true},
  828. },
  829. },
  830. },
  831. walk_bridge_nsw = {
  832. schem = {
  833. {file="walk_bridge_nsw", force=false},
  834. },
  835. -- If number of chunks excees this limit, then algorithm reduces
  836. -- the chance by 10% for every unit over the limit. This affects
  837. -- all chunks which have this chunk as a possible follow-up.
  838. limit = 5,
  839. next = {
  840. ["-y"] = {
  841. {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
  842. },
  843. ["-x"] = {
  844. {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=0}},
  845. {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  846. {chunk="e_broken_walk", fallback=true},
  847. },
  848. ["+z"] = {
  849. {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
  850. {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  851. {chunk="s_broken_walk", fallback=true},
  852. },
  853. ["-z"] = {
  854. {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=-2}},
  855. {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  856. {chunk="n_broken_walk", fallback=true},
  857. },
  858. },
  859. },
  860. walk_bridge_swe = {
  861. schem = {
  862. {file="walk_bridge_swe", force=false},
  863. },
  864. -- If number of chunks excees this limit, then algorithm reduces
  865. -- the chance by 10% for every unit over the limit. This affects
  866. -- all chunks which have this chunk as a possible follow-up.
  867. limit = 5,
  868. next = {
  869. ["-y"] = {
  870. {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
  871. },
  872. ["+x"] = {
  873. {chunk="ew_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
  874. {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  875. {chunk="w_broken_walk", fallback=true},
  876. },
  877. ["-x"] = {
  878. {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=0}},
  879. {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  880. {chunk="e_broken_walk", fallback=true},
  881. },
  882. ["-z"] = {
  883. {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=-2}},
  884. {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  885. {chunk="n_broken_walk", fallback=true},
  886. },
  887. },
  888. },
  889. walk_bridge_nwe = {
  890. schem = {
  891. {file="walk_bridge_nwe", force=false},
  892. },
  893. -- If number of chunks excees this limit, then algorithm reduces
  894. -- the chance by 10% for every unit over the limit. This affects
  895. -- all chunks which have this chunk as a possible follow-up.
  896. limit = 5,
  897. next = {
  898. ["-y"] = {
  899. {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
  900. },
  901. ["+x"] = {
  902. {chunk="ew_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
  903. {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  904. {chunk="w_broken_walk", fallback=true},
  905. },
  906. ["-x"] = {
  907. {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=0}},
  908. {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  909. {chunk="e_broken_walk", fallback=true},
  910. },
  911. ["+z"] = {
  912. {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
  913. {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
  914. {chunk="s_broken_walk", fallback=true},
  915. },
  916. },
  917. },
  918. -- Bridges.
  919. ew_walk_bridge = {
  920. schem = {
  921. {file="nf_walkway_ew", force=false, adjust={x=0, y=0, z=0}},
  922. {file="nf_walkway_ew", force=false, adjust={x=11, y=0, z=0}},
  923. {file="nf_walkway_ew", force=false, adjust={x=22, y=0, z=0}},
  924. {file="bridge_house_ew", chance=20, force=true, adjust={x=0, y=3, z=0}},
  925. {file="bridge_house_ew", chance=10, force=true, adjust={x=11, y=3, z=0}},
  926. {file="bridge_house_ew", chance=20, force=true, adjust={x=22, y=3, z=0}},
  927. },
  928. size = {x=3, y=1, z=1},
  929. next = {
  930. ["+x"] = {
  931. {chunk="junction_walk_bridge", chance=10, shift={x=2, y=0, z=0}},
  932. {chunk="walk_bridge_nsw", chance=10, shift={x=2, y=0, z=0}},
  933. {chunk="walk_bridge_nwe", chance=10, shift={x=2, y=0, z=0}},
  934. {chunk="walk_bridge_swe", chance=10, shift={x=2, y=0, z=0}},
  935. {chunk="ns_bridge_passage", chance=10, shift={x=2, y=0, z=0}},
  936. {chunk="ns_bridge_passage_w", chance=20, shift={x=2, y=0, z=0}},
  937. {chunk="ew_walk_bridge_short", chance=80, shift={x=2, y=0, z=0}},
  938. {chunk="w_broken_walk", fallback=true, shift={x=2, y=0, z=0}},
  939. },
  940. ["-x"] = {
  941. {chunk="junction_walk_bridge", chance=10, shift={x=0, y=0, z=0}},
  942. {chunk="walk_bridge_nse", chance=10, shift={x=0, y=0, z=0}},
  943. {chunk="walk_bridge_swe", chance=10, shift={x=0, y=0, z=0}},
  944. {chunk="walk_bridge_nwe", chance=10, shift={x=0, y=0, z=0}},
  945. {chunk="ns_bridge_passage", chance=10, shift={x=-2, y=0, z=0}},
  946. {chunk="ns_bridge_passage_e", chance=20, shift={x=-1, y=0, z=0}},
  947. {chunk="ew_walk_bridge_short", chance=80, shift={x=0, y=0, z=0}},
  948. {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
  949. },
  950. ["-y"] = {
  951. {chunk="bridge_arch_pillar_ew", shift={x=0, y=-1, z=0}, continue=true, fallback=true},
  952. {chunk="bridge_arch_ew", shift={x=1, y=0, z=0}, continue=true, fallback=true},
  953. {chunk="bridge_arch_pillar_ew", shift={x=2, y=-1, z=0}, continue=true, fallback=true},
  954. },
  955. },
  956. },
  957. ns_walk_bridge = {
  958. schem = {
  959. {file="nf_walkway_ns", force=false, adjust={x=0, y=0, z=0}},
  960. {file="nf_walkway_ns", force=false, adjust={x=0, y=0, z=11}},
  961. {file="nf_walkway_ns", force=false, adjust={x=0, y=0, z=22}},
  962. {file="bridge_house_ns", chance=20, force=true, adjust={x=0, y=3, z=0}},
  963. {file="bridge_house_ns", chance=10, force=true, adjust={x=0, y=3, z=11}},
  964. {file="bridge_house_ns", chance=20, force=true, adjust={x=0, y=3, z=22}},
  965. },
  966. size = {x=1, y=1, z=3},
  967. next = {
  968. ["+z"] = {
  969. {chunk="junction_walk_bridge", chance=10, shift={x=0, y=0, z=2}},
  970. {chunk="walk_bridge_nse", chance=10, shift={x=0, y=0, z=2}},
  971. {chunk="walk_bridge_swe", chance=10, shift={x=0, y=0, z=2}},
  972. {chunk="walk_bridge_nsw", chance=10, shift={x=0, y=0, z=2}},
  973. {chunk="ew_bridge_passage", chance=10, shift={x=0, y=0, z=2}},
  974. {chunk="ew_bridge_passage_s", chance=20, shift={x=0, y=0, z=2}},
  975. {chunk="ns_walk_bridge_short", chance=80, shift={x=0, y=0, z=2}},
  976. {chunk="s_broken_walk", fallback=true, shift={x=0, y=0, z=2}},
  977. },
  978. ["-z"] = {
  979. {chunk="junction_walk_bridge", chance=10, shift={x=0, y=0, z=0}},
  980. {chunk="walk_bridge_nse", chance=10, shift={x=0, y=0, z=0}},
  981. {chunk="walk_bridge_nsw", chance=10, shift={x=0, y=0, z=0}},
  982. {chunk="walk_bridge_nwe", chance=10, shift={x=0, y=0, z=0}},
  983. {chunk="ew_bridge_passage", chance=10, shift={x=0, y=0, z=-2}},
  984. {chunk="ew_bridge_passage_n", chance=20, shift={x=0, y=0, z=-1}},
  985. {chunk="ns_walk_bridge_short", chance=80, shift={x=0, y=0, z=0}},
  986. {chunk="n_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
  987. },
  988. ["-y"] = {
  989. {chunk="bridge_arch_pillar_ns", shift={x=0, y=-1, z=0}, continue=true, fallback=true},
  990. {chunk="bridge_arch_ns", shift={x=0, y=0, z=1}, continue=true, fallback=true},
  991. {chunk="bridge_arch_pillar_ns", shift={x=0, y=-1, z=2}, continue=true, fallback=true},
  992. },
  993. },
  994. },
  995. ew_walk_bridge_short = {
  996. schem = {
  997. {file="nf_walkway_ew", force=false},
  998. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  999. {file="nf_detail_lava1", chance=10, force=true, adjust={x=3, y=0, z=3}},
  1000. {file="bridge_house_ew", chance=20, force=true, adjust={x=0, y=3, z=0}},
  1001. },
  1002. next = {
  1003. ["+x"] = {
  1004. {chunk="ew_gatehouse", chance=20, shift={x=0, y=0, z=-1}},
  1005. {chunk="ns_bridge_passage", chance=20},
  1006. {chunk="junction_walk_bridge", chance=20},
  1007. {chunk="ew_walk_bridge", chance=100, shift={x=0, y=0, z=0}},
  1008. {chunk="w_broken_walk", fallback=true},
  1009. },
  1010. ["-x"] = {
  1011. {chunk="ew_gatehouse", chance=20, shift={x=-1, y=0, z=-1}},
  1012. {chunk="ns_bridge_passage", chance=20},
  1013. {chunk="junction_walk_bridge", chance=20},
  1014. {chunk="ew_walk_bridge", chance=100, shift={x=-2, y=0, z=0}},
  1015. {chunk="e_broken_walk", fallback=true},
  1016. },
  1017. ["-y"] = {{chunk="bridge_arch_ew", fallback=true}},
  1018. },
  1019. },
  1020. ns_walk_bridge_short = {
  1021. schem = {
  1022. {file="nf_walkway_ns", force=false},
  1023. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1024. {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=0, z=3}},
  1025. {file="bridge_house_ns", chance=20, force=true, adjust={x=0, y=3, z=0}},
  1026. },
  1027. next = {
  1028. ["+z"] = {
  1029. {chunk="ns_gatehouse", chance=20, shift={x=-1, y=0, z=0}},
  1030. {chunk="ew_bridge_passage", chance=20},
  1031. {chunk="junction_walk_bridge", chance=20},
  1032. {chunk="ns_walk_bridge", chance=100, shift={x=0, y=0, z=0}},
  1033. {chunk="s_broken_walk", fallback=true},
  1034. },
  1035. ["-z"] = {
  1036. {chunk="ns_gatehouse", chance=20, shift={x=-1, y=0, z=-1}},
  1037. {chunk="ew_bridge_passage", chance=20},
  1038. {chunk="junction_walk_bridge", chance=20},
  1039. {chunk="ns_walk_bridge", chance=100, shift={x=0, y=0, z=-2}},
  1040. {chunk="n_broken_walk", fallback=true},
  1041. },
  1042. ["-y"] = {{chunk="bridge_arch_ns", fallback=true}},
  1043. },
  1044. },
  1045. -- Walkways.
  1046. junction_walk = {schem = {{file="nf_walkway_4x_junction", force=false}}},
  1047. ew_walk = {
  1048. schem = {
  1049. {file="nf_walkway_ew", priority=101, force=false},
  1050. {file="nf_detail_lava1", chance=10, force=true, adjust={x=3, y=0, z=3}},
  1051. {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1052. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1053. {file="elite_spawner", chance=5, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1054. {file="bridge_house_ew", chance=15, force=true, adjust={x=0, y=3, z=0}},
  1055. },
  1056. },
  1057. ns_walk = {
  1058. schem = {
  1059. {file="nf_walkway_ns", priority=101, force=false},
  1060. {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=0, z=3}},
  1061. {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1062. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1063. {file="elite_spawner", chance=5, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1064. {file="bridge_house_ns", chance=15, force=true, adjust={x=0, y=3, z=0}},
  1065. },
  1066. },
  1067. n_capped_walk = {
  1068. schem = {
  1069. {file="nf_walkway_n_capped", priority=101, force=false},
  1070. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1071. {file="bridge_house_n", chance=15, force=true, adjust={x=0, y=3, z=0}},
  1072. },
  1073. next = {
  1074. ["+y"] = {{chunk="tower", chance=50}},
  1075. },
  1076. },
  1077. s_capped_walk = {
  1078. schem = {
  1079. {file="nf_walkway_s_capped", priority=101, force=false},
  1080. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1081. {file="bridge_house_s", chance=15, force=true, adjust={x=0, y=3, z=0}},
  1082. },
  1083. next = {
  1084. ["+y"] = {{chunk="tower", chance=50}},
  1085. },
  1086. },
  1087. e_capped_walk = {
  1088. schem = {
  1089. {file="nf_walkway_e_capped", priority=101, force=false},
  1090. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1091. {file="bridge_house_e", chance=15, force=true, adjust={x=0, y=3, z=0}},
  1092. },
  1093. next = {
  1094. ["+y"] = {{chunk="tower", chance=50}},
  1095. },
  1096. },
  1097. w_capped_walk = {
  1098. schem = {
  1099. {file="nf_walkway_w_capped", priority=101, force=false},
  1100. {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
  1101. {file="bridge_house_w", chance=15, force=true, adjust={x=0, y=3, z=0}},
  1102. },
  1103. next = {
  1104. ["+y"] = {{chunk="tower", chance=50}},
  1105. },
  1106. },
  1107. -- Broken causeway ends.
  1108. -- Need to set 'fallback' on the arch-undersides, otherwise they won't be
  1109. -- placed if we're past the soft extent.
  1110. n_broken_walk = {
  1111. schem = {{file="nf_walkway_n_broken", force=false}},
  1112. next = {
  1113. ["-y"] = {{chunk="bridge_broken_walk_arch_n", fallback=true}},
  1114. },
  1115. },
  1116. s_broken_walk = {
  1117. schem = {{file="nf_walkway_s_broken", force=false}},
  1118. next = {
  1119. ["-y"] = {{chunk="bridge_broken_walk_arch_s", fallback=true}},
  1120. },
  1121. },
  1122. e_broken_walk = {
  1123. schem = {{file="nf_walkway_e_broken", force=false}},
  1124. next = {
  1125. ["-y"] = {{chunk="bridge_broken_walk_arch_e", fallback=true}},
  1126. },
  1127. },
  1128. w_broken_walk = {
  1129. schem = {{file="nf_walkway_w_broken", force=false}},
  1130. next = {
  1131. ["-y"] = {{chunk="bridge_broken_walk_arch_w", fallback=true}},
  1132. },
  1133. },
  1134. ne_corner_walk = {schem = {{file="nf_walkway_ne_corner", priority=101, force=false}}},
  1135. nw_corner_walk = {schem = {{file="nf_walkway_nw_corner", priority=101, force=false}}},
  1136. sw_corner_walk = {schem = {{file="nf_walkway_sw_corner", priority=101, force=false}}},
  1137. se_corner_walk = {schem = {{file="nf_walkway_se_corner", priority=101, force=false}}},
  1138. esw_t_walk = {schem = {{file="nf_walkway_esw_t", priority=101, force=false}}},
  1139. nes_t_walk = {schem = {{file="nf_walkway_nes_t", priority=101, force=false}}},
  1140. swn_t_walk = {schem = {{file="nf_walkway_swn_t", priority=101, force=false}}},
  1141. wne_t_walk = {schem = {{file="nf_walkway_wne_t", priority=101, force=false}}},
  1142. ew_stair = {
  1143. schem = {
  1144. {file="nf_passage_ew_stair"},
  1145. {file="ew_hall_end_stair_e", priority=1000, force=false, adjust={x=11, y=1, z=2}},
  1146. {file="ew_hall_end_stair_w", priority=1000, force=false, adjust={x=-3, y=1, z=2}},
  1147. },
  1148. next = {
  1149. ["+x"] = {
  1150. {chunk="swn_t", chance=20},
  1151. {chunk="wne_t", chance=20},
  1152. {chunk="esw_t", fallback=true},
  1153. },
  1154. ["-x"] = {
  1155. {chunk="wne_t", chance=20},
  1156. {chunk="esw_t", chance=20},
  1157. {chunk="nes_t", fallback=true},
  1158. },
  1159. ["+y"] = {{chunk="ew_walk_stair", fallback=true}},
  1160. ["-y"] = {{chunk="solid", fallback=true}},
  1161. },
  1162. },
  1163. ew_walk_stair = {
  1164. schem = {{file="nf_walkway_ew_stair"}},
  1165. },
  1166. ns_stair = {
  1167. schem = {
  1168. {file="nf_passage_ew_stair", rotation="90"},
  1169. {file="ns_hall_end_stair_n", priority=1000, force=false, adjust={x=2, y=1, z=11}},
  1170. {file="ns_hall_end_stair_s", priority=1000, force=false, adjust={x=2, y=1, z=-3}},
  1171. },
  1172. next = {
  1173. ["+z"] = {
  1174. {chunk="nes_t", chance=20},
  1175. {chunk="swn_t", chance=20},
  1176. {chunk="esw_t", fallback=true},
  1177. },
  1178. ["-z"] = {
  1179. {chunk="nes_t", chance=10},
  1180. {chunk="swn_t", chance=10},
  1181. {chunk="wne_t", fallback=true},
  1182. },
  1183. ["+y"] = {{chunk="ns_walk_stair", fallback=true}},
  1184. ["-y"] = {{chunk="solid", fallback=true}},
  1185. },
  1186. },
  1187. ns_walk_stair = {
  1188. schem = {{file="nf_walkway_ew_stair", rotation="90", force=false}},
  1189. },
  1190. tower = {
  1191. schem = {
  1192. {file="nf_tower", force=false, priority=1000, adjust={x=3, y=-10, z=3}},
  1193. },
  1194. limit = 4,
  1195. size = {x=1, y=2, z=1},
  1196. },
  1197. -- Gatehouses.
  1198. ew_gatehouse = {
  1199. schem = {
  1200. {file="nf_gatehouse_ew", adjust={x=0, y=0, z=7}},
  1201. {file="nf_gatehouse_bridge_shim_w", force=false, adjust={x=0, y=-11, z=11}},
  1202. {file="nf_gatehouse_bridge_shim_e", force=false, adjust={x=20, y=-11, z=11}},
  1203. },
  1204. size = {x=2, y=1, z=3},
  1205. limit = 2,
  1206. next = {
  1207. ["+x"] = {
  1208. {chunk="ew_walk_bridge_short", chance=20, shift={x=1, y=0, z=1}},
  1209. {chunk="ew_walk_bridge", chance=80, shift={x=1, y=0, z=1}},
  1210. {chunk="w_broken_walk", fallback=true, shift={x=1, y=0, z=1}},
  1211. },
  1212. ["-x"] = {
  1213. {chunk="ew_walk_bridge_short", chance=20, shift={x=0, y=0, z=1}},
  1214. {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=1}},
  1215. {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=1}},
  1216. },
  1217. ["-y"] = {{chunk="gatehouse_pillar_ew", shift={x=0, y=-3, z=0}, fallback=true}},
  1218. },
  1219. },
  1220. ns_gatehouse = {
  1221. schem = {
  1222. {file="nf_gatehouse_ns", adjust={x=7, y=0, z=0}},
  1223. {file="nf_gatehouse_bridge_shim_s", force=false, adjust={x=11, y=-11, z=0}},
  1224. {file="nf_gatehouse_bridge_shim_n", force=false, adjust={x=11, y=-11, z=20}},
  1225. },
  1226. size = {x=3, y=1, z=2},
  1227. limit = 2,
  1228. next = {
  1229. ["+z"] = {
  1230. {chunk="ns_walk_bridge_short", chance=20, shift={x=1, y=0, z=1}},
  1231. {chunk="ns_walk_bridge", chance=100, shift={x=1, y=0, z=1}},
  1232. {chunk="s_broken_walk", fallback=true, shift={x=1, y=0, z=1}},
  1233. },
  1234. ["-z"] = {
  1235. {chunk="ns_walk_bridge_short", chance=20, shift={x=1, y=0, z=0}},
  1236. {chunk="ns_walk_bridge", chance=100, shift={x=1, y=0, z=-2}},
  1237. {chunk="n_broken_walk", fallback=true, shift={x=1, y=0, z=0}},
  1238. },
  1239. ["-y"] = {{chunk="gatehouse_pillar_ns", shift={x=0, y=-3, z=0}, fallback=true}},
  1240. },
  1241. },
  1242. gatehouse_pillar_ew = {
  1243. schem = {
  1244. {file="nf_gatehouse_tower_ew", force=false, adjust={x=2, y=0, z=7}},
  1245. {file="nf_gatehouse_tower_ew", force=false, adjust={x=2, y=11, z=7}},
  1246. {file="nf_gatehouse_tower_ew", force=false, adjust={x=2, y=22, z=7}},
  1247. {file="nf_gatehouse_tower_ew", force=false, adjust={x=2, y=33, z=7}},
  1248. },
  1249. size = {x=2, y=4, z=3},
  1250. },
  1251. gatehouse_pillar_ns = {
  1252. schem = {
  1253. {file="nf_gatehouse_tower_ns", force=false, adjust={x=7, y=0, z=2}},
  1254. {file="nf_gatehouse_tower_ns", force=false, adjust={x=7, y=11, z=2}},
  1255. {file="nf_gatehouse_tower_ns", force=false, adjust={x=7, y=22, z=2}},
  1256. {file="nf_gatehouse_tower_ns", force=false, adjust={x=7, y=33, z=2}},
  1257. },
  1258. size = {x=3, y=4, z=2},
  1259. },
  1260. pillar = {
  1261. schem = {{file="nf_pillar", force=false}},
  1262. next = {
  1263. ["-y"] = {{chunk="pillar_straight", fallback=true, shift={x=0, y=-2, z=0}}},
  1264. },
  1265. },
  1266. pillar_straight = {
  1267. schem = {
  1268. {file="nf_pillar_straight", force=false, adjust={x=3, y=0, z=3}},
  1269. {file="nf_pillar_straight", force=false, adjust={x=3, y=11, z=3}},
  1270. {file="nf_pillar_straight", force=false, adjust={x=3, y=22, z=3}},
  1271. },
  1272. size = {x=1, y=3, z=1},
  1273. },
  1274. solid = {
  1275. schem = {{file="nf_building_solid", force=false, adjust={x=0, y=0, z=0}}},
  1276. size = {x=1, y=1, z=1},
  1277. next = {
  1278. ["-y"] = {{chunk="pillar", fallback=true}},
  1279. },
  1280. },
  1281. -- Bridge arches & pillars.
  1282. bridge_arch_ns = {
  1283. schem = {
  1284. {file="nf_bridge_arch_ns", force=false, adjust={x=0, y=6, z=0}},
  1285. {file="bridge_pit", chance=5, force=true, adjust={x=3, y=8, z=3}},
  1286. },
  1287. },
  1288. bridge_arch_ew = {
  1289. schem = {
  1290. {file="nf_bridge_arch_ew", force=false, adjust={x=0, y=6, z=0}},
  1291. {file="bridge_pit", chance=5, force=true, adjust={x=3, y=8, z=3}},
  1292. },
  1293. },
  1294. bridge_arch_pillar_ns = {
  1295. schem = {{file="nf_bridge_arch_pillar_ns", force=false}},
  1296. size = {x=1, y=2, z=1},
  1297. next = {
  1298. ["-y"] = {{chunk="bridge_arch_pillar_bottom_ns", fallback=true, shift={x=0, y=-3, z=0}}},
  1299. },
  1300. },
  1301. bridge_arch_pillar_ew = {
  1302. schem = {{file="nf_bridge_arch_pillar_ew", force=false}},
  1303. size = {x=1, y=2, z=1},
  1304. next = {
  1305. ["-y"] = {{chunk="bridge_arch_pillar_bottom_ew", fallback=true, shift={x=0, y=-3, z=0}}},
  1306. },
  1307. },
  1308. bridge_arch_pillar_bottom_ns = {
  1309. schem = {
  1310. {file="nf_bridge_arch_pillar_bottom_ns", force=false, adjust={x=0, y=0, z=3}},
  1311. {file="nf_bridge_arch_pillar_bottom_ns", force=false, adjust={x=0, y=22, z=3}},
  1312. },
  1313. size = {x=1, y=4, z=1},
  1314. },
  1315. bridge_arch_pillar_bottom_ew = {
  1316. schem = {
  1317. {file="nf_bridge_arch_pillar_bottom_ew", force=false, adjust={x=3, y=0, z=0}},
  1318. {file="nf_bridge_arch_pillar_bottom_ew", force=false, adjust={x=3, y=22, z=0}},
  1319. },
  1320. size = {x=1, y=4, z=1},
  1321. },
  1322. bridge_pillar_top = {
  1323. schem = {{file="nf_center_pillar_top", force=false}},
  1324. size = {x=1, y=2, z=1},
  1325. next = {
  1326. ["-y"] = {{chunk="bridge_pillar_bottom", fallback=true, shift={x=0, y=-3, z=0}}},
  1327. },
  1328. },
  1329. bridge_pillar_bottom = {
  1330. schem = {
  1331. {file="nf_center_pillar_bottom", force=false, adjust={x=1, y=0, z=1}},
  1332. {file="nf_center_pillar_bottom", force=false, adjust={x=1, y=22, z=1}},
  1333. },
  1334. size = {x=1, y=4, z=1},
  1335. },
  1336. -- Broken bits of arch underneath broken causeway ends.
  1337. bridge_broken_walk_arch_n = {
  1338. schem = {{file="nf_bridge_walk_broken_arch_n", force=false}},
  1339. },
  1340. bridge_broken_walk_arch_s = {
  1341. schem = {{file="nf_bridge_walk_broken_arch_s", force=false}},
  1342. },
  1343. bridge_broken_walk_arch_e = {
  1344. schem = {{file="nf_bridge_walk_broken_arch_e", force=false}},
  1345. },
  1346. bridge_broken_walk_arch_w = {
  1347. schem = {{file="nf_bridge_walk_broken_arch_w", force=false}},
  1348. },
  1349. -- Narrow bridges.
  1350. bridge_narrow_junction = {
  1351. schem = {
  1352. {file="bridge_narrow_junction", force=false, adjust={x=0, y=7, z=0}},
  1353. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1354. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1355. },
  1356. size = {x=1, y=2, z=1},
  1357. next = {
  1358. ["+x"] = {
  1359. {chunk="bridge_narrow_ew", chance=100},
  1360. {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
  1361. {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1362. },
  1363. ["-x"] = {
  1364. {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
  1365. {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
  1366. {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1367. },
  1368. ["+z"] = {
  1369. {chunk="bridge_narrow_ns", chance=100},
  1370. {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
  1371. {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1372. },
  1373. ["-z"] = {
  1374. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
  1375. {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
  1376. {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1377. },
  1378. },
  1379. },
  1380. bridge_narrow_sw = {
  1381. schem = {
  1382. {file="bridge_narrow_sw", force=false, adjust={x=0, y=7, z=0}},
  1383. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1384. },
  1385. size = {x=1, y=2, z=1},
  1386. next = {
  1387. ["-x"] = {
  1388. {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
  1389. {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
  1390. {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
  1391. {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1392. },
  1393. ["-z"] = {
  1394. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
  1395. {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
  1396. {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
  1397. {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1398. },
  1399. },
  1400. },
  1401. bridge_narrow_se = {
  1402. schem = {
  1403. {file="bridge_narrow_se", force=false, adjust={x=3, y=7, z=0}},
  1404. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1405. },
  1406. size = {x=1, y=2, z=1},
  1407. next = {
  1408. ["+x"] = {
  1409. {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
  1410. {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
  1411. {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
  1412. {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1413. },
  1414. ["-z"] = {
  1415. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
  1416. {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
  1417. {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
  1418. {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1419. },
  1420. },
  1421. },
  1422. bridge_narrow_ne = {
  1423. schem = {
  1424. {file="bridge_narrow_ne", force=false, adjust={x=3, y=7, z=3}},
  1425. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1426. },
  1427. size = {x=1, y=2, z=1},
  1428. next = {
  1429. ["+x"] = {
  1430. {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
  1431. {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
  1432. {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
  1433. {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1434. },
  1435. ["+z"] = {
  1436. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
  1437. {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
  1438. {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
  1439. {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1440. },
  1441. },
  1442. },
  1443. bridge_narrow_nw = {
  1444. schem = {
  1445. {file="bridge_narrow_nw", force=false, adjust={x=0, y=7, z=3}},
  1446. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1447. },
  1448. size = {x=1, y=2, z=1},
  1449. next = {
  1450. ["-x"] = {
  1451. {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
  1452. {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
  1453. {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
  1454. {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1455. },
  1456. ["+z"] = {
  1457. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
  1458. {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
  1459. {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
  1460. {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1461. },
  1462. },
  1463. },
  1464. bridge_narrow_nsw = {
  1465. schem = {
  1466. {file="bridge_narrow_nsw", force=false, adjust={x=0, y=7, z=0}},
  1467. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1468. },
  1469. size = {x=1, y=2, z=1},
  1470. next = {
  1471. ["-x"] = {
  1472. {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
  1473. {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
  1474. {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
  1475. {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1476. },
  1477. ["-z"] = {
  1478. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
  1479. {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
  1480. {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
  1481. {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1482. },
  1483. ["+z"] = {
  1484. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
  1485. {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
  1486. {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
  1487. {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1488. },
  1489. },
  1490. },
  1491. bridge_narrow_nse = {
  1492. schem = {
  1493. {file="bridge_narrow_nse", force=false, adjust={x=3, y=7, z=0}},
  1494. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1495. },
  1496. size = {x=1, y=2, z=1},
  1497. next = {
  1498. ["+x"] = {
  1499. {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
  1500. {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
  1501. {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
  1502. {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1503. },
  1504. ["-z"] = {
  1505. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
  1506. {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
  1507. {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
  1508. {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1509. },
  1510. ["+z"] = {
  1511. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
  1512. {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
  1513. {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
  1514. {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1515. },
  1516. },
  1517. },
  1518. bridge_narrow_swe = {
  1519. schem = {
  1520. {file="bridge_narrow_swe", force=false, adjust={x=0, y=7, z=0}},
  1521. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1522. },
  1523. size = {x=1, y=2, z=1},
  1524. next = {
  1525. ["-x"] = {
  1526. {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
  1527. {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
  1528. {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
  1529. {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1530. },
  1531. ["-z"] = {
  1532. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
  1533. {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
  1534. {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
  1535. {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1536. },
  1537. ["+x"] = {
  1538. {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
  1539. {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
  1540. {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
  1541. {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1542. },
  1543. },
  1544. },
  1545. bridge_narrow_nwe = {
  1546. schem = {
  1547. {file="bridge_narrow_nwe", force=false, adjust={x=0, y=7, z=3}},
  1548. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1549. },
  1550. size = {x=1, y=2, z=1},
  1551. next = {
  1552. ["-x"] = {
  1553. {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
  1554. {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
  1555. {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
  1556. {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1557. },
  1558. ["+z"] = {
  1559. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
  1560. {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
  1561. {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
  1562. {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1563. },
  1564. ["+x"] = {
  1565. {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
  1566. {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
  1567. {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
  1568. {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
  1569. },
  1570. },
  1571. },
  1572. bridge_narrow_ns = {
  1573. schem = {
  1574. {file="ns_bridge_narrow", force=false, adjust={x=3, y=0, z=0}},
  1575. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z_min=0, z_max=3*11-4}},
  1576. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z_min=0, z_max=3*11-4}},
  1577. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z_min=0, z_max=3*11-4}},
  1578. },
  1579. size = {x=1, y=2, z=3},
  1580. next = {
  1581. ["+z"] = {
  1582. {chunk="bridge_narrow_short_ns", chance=100, shift={x=0, y=0, z=2}},
  1583. {chunk="bridge_narrow_junction", chance=5, shift={x=0, y=0, z=2}},
  1584. {chunk="bridge_narrow_se", chance=5, shift={x=0, y=0, z=2}},
  1585. {chunk="bridge_narrow_sw", chance=5, shift={x=0, y=0, z=2}},
  1586. {chunk="bridge_narrow_swe", chance=10, shift={x=0, y=0, z=2}},
  1587. {chunk="bridge_narrow_nsw", chance=10, shift={x=0, y=0, z=2}},
  1588. {chunk="bridge_narrow_nse", chance=10, shift={x=0, y=0, z=2}},
  1589. {chunk="bridge_narrow_platform_s", chance=5, shift={x=0, y=0, z=2}},
  1590. {chunk="bridge_narrow_broken2_n", chance=5, fallback=true, shift={x=0, y=0, z=0}},
  1591. },
  1592. ["-z"] = {
  1593. {chunk="bridge_narrow_short_ns", chance=100, shift={x=0, y=0, z=0}},
  1594. {chunk="bridge_narrow_junction", chance=5, shift={x=0, y=0, z=0}},
  1595. {chunk="bridge_narrow_ne", chance=5, shift={x=0, y=0, z=0}},
  1596. {chunk="bridge_narrow_nw", chance=5, shift={x=0, y=0, z=0}},
  1597. {chunk="bridge_narrow_nwe", chance=10, shift={x=0, y=0, z=0}},
  1598. {chunk="bridge_narrow_nsw", chance=10, shift={x=0, y=0, z=0}},
  1599. {chunk="bridge_narrow_nse", chance=10, shift={x=0, y=0, z=0}},
  1600. {chunk="bridge_narrow_platform_n", chance=5, shift={x=0, y=0, z=0}},
  1601. {chunk="bridge_narrow_broken2_s", chance=5, fallback=true, shift={x=0, y=0, z=0}},
  1602. },
  1603. ["-y"] = {
  1604. {chunk="bridge_narrow_pillar_ns", fallback=true, shift={x=0, y=-3, z=1}},
  1605. },
  1606. },
  1607. },
  1608. bridge_narrow_ew = {
  1609. schem = {
  1610. {file="ew_bridge_narrow", force=false, adjust={x=0, y=0, z=3}},
  1611. {file="bridge_narrow_house", force=false, chance=20, adjust={x_min=0, x_max=3*11-4, y=11, z=3}},
  1612. {file="bridge_narrow_house", force=false, chance=20, adjust={x_min=0, x_max=3*11-4, y=11, z=3}},
  1613. {file="bridge_narrow_house", force=false, chance=20, adjust={x_min=0, x_max=3*11-4, y=11, z=3}},
  1614. },
  1615. size = {x=3, y=2, z=1},
  1616. next = {
  1617. ["+x"] = {
  1618. {chunk="bridge_narrow_short_ew", chance=100, shift={x=2, y=0, z=0}},
  1619. {chunk="bridge_narrow_junction", chance=5, shift={x=2, y=0, z=0}},
  1620. {chunk="bridge_narrow_nw", chance=5, shift={x=2, y=0, z=0}},
  1621. {chunk="bridge_narrow_sw", chance=5, shift={x=2, y=0, z=0}},
  1622. {chunk="bridge_narrow_nsw", chance=10, shift={x=2, y=0, z=0}},
  1623. {chunk="bridge_narrow_swe", chance=10, shift={x=2, y=0, z=0}},
  1624. {chunk="bridge_narrow_nwe", chance=10, shift={x=2, y=0, z=0}},
  1625. {chunk="bridge_narrow_platform_w", chance=5, shift={x=2, y=0, z=0}},
  1626. {chunk="bridge_narrow_broken2_e", chance=5, fallback=true, shift={x=0, y=0, z=0}},
  1627. },
  1628. ["-x"] = {
  1629. {chunk="bridge_narrow_short_ew", chance=100, shift={x=0, y=0, z=0}},
  1630. {chunk="bridge_narrow_junction", chance=5, shift={x=0, y=0, z=0}},
  1631. {chunk="bridge_narrow_ne", chance=5, shift={x=0, y=0, z=0}},
  1632. {chunk="bridge_narrow_se", chance=5, shift={x=0, y=0, z=0}},
  1633. {chunk="bridge_narrow_nse", chance=10, shift={x=0, y=0, z=0}},
  1634. {chunk="bridge_narrow_swe", chance=10, shift={x=0, y=0, z=0}},
  1635. {chunk="bridge_narrow_nwe", chance=10, shift={x=0, y=0, z=0}},
  1636. {chunk="bridge_narrow_platform_e", chance=5, shift={x=0, y=0, z=0}},
  1637. {chunk="bridge_narrow_broken2_w", chance=5, fallback=true, shift={x=0, y=0, z=0}},
  1638. },
  1639. ["-y"] = {
  1640. {chunk="bridge_narrow_pillar_ew", fallback=true, shift={x=1, y=-3, z=0}},
  1641. },
  1642. },
  1643. },
  1644. bridge_narrow_broken_e = {
  1645. schem = {
  1646. {file="bridge_narrow_broken_e", force=false, adjust={x=0, y=0, z=3}},
  1647. {file="bridge_narrow_house", force=false, chance=20, adjust={x=0, y=11, z=3}},
  1648. },
  1649. size = {x=3, y=2, z=1},
  1650. next = {
  1651. ["-y"] = {
  1652. {chunk="bridge_narrow_pillar_ew", fallback=true, shift={x=1, y=-3, z=0}},
  1653. },
  1654. },
  1655. },
  1656. bridge_narrow_broken_w = {
  1657. schem = {
  1658. {file="bridge_narrow_broken_w", force=false, adjust={x=0, y=0, z=3}},
  1659. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3*11-4, y=11, z=3}},
  1660. },
  1661. size = {x=3, y=2, z=1},
  1662. next = {
  1663. ["-y"] = {
  1664. {chunk="bridge_narrow_pillar_ew", fallback=true, shift={x=1, y=-3, z=0}},
  1665. },
  1666. },
  1667. },
  1668. bridge_narrow_broken_n = {
  1669. schem = {
  1670. {file="bridge_narrow_broken_n", force=false, adjust={x=3, y=0, z=0}},
  1671. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=0}},
  1672. },
  1673. size = {x=1, y=2, z=3},
  1674. next = {
  1675. ["-y"] = {
  1676. {chunk="bridge_narrow_pillar_ns", fallback=true, shift={x=0, y=-3, z=1}},
  1677. },
  1678. },
  1679. },
  1680. bridge_narrow_broken_s = {
  1681. schem = {
  1682. {file="bridge_narrow_broken_s", force=false, adjust={x=3, y=0, z=0}},
  1683. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3*11-4}},
  1684. },
  1685. size = {x=1, y=2, z=3},
  1686. next = {
  1687. ["-y"] = {
  1688. {chunk="bridge_narrow_pillar_ns", fallback=true, shift={x=0, y=-3, z=1}},
  1689. },
  1690. },
  1691. },
  1692. bridge_narrow_broken2_e = {
  1693. schem = {
  1694. {file="bridge_narrow_broken2_e", force=false, adjust={x=0, y=7, z=3}},
  1695. },
  1696. size = {x=1, y=2, z=1},
  1697. },
  1698. bridge_narrow_broken2_w = {
  1699. schem = {
  1700. {file="bridge_narrow_broken2_w", force=false, adjust={x=6, y=7, z=3}},
  1701. },
  1702. size = {x=1, y=2, z=1},
  1703. },
  1704. bridge_narrow_broken2_n = {
  1705. schem = {
  1706. {file="bridge_narrow_broken2_n", force=false, adjust={x=3, y=7, z=0}},
  1707. },
  1708. size = {x=1, y=2, z=1},
  1709. },
  1710. bridge_narrow_broken2_s = {
  1711. schem = {
  1712. {file="bridge_narrow_broken2_s", force=false, adjust={x=3, y=7, z=4}},
  1713. },
  1714. size = {x=1, y=2, z=1},
  1715. },
  1716. bridge_narrow_short_ns = {
  1717. schem = {
  1718. {file="ns_bridge_narrow_short", force=false, adjust={x=3, y=7, z=0}},
  1719. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1720. },
  1721. size = {x=1, y=2, z=1},
  1722. next = {
  1723. ["+z"] = {
  1724. {chunk="bridge_narrow_ns", chance=100},
  1725. {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
  1726. {chunk="bridge_narrow_broken2_n", fallback=true, shift={x=0, y=0, z=0}},
  1727. },
  1728. ["-z"] = {
  1729. {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
  1730. {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
  1731. {chunk="bridge_narrow_broken2_s", fallback=true, shift={x=0, y=0, z=0}},
  1732. },
  1733. },
  1734. },
  1735. bridge_narrow_short_ew = {
  1736. schem = {
  1737. {file="ew_bridge_narrow_short", force=false, adjust={x=0, y=7, z=3}},
  1738. {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
  1739. },
  1740. size = {x=1, y=2, z=1},
  1741. next = {
  1742. ["+x"] = {
  1743. {chunk="bridge_narrow_ew", chance=100},
  1744. {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
  1745. {chunk="bridge_narrow_broken2_e", fallback=true, shift={x=0, y=0, z=0}},
  1746. },
  1747. ["-x"] = {
  1748. {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
  1749. {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
  1750. {chunk="bridge_narrow_broken2_w", fallback=true, shift={x=0, y=0, z=0}},
  1751. },
  1752. },
  1753. },
  1754. bridge_narrow_pillar_ns = {
  1755. schem = {
  1756. {file="bridge_narrow_pillar_ns", force=false, adjust={x=3, y=0, z=3}},
  1757. {file="bridge_narrow_pillar_ns", force=false, adjust={x=3, y=11, z=3}},
  1758. {file="bridge_narrow_pillar_ns", force=false, adjust={x=3, y=22, z=3}},
  1759. {file="bridge_narrow_pillar_ns", force=false, adjust={x=3, y=33, z=3}},
  1760. },
  1761. size = {x=1, y=4, z=1},
  1762. },
  1763. bridge_narrow_pillar_ew = {
  1764. schem = {
  1765. {file="bridge_narrow_pillar_ew", force=false, adjust={x=3, y=0, z=3}},
  1766. {file="bridge_narrow_pillar_ew", force=false, adjust={x=3, y=11, z=3}},
  1767. {file="bridge_narrow_pillar_ew", force=false, adjust={x=3, y=22, z=3}},
  1768. {file="bridge_narrow_pillar_ew", force=false, adjust={x=3, y=33, z=3}},
  1769. },
  1770. size = {x=1, y=4, z=1},
  1771. },
  1772. bridge_narrow_platform_w = {
  1773. schem = {
  1774. {file="bridge_narrow_platform", rotation="0", force=false, adjust={x=0, y=0, z=0}},
  1775. },
  1776. size = {x=1, y=2, z=1},
  1777. next = {
  1778. ["-y"] = {
  1779. {chunk="bridge_narrow_platform_pillar", fallback=true, shift={x=0, y=-3, z=0}},
  1780. },
  1781. },
  1782. },
  1783. bridge_narrow_platform_n = {
  1784. schem = {
  1785. {file="bridge_narrow_platform", rotation="90", force=false, adjust={x=0, y=0, z=0}},
  1786. },
  1787. size = {x=1, y=2, z=1},
  1788. next = {
  1789. ["-y"] = {
  1790. {chunk="bridge_narrow_platform_pillar", fallback=true, shift={x=0, y=-3, z=0}},
  1791. },
  1792. },
  1793. },
  1794. bridge_narrow_platform_e = {
  1795. schem = {
  1796. {file="bridge_narrow_platform", rotation="180", force=false, adjust={x=0, y=0, z=0}},
  1797. },
  1798. size = {x=1, y=2, z=1},
  1799. next = {
  1800. ["-y"] = {
  1801. {chunk="bridge_narrow_platform_pillar", fallback=true, shift={x=0, y=-3, z=0}},
  1802. },
  1803. },
  1804. },
  1805. bridge_narrow_platform_s = {
  1806. schem = {
  1807. {file="bridge_narrow_platform", rotation="270", force=false, adjust={x=0, y=0, z=0}},
  1808. },
  1809. size = {x=1, y=2, z=1},
  1810. next = {
  1811. ["-y"] = {
  1812. {chunk="bridge_narrow_platform_pillar", fallback=true, shift={x=0, y=-3, z=0}},
  1813. },
  1814. },
  1815. },
  1816. bridge_narrow_platform_pillar = {
  1817. schem = {
  1818. {file="bridge_narrow_platform_pillar", force=false, adjust={x=2, y=0, z=2}},
  1819. {file="bridge_narrow_platform_pillar", force=false, adjust={x=2, y=11, z=2}},
  1820. {file="bridge_narrow_platform_pillar", force=false, adjust={x=2, y=22, z=2}},
  1821. {file="bridge_narrow_platform_pillar", force=false, adjust={x=2, y=33, z=2}},
  1822. },
  1823. size = {x=1, y=4, z=1},
  1824. },
  1825. },
  1826. }