123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929 |
- -- Todo:
- -- Add grand staircases (bridge and passage variants). (Note: maybe we don't want these? Fortresses should be 2D only ....)
- -- Add connections between sections of gatehouse tower.
- -- Allow fortress to generate off of gatehouse tower sections.
- -- Add raised plaza.
- -- Add lava-well room.
- -- Add throne room.
- -- Add balconies.
- -- Add lava aquaducts.
- -- Add bluegrass farm.
- -- Add single-room chambers.
- -- Add great hall.
- -- Add dungeon prison.
- -- Add portal chamber.
- -- Add ziggurat plaza.
- -- Add table/alter room.
- fortress.default = {
- -- The initial schem placed by the spawner.
- -- This starts the rest of the fortress growing off it.
- initial = {
- "junction",
- "junction_walk_bridge",
- "plaza",
- "ew_gatehouse",
- "ns_gatehouse",
- "ns_bridge_passage",
- "ew_bridge_passage",
- },
- -- Size of cells.
- -- This is how much the algorithm steps in a direction before generating the
- -- next chunk of fortress.
- step = {x=11, y=11, z=11},
- -- Maximum fortress extent.
- -- The fortress spawner will not spawn any chunks farther than this distance
- -- from the starting position.
- max_extent = {x=150, y=100, z=150},
- -- If chunk position would exceed the soft extent, then the chance for all
- -- sub-chunks becomes 0, and fallback chunks (if any) are used ONLY.
- soft_extent = {x=100, y=30, z=100},
- -- List of node replacements.
- replacements = {
- ["torches:torch_wall"] = "torches:iron_torch",
- ["rackstone:brick"] = "rackstone:brick_black",
- ["stairs:slab_rackstone_brick"] = "stairs:slab_rackstone_brick_black",
- ["stairs:stair_rackstone_brick"] = "stairs:stair_basaltic_rubble",
- },
- -- Fortress section definitions.
- -- Each chunk has a name, and its table defines which other chunks may be
- -- spawned off it.
- --
- -- Note: for each chunk, 'size' is given in terms of 'step', this is NOT
- -- actual size coordinates. The fortress spawner multiplies 'size' by 'step'
- -- value and uses the result to detect whether a particular location has
- -- already spawned a section of fortress.
- --
- -- You typically only need to specify 'size' for sections of fortress that are
- -- larger than 'step' size. The default size is {1, 1, 1}.
- --
- -- The 'adjust' schematic variable is for slightly adjusting the precise
- -- positioning of an individual schematic file. Chunks can have multiple
- -- schematic files, and often each one must have its position adjusted a bit
- -- to prevent overlaps.
- --
- -- The 'fallback' flag indicates that a chunk should be placed if no other
- -- chunk was chosen. E.g., if several possible neighbors are specified in a
- -- particular chunk's data, but none of those neighbors pass the 'chance'
- -- test, then the first neighbor with 'fallback' set will be used instead.
- -- Any single neighbor with 'fallback' must be the LAST entry in the neighbors
- -- list, but there may be multiple neighbors thus flagged -- they will be
- -- added in order.
- chunks = {
- plaza = {
- schem = {
- {file="nf_building_solid", force=false, adjust={x=0, y=-7, z=0}},
- {file="nf_building_solid", force=false, adjust={x=11, y=-7, z=0}},
- {file="nf_building_solid", force=false, adjust={x=22, y=-7, z=0}},
- {file="nf_building_solid", force=false, adjust={x=0, y=-7, z=11}},
- {file="nf_building_solid", force=false, adjust={x=11, y=-7, z=11}},
- {file="nf_building_solid", force=false, adjust={x=22, y=-7, z=11}},
- {file="nf_building_solid", force=false, adjust={x=0, y=-7, z=22}},
- {file="nf_building_solid", force=false, adjust={x=11, y=-7, z=22}},
- {file="nf_building_solid", force=false, adjust={x=22, y=-7, z=22}},
- },
- size = {x=3, y=1, z=3},
- next = {
- ["+x"] = {
- {chunk="ns", fallback=true, continue=true, shift={x=2, y=0, z=0}},
- {chunk="ns_plaza_e", fallback=true, continue=true, shift={x=2, y=0, z=1}},
- {chunk="ns", fallback=true, continue=true, shift={x=2, y=0, z=2}},
- {chunk="junction", fallback=true, continue=true, shift={x=2, y=0, z=3}},
- },
- ["-x"] = {
- {chunk="ns", fallback=true, continue=true, shift={x=0, y=0, z=0}},
- {chunk="ns_plaza_w", fallback=true, continue=true, shift={x=-1, y=0, z=1}},
- {chunk="ns", fallback=true, continue=true, shift={x=0, y=0, z=2}},
- {chunk="junction", fallback=true, continue=true, shift={x=0, y=0, z=-1}},
- },
- ["+z"] = {
- {chunk="ew", fallback=true, continue=true, shift={x=0, y=0, z=2}},
- {chunk="ew_plaza_n", fallback=true, continue=true, shift={x=1, y=0, z=2}},
- {chunk="ew", fallback=true, continue=true, shift={x=2, y=0, z=2}},
- {chunk="junction", fallback=true, continue=true, shift={x=-1, y=0, z=2}},
- },
- ["-z"] = {
- {chunk="ew", fallback=true, continue=true, shift={x=0, y=0, z=0}},
- {chunk="ew_plaza_s", fallback=true, continue=true, shift={x=1, y=0, z=-1}},
- {chunk="ew", fallback=true, continue=true, shift={x=2, y=0, z=0}},
- {chunk="junction", fallback=true, continue=true, shift={x=3, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="pillar", fallback=true, continue=true, shift={x=0, y=0, z=0}},
- {chunk="pillar", fallback=true, continue=true, shift={x=2, y=0, z=0}},
- {chunk="pillar", fallback=true, continue=true, shift={x=0, y=0, z=2}},
- {chunk="pillar", fallback=true, continue=true, shift={x=2, y=0, z=2}},
- },
- },
- },
- -- Corridor sections.
- junction = {
- schem = {
- {file="nf_passage_4x_junction"},
- {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
- {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
- {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
- {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
- },
- next = {
- ["+x"] = {
- {chunk="ew", chance=80, shift={x=0, y=0, z=0}},
- {chunk="w_capped", fallback=true},
- },
- ["+z"] = {
- {chunk="ns", chance=80},
- {chunk="s_capped", fallback=true},
- },
- ["-x"] = {
- {chunk="ew", chance=80},
- {chunk="e_capped", fallback=true},
- },
- ["-z"] = {
- {chunk="ns", chance=80},
- {chunk="n_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="junction_walk", fallback=true}},
- },
- },
- ew = {
- schem = {
- {file="nf_passage_ew"},
- {file="ew_hall_end_stair_e", priority=100, force=false, adjust={x=11, y=1, z=2}},
- {file="ew_hall_end_stair_w", priority=100, force=false, adjust={x=-3, y=1, z=2}},
- {file="nf_detail_lava1", chance=10, force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_room1", chance=15, force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_room2", chance=15, force=true, adjust={x=3, y=4, z=3}},
- {file="nf_detail_room3", chance=15, rotation="90", force=false, adjust={x=0, y=4, z=3}},
- },
- chests = {
- {pos={x_min=0, x_max=10, y=4, z=3}, chance=10, loot="common"},
- {pos={x_min=0, x_max=10, y=4, z=7}, chance=10, loot="common"},
- {pos={x_min=0, x_max=10, y=4, z=3}, chance=5, loot="rare"},
- {pos={x_min=0, x_max=10, y=4, z=7}, chance=5, loot="rare"},
- },
- next = {
- ["+x"] = {
- {chunk="ew", chance=50},
- {chunk="ew_stair", chance=20},
- {chunk="ew_bridge_passage", chance=10, shift={x=0, y=0, z=-1}},
- {chunk="ew_bridge_passage_n", chance=30, shift={x=0, y=0, z=0}},
- {chunk="ew_bridge_passage_s", chance=30, shift={x=0, y=0, z=1}},
- {chunk="sw_corner", chance=20},
- {chunk="nw_corner", chance=20},
- {chunk="swn_t", chance=10},
- {chunk="esw_t", chance=10},
- {chunk="wne_t", chance=10},
- {chunk="junction", chance=20},
- {chunk="w_capped", fallback=true},
- },
- ["-x"] = {
- {chunk="ew", chance=50},
- {chunk="ew_stair", chance=20},
- {chunk="ew_bridge_passage", chance=10, shift={x=0, y=0, z=-1}},
- {chunk="ew_bridge_passage_n", chance=30, shift={x=0, y=0, z=0}},
- {chunk="ew_bridge_passage_s", chance=30, shift={x=0, y=0, z=1}},
- {chunk="se_corner", chance=20},
- {chunk="ne_corner", chance=20},
- {chunk="wne_t", chance=10},
- {chunk="esw_t", chance=10},
- {chunk="nes_t", chance=10},
- {chunk="junction", chance=20},
- {chunk="e_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="ew_walk", fallback=true}},
- },
- },
- ns = {
- schem = {
- {file="nf_passage_ns"},
- {file="ns_hall_end_stair_n", priority=100, force=false, adjust={x=2, y=1, z=11}},
- {file="ns_hall_end_stair_s", priority=100, force=false, adjust={x=2, y=1, z=-3}},
- {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_room1", chance=15, rotation="90", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_room2", chance=15, rotation="90", force=true, adjust={x=3, y=4, z=3}},
- {file="nf_detail_room3", chance=15, force=false, adjust={x=3, y=4, z=0}},
- },
- chests = {
- {pos={x=3, y=4, z_min=0, z_max=10}, chance=10, loot="common"},
- {pos={x=7, y=4, z_min=0, z_max=10}, chance=10, loot="common"},
- {pos={x=3, y=4, z_min=0, z_max=10}, chance=5, loot="rare"},
- {pos={x=7, y=4, z_min=0, z_max=10}, chance=5, loot="rare"},
- },
- next = {
- ["+z"] = {
- {chunk="ns", chance=50},
- {chunk="ns_stair", chance=20},
- {chunk="ns_bridge_passage", chance=10, shift={x=-1, y=0, z=0}},
- {chunk="ns_bridge_passage_e", chance=30, shift={x=0, y=0, z=0}},
- {chunk="ns_bridge_passage_w", chance=30, shift={x=1, y=0, z=0}},
- {chunk="se_corner", chance=20},
- {chunk="sw_corner", chance=20},
- {chunk="nes_t", chance=10},
- {chunk="esw_t", chance=10},
- {chunk="swn_t", chance=10},
- {chunk="junction", chance=20},
- {chunk="s_capped", fallback=true},
- },
- ["-z"] = {
- {chunk="ns", chance=50},
- {chunk="ns_stair", chance=20},
- {chunk="ns_bridge_passage", chance=10, shift={x=-1, y=0, z=0}},
- {chunk="ns_bridge_passage_e", chance=30, shift={x=0, y=0, z=0}},
- {chunk="ns_bridge_passage_w", chance=30, shift={x=1, y=0, z=0}},
- {chunk="ne_corner", chance=20},
- {chunk="nw_corner", chance=20},
- {chunk="nes_t", chance=10},
- {chunk="wne_t", chance=10},
- {chunk="swn_t", chance=10},
- {chunk="junction", chance=20},
- {chunk="n_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="ns_walk", fallback=true}},
- },
- },
- ns_plaza_e = {
- schem = {
- {file="ns_bridge_passage_e"},
- {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="plaza_door_ew", force=true, adjust={x=0, y=4, z=3}},
- },
- size = {x=2, y=1, z=1},
- next = {
- ["+x"] = {
- {chunk="ew_walk_bridge", chance=70, shift={x=1, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ew", fallback=true, shift={x=1, y=0, z=0}, continue=true},
- {chunk="solid", fallback=true},
- },
- ["+y"] = {
- {chunk="ns_walk", fallback=true},
- },
- },
- },
- ns_plaza_w = {
- schem = {
- {file="ns_bridge_passage_w"},
- {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=14, y=3, z=3}},
- {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=14, y=3, z=3}},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=14, y=3, z=3}},
- {file="plaza_door_ew", force=true, adjust={x=19, y=4, z=3}},
- },
- size = {x=2, y=1, z=1},
- next = {
- ["-x"] = {
- {chunk="ew_walk_bridge", chance=70, shift={x=-2, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ew", fallback=true, shift={x=0, y=0, z=0}, continue=true},
- {chunk="solid", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["+y"] = {
- {chunk="ns_walk", fallback=true, shift={x=1, y=0, z=0}},
- },
- },
- },
- ew_plaza_n = {
- schem = {
- {file="ew_bridge_passage_n"},
- {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="plaza_door_ns", force=true, adjust={x=3, y=4, z=0}},
- },
- size = {x=1, y=1, z=2},
- next = {
- ["+z"] = {
- {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=1}},
- {chunk="s_broken_walk", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=1}, continue=true},
- {chunk="solid", fallback=true},
- },
- ["+y"] = {
- {chunk="ew_walk", fallback=true},
- },
- },
- },
- ew_plaza_s = {
- schem = {
- {file="ew_bridge_passage_s"},
- {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=3, z=3}},
- {file="plaza_door_ns", force=true, adjust={x=3, y=4, z=19}},
- },
- size = {x=1, y=1, z=2},
- next = {
- ["-z"] = {
- {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=-2}},
- {chunk="n_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=0}, continue=true},
- {chunk="solid", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["+y"] = {
- {chunk="ew_walk", fallback=true, shift={x=0, y=0, z=1}},
- },
- },
- },
- n_capped = {
- schem = {
- {file="nf_passage_n_capped"},
- {file="hall_end_stair", rotation="180", chance=20, force=true, priority=1000, adjust={x=4, y=4, z=5}},
- },
- chests = {
- {pos={x_min=3, x_max=7, y=4, z=3}, chance=50, loot="common"},
- {pos={x=3, y=4, z_min=3, z_max=10}, chance=30, loot="rare"},
- {pos={x=7, y=4, z_min=3, z_max=10}, chance=20, loot="exceptional"},
- },
- next = {
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="n_capped_walk", fallback=true}},
- },
- },
- s_capped = {
- schem = {
- {file="nf_passage_s_capped"},
- {file="hall_end_stair", rotation="0", chance=20, force=true, priority=1000, adjust={x=4, y=4, z=-2}},
- },
- chests = {
- {pos={x_min=3, x_max=7, y=4, z=7}, chance=50, loot="common"},
- {pos={x=3, y=4, z_min=0, z_max=7}, chance=30, loot="rare"},
- {pos={x=7, y=4, z_min=0, z_max=7}, chance=20, loot="exceptional"},
- },
- next = {
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="s_capped_walk", fallback=true}},
- },
- },
- e_capped = {
- schem = {
- {file="nf_passage_e_capped"},
- {file="hall_end_stair", rotation="270", chance=20, force=true, priority=1000, adjust={x=5, y=4, z=4}},
- },
- chests = {
- {pos={x_min=3, x_max=10, y=4, z=3}, chance=50, loot="common"},
- {pos={x_min=3, x_max=10, y=4, z=7}, chance=30, loot="rare"},
- {pos={x=3, y=4, z_min=3, z_max=7}, chance=20, loot="exceptional"},
- },
- next = {
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="e_capped_walk", fallback=true}},
- },
- },
- w_capped = {
- schem = {
- {file="nf_passage_w_capped"},
- {file="hall_end_stair", rotation="90", chance=20, force=true, priority=1000, adjust={x=-2, y=4, z=4}},
- },
- chests = {
- {pos={x_min=0, x_max=7, y=4, z=3}, chance=50, loot="common"},
- {pos={x_min=0, x_max=7, y=4, z=7}, chance=30, loot="rare"},
- {pos={x=7, y=4, z_min=3, z_max=7}, chance=20, loot="exceptional"},
- },
- next = {
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="w_capped_walk", fallback=true}},
- },
- },
- ne_corner = {
- schem = {
- {file="nf_passage_ne_corner"},
- {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
- {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
- },
- next = {
- ["+z"] = {
- {chunk="ns", chance=50},
- {chunk="s_capped", fallback=true},
- },
- ["+x"] = {
- {chunk="ew", chance=70},
- {chunk="w_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="ne_corner_walk", fallback=true}},
- },
- },
- nw_corner = {
- schem = {
- {file="nf_passage_nw_corner"},
- {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
- {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
- },
- next = {
- ["-x"] = {
- {chunk="ew", chance=70},
- {chunk="e_capped", fallback=true},
- },
- ["+z"] = {
- {chunk="ns", chance=50},
- {chunk="s_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="nw_corner_walk", fallback=true}},
- },
- },
- sw_corner = {
- schem = {
- {file="nf_passage_sw_corner"},
- {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
- {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
- },
- next = {
- ["-z"] = {
- {chunk="ns", chance=50},
- {chunk="n_capped", fallback=true},
- },
- ["-x"] = {
- {chunk="ew", chance=70},
- {chunk="e_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="sw_corner_walk", fallback=true}},
- },
- },
- se_corner = {
- schem = {
- {file="nf_passage_se_corner"},
- {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
- {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
- },
- next = {
- ["-z"] = {
- {chunk="ns", chance=50},
- {chunk="n_capped", fallback=true},
- },
- ["+x"] = {
- {chunk="ew", chance=70},
- {chunk="w_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="se_corner_walk", fallback=true}},
- },
- },
- esw_t = {
- schem = {
- {file="nf_passage_esw_t"},
- {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
- {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
- {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
- },
- next = {
- ["+x"] = {
- {chunk="ew", chance=70},
- {chunk="w_capped", fallback=true},
- },
- ["-x"] = {
- {chunk="ew", chance=70},
- {chunk="e_capped", fallback=true},
- },
- ["-z"] = {
- {chunk="ns", chance=50},
- {chunk="n_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="esw_t_walk", fallback=true}},
- },
- },
- nes_t = {
- schem = {
- {file="nf_passage_nes_t"},
- {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
- {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
- {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
- },
- next = {
- ["+z"] = {
- {chunk="ns", chance=50},
- {chunk="s_capped", fallback=true},
- },
- ["-z"] = {
- {chunk="ns", chance=50},
- {chunk="n_capped", fallback=true},
- },
- ["+x"] = {
- {chunk="ew", chance=70},
- {chunk="w_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="nes_t_walk", fallback=true}},
- },
- },
- swn_t = {
- schem = {
- {file="nf_passage_swn_t"},
- {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
- {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
- {file="ns_hall_end_s", priority=1000, force=false, adjust={x=2, y=3, z=-3}},
- },
- next = {
- ["-z"] = {
- {chunk="ns", chance=50},
- {chunk="n_capped", fallback=true},
- },
- ["+z"] = {
- {chunk="ns", chance=50},
- {chunk="s_capped", fallback=true},
- },
- ["-x"] = {
- {chunk="ew", chance=70},
- {chunk="e_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="swn_t_walk", fallback=true}},
- },
- },
- wne_t = {
- schem = {
- {file="nf_passage_wne_t"},
- {file="ew_hall_end_e", priority=1000, force=false, adjust={x=11, y=3, z=2}},
- {file="ew_hall_end_w", priority=1000, force=false, adjust={x=-3, y=3, z=2}},
- {file="ns_hall_end_n", priority=1000, force=false, adjust={x=2, y=3, z=11}},
- },
- next = {
- ["-x"] = {
- {chunk="ew", chance=70},
- {chunk="e_capped", fallback=true},
- },
- ["+x"] = {
- {chunk="ew", chance=70},
- {chunk="w_capped", fallback=true},
- },
- ["+z"] = {
- {chunk="ns", chance=50},
- {chunk="s_capped", fallback=true},
- },
- ["-y"] = {{chunk="solid", fallback=true}},
- ["+y"] = {{chunk="wne_t_walk", fallback=true}},
- },
- },
- -- Bridge/passage connections.
- ns_bridge_passage = {
- schem = {
- {file="nf_ns_passage_ew_bridge_access"},
- {file="ns_hall_end_stair_n", priority=1000, force=false, adjust={x=13, y=1, z=11}},
- {file="ns_hall_end_stair_s", priority=1000, force=false, adjust={x=13, y=1, z=-3}},
- },
- size = {x=3, y=1, z=1},
- limit = 4,
- next = {
- ["+z"] = {
- {chunk="ns", shift={x=1, y=0, z=0}},
- {chunk="s_capped", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="ns", shift={x=1, y=0, z=0}},
- {chunk="n_capped", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["+x"] = {
- {chunk="ew_walk_bridge", chance=70, shift={x=2, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true, shift={x=2, y=0, z=0}},
- },
- ["-x"] = {
- {chunk="ew_walk_bridge", chance=70, shift={x=-2, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ew", fallback=true, shift={x=0, y=0, z=0}, continue=true},
- {chunk="bridge_arch_ew", fallback=true, shift={x=2, y=0, z=0}, continue=true},
- {chunk="solid", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["+y"] = {
- {chunk="ns_walk", shift={x=1, y=0, z=0}, fallback=true},
- },
- },
- },
- ns_bridge_passage_w = {
- schem = {
- {file="ns_bridge_passage_w"},
- {file="ns_hall_end_stair_n", priority=1000, force=false, adjust={x=13, y=1, z=11}},
- {file="ns_hall_end_stair_s", priority=1000, force=false, adjust={x=13, y=1, z=-3}},
- },
- size = {x=2, y=1, z=1},
- limit = 4,
- next = {
- ["+z"] = {
- {chunk="ns", shift={x=1, y=0, z=0}},
- {chunk="s_capped", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="ns", shift={x=1, y=0, z=0}},
- {chunk="n_capped", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["-x"] = {
- {chunk="ew_walk_bridge", chance=70, shift={x=-2, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ew", fallback=true, shift={x=0, y=0, z=0}, continue=true},
- {chunk="solid", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["+y"] = {
- {chunk="ns_walk", shift={x=1, y=0, z=0}, fallback=true},
- },
- },
- },
- ns_bridge_passage_e = {
- schem = {
- {file="ns_bridge_passage_e"},
- {file="ns_hall_end_stair_n", priority=1000, force=false, adjust={x=2, y=1, z=11}},
- {file="ns_hall_end_stair_s", priority=1000, force=false, adjust={x=2, y=1, z=-3}},
- },
- size = {x=2, y=1, z=1},
- limit = 4,
- next = {
- ["+z"] = {
- {chunk="ns", shift={x=0, y=0, z=0}},
- {chunk="s_capped", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="ns", shift={x=0, y=0, z=0}},
- {chunk="n_capped", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+x"] = {
- {chunk="ew_walk_bridge", chance=70, shift={x=1, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ew", fallback=true, shift={x=1, y=0, z=0}, continue=true},
- {chunk="solid", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+y"] = {
- {chunk="ns_walk", shift={x=0, y=0, z=0}, fallback=true},
- },
- },
- },
- ew_bridge_passage = {
- schem = {
- {file="nf_ew_passage_ns_bridge_access"},
- {file="ew_hall_end_stair_e", priority=1000, force=false, adjust={x=11, y=1, z=13}},
- {file="ew_hall_end_stair_w", priority=1000, force=false, adjust={x=-3, y=1, z=13}},
- },
- size = {x=1, y=1, z=3},
- limit = 4,
- next = {
- ["+x"] = {
- {chunk="ew", shift={x=0, y=0, z=1}},
- {chunk="w_capped", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["-x"] = {
- {chunk="ew", shift={x=0, y=0, z=1}},
- {chunk="e_capped", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["+z"] = {
- {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=2}},
- {chunk="s_broken_walk", fallback=true, shift={x=0, y=0, z=2}},
- },
- ["-z"] = {
- {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=-2}},
- {chunk="n_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=0}, continue=true},
- {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=2}, continue=true},
- {chunk="solid", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["+y"] = {
- {chunk="ew_walk", shift={x=0, y=0, z=1}, fallback=true},
- },
- },
- },
- ew_bridge_passage_n = {
- schem = {
- {file="ew_bridge_passage_n"},
- {file="ew_hall_end_stair_e", priority=1000, force=false, adjust={x=11, y=1, z=2}},
- {file="ew_hall_end_stair_w", priority=1000, force=false, adjust={x=-3, y=1, z=2}},
- },
- size = {x=1, y=1, z=2},
- limit = 4,
- next = {
- ["+x"] = {
- {chunk="ew", shift={x=0, y=0, z=0}},
- {chunk="w_capped", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-x"] = {
- {chunk="ew", shift={x=0, y=0, z=0}},
- {chunk="e_capped", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+z"] = {
- {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=1}},
- {chunk="s_broken_walk", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=1}, continue=true},
- {chunk="solid", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+y"] = {
- {chunk="ew_walk", shift={x=0, y=0, z=0}, fallback=true},
- },
- },
- },
- ew_bridge_passage_s = {
- schem = {
- {file="ew_bridge_passage_s"},
- {file="ew_hall_end_stair_e", priority=1000, force=false, adjust={x=11, y=1, z=13}},
- {file="ew_hall_end_stair_w", priority=1000, force=false, adjust={x=-3, y=1, z=13}},
- },
- size = {x=1, y=1, z=2},
- limit = 4,
- next = {
- ["+x"] = {
- {chunk="ew", shift={x=0, y=0, z=1}},
- {chunk="w_capped", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["-x"] = {
- {chunk="ew", shift={x=0, y=0, z=1}},
- {chunk="e_capped", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["-z"] = {
- {chunk="ns_walk_bridge", chance=70, shift={x=0, y=0, z=-2}},
- {chunk="n_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_ns", fallback=true, shift={x=0, y=0, z=0}, continue=true},
- {chunk="solid", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["+y"] = {
- {chunk="ew_walk", shift={x=0, y=0, z=1}, fallback=true},
- },
- },
- },
- -- Bridge junctions.
- junction_walk_bridge = {
- schem = {
- {file="nf_walkway_4x_junction", force=false},
- {file="bridge_junction_house", chance=50, force=true},
- {file="nf_detail_lava_well1", chance=50, force=true, adjust={x=3, y=1, z=3}},
- },
- -- If number of chunks excees this limit, then algorithm reduces
- -- the chance by 10% for every unit over the limit. This affects
- -- all chunks which have this chunk as a possible follow-up.
- limit = 3,
- next = {
- ["-y"] = {
- {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
- },
- ["+x"] = {
- {chunk="ew_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true},
- },
- ["-x"] = {
- {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true},
- },
- ["+z"] = {
- {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
- {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="s_broken_walk", fallback=true},
- },
- ["-z"] = {
- {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=-2}},
- {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="n_broken_walk", fallback=true},
- },
- },
- },
- walk_bridge_nse = {
- schem = {
- {file="walk_bridge_nse", force=false},
- },
- -- If number of chunks excees this limit, then algorithm reduces
- -- the chance by 10% for every unit over the limit. This affects
- -- all chunks which have this chunk as a possible follow-up.
- limit = 5,
- next = {
- ["-y"] = {
- {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
- },
- ["+x"] = {
- {chunk="ew_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true},
- },
- ["+z"] = {
- {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
- {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="s_broken_walk", fallback=true},
- },
- ["-z"] = {
- {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=-2}},
- {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="n_broken_walk", fallback=true},
- },
- },
- },
- walk_bridge_nsw = {
- schem = {
- {file="walk_bridge_nsw", force=false},
- },
- -- If number of chunks excees this limit, then algorithm reduces
- -- the chance by 10% for every unit over the limit. This affects
- -- all chunks which have this chunk as a possible follow-up.
- limit = 5,
- next = {
- ["-y"] = {
- {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
- },
- ["-x"] = {
- {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true},
- },
- ["+z"] = {
- {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
- {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="s_broken_walk", fallback=true},
- },
- ["-z"] = {
- {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=-2}},
- {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="n_broken_walk", fallback=true},
- },
- },
- },
- walk_bridge_swe = {
- schem = {
- {file="walk_bridge_swe", force=false},
- },
- -- If number of chunks excees this limit, then algorithm reduces
- -- the chance by 10% for every unit over the limit. This affects
- -- all chunks which have this chunk as a possible follow-up.
- limit = 5,
- next = {
- ["-y"] = {
- {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
- },
- ["+x"] = {
- {chunk="ew_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true},
- },
- ["-x"] = {
- {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true},
- },
- ["-z"] = {
- {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=-2}},
- {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="n_broken_walk", fallback=true},
- },
- },
- },
- walk_bridge_nwe = {
- schem = {
- {file="walk_bridge_nwe", force=false},
- },
- -- If number of chunks excees this limit, then algorithm reduces
- -- the chance by 10% for every unit over the limit. This affects
- -- all chunks which have this chunk as a possible follow-up.
- limit = 5,
- next = {
- ["-y"] = {
- {chunk="bridge_pillar_top", fallback=true, shift={x=0, y=-1, z=0}},
- },
- ["+x"] = {
- {chunk="ew_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true},
- },
- ["-x"] = {
- {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true},
- },
- ["+z"] = {
- {chunk="ns_walk_bridge", chance=80, shift={x=0, y=0, z=0}},
- {chunk="ns_walk_bridge_short", chance=10, shift={x=0, y=0, z=0}},
- {chunk="s_broken_walk", fallback=true},
- },
- },
- },
- -- Bridges.
- ew_walk_bridge = {
- schem = {
- {file="nf_walkway_ew", force=false, adjust={x=0, y=0, z=0}},
- {file="nf_walkway_ew", force=false, adjust={x=11, y=0, z=0}},
- {file="nf_walkway_ew", force=false, adjust={x=22, y=0, z=0}},
- {file="bridge_house_ew", chance=20, force=true, adjust={x=0, y=3, z=0}},
- {file="bridge_house_ew", chance=10, force=true, adjust={x=11, y=3, z=0}},
- {file="bridge_house_ew", chance=20, force=true, adjust={x=22, y=3, z=0}},
- },
- size = {x=3, y=1, z=1},
- next = {
- ["+x"] = {
- {chunk="junction_walk_bridge", chance=10, shift={x=2, y=0, z=0}},
- {chunk="walk_bridge_nsw", chance=10, shift={x=2, y=0, z=0}},
- {chunk="walk_bridge_nwe", chance=10, shift={x=2, y=0, z=0}},
- {chunk="walk_bridge_swe", chance=10, shift={x=2, y=0, z=0}},
- {chunk="ns_bridge_passage", chance=10, shift={x=2, y=0, z=0}},
- {chunk="ns_bridge_passage_w", chance=20, shift={x=2, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=80, shift={x=2, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true, shift={x=2, y=0, z=0}},
- },
- ["-x"] = {
- {chunk="junction_walk_bridge", chance=10, shift={x=0, y=0, z=0}},
- {chunk="walk_bridge_nse", chance=10, shift={x=0, y=0, z=0}},
- {chunk="walk_bridge_swe", chance=10, shift={x=0, y=0, z=0}},
- {chunk="walk_bridge_nwe", chance=10, shift={x=0, y=0, z=0}},
- {chunk="ns_bridge_passage", chance=10, shift={x=-2, y=0, z=0}},
- {chunk="ns_bridge_passage_e", chance=20, shift={x=-1, y=0, z=0}},
- {chunk="ew_walk_bridge_short", chance=80, shift={x=0, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_pillar_ew", shift={x=0, y=-1, z=0}, continue=true, fallback=true},
- {chunk="bridge_arch_ew", shift={x=1, y=0, z=0}, continue=true, fallback=true},
- {chunk="bridge_arch_pillar_ew", shift={x=2, y=-1, z=0}, continue=true, fallback=true},
- },
- },
- },
- ns_walk_bridge = {
- schem = {
- {file="nf_walkway_ns", force=false, adjust={x=0, y=0, z=0}},
- {file="nf_walkway_ns", force=false, adjust={x=0, y=0, z=11}},
- {file="nf_walkway_ns", force=false, adjust={x=0, y=0, z=22}},
- {file="bridge_house_ns", chance=20, force=true, adjust={x=0, y=3, z=0}},
- {file="bridge_house_ns", chance=10, force=true, adjust={x=0, y=3, z=11}},
- {file="bridge_house_ns", chance=20, force=true, adjust={x=0, y=3, z=22}},
- },
- size = {x=1, y=1, z=3},
- next = {
- ["+z"] = {
- {chunk="junction_walk_bridge", chance=10, shift={x=0, y=0, z=2}},
- {chunk="walk_bridge_nse", chance=10, shift={x=0, y=0, z=2}},
- {chunk="walk_bridge_swe", chance=10, shift={x=0, y=0, z=2}},
- {chunk="walk_bridge_nsw", chance=10, shift={x=0, y=0, z=2}},
- {chunk="ew_bridge_passage", chance=10, shift={x=0, y=0, z=2}},
- {chunk="ew_bridge_passage_s", chance=20, shift={x=0, y=0, z=2}},
- {chunk="ns_walk_bridge_short", chance=80, shift={x=0, y=0, z=2}},
- {chunk="s_broken_walk", fallback=true, shift={x=0, y=0, z=2}},
- },
- ["-z"] = {
- {chunk="junction_walk_bridge", chance=10, shift={x=0, y=0, z=0}},
- {chunk="walk_bridge_nse", chance=10, shift={x=0, y=0, z=0}},
- {chunk="walk_bridge_nsw", chance=10, shift={x=0, y=0, z=0}},
- {chunk="walk_bridge_nwe", chance=10, shift={x=0, y=0, z=0}},
- {chunk="ew_bridge_passage", chance=10, shift={x=0, y=0, z=-2}},
- {chunk="ew_bridge_passage_n", chance=20, shift={x=0, y=0, z=-1}},
- {chunk="ns_walk_bridge_short", chance=80, shift={x=0, y=0, z=0}},
- {chunk="n_broken_walk", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_arch_pillar_ns", shift={x=0, y=-1, z=0}, continue=true, fallback=true},
- {chunk="bridge_arch_ns", shift={x=0, y=0, z=1}, continue=true, fallback=true},
- {chunk="bridge_arch_pillar_ns", shift={x=0, y=-1, z=2}, continue=true, fallback=true},
- },
- },
- },
- ew_walk_bridge_short = {
- schem = {
- {file="nf_walkway_ew", force=false},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="nf_detail_lava1", chance=10, force=true, adjust={x=3, y=0, z=3}},
- {file="bridge_house_ew", chance=20, force=true, adjust={x=0, y=3, z=0}},
- },
- next = {
- ["+x"] = {
- {chunk="ew_gatehouse", chance=20, shift={x=0, y=0, z=-1}},
- {chunk="ns_bridge_passage", chance=20},
- {chunk="junction_walk_bridge", chance=20},
- {chunk="ew_walk_bridge", chance=100, shift={x=0, y=0, z=0}},
- {chunk="w_broken_walk", fallback=true},
- },
- ["-x"] = {
- {chunk="ew_gatehouse", chance=20, shift={x=-1, y=0, z=-1}},
- {chunk="ns_bridge_passage", chance=20},
- {chunk="junction_walk_bridge", chance=20},
- {chunk="ew_walk_bridge", chance=100, shift={x=-2, y=0, z=0}},
- {chunk="e_broken_walk", fallback=true},
- },
- ["-y"] = {{chunk="bridge_arch_ew", fallback=true}},
- },
- },
- ns_walk_bridge_short = {
- schem = {
- {file="nf_walkway_ns", force=false},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=0, z=3}},
- {file="bridge_house_ns", chance=20, force=true, adjust={x=0, y=3, z=0}},
- },
- next = {
- ["+z"] = {
- {chunk="ns_gatehouse", chance=20, shift={x=-1, y=0, z=0}},
- {chunk="ew_bridge_passage", chance=20},
- {chunk="junction_walk_bridge", chance=20},
- {chunk="ns_walk_bridge", chance=100, shift={x=0, y=0, z=0}},
- {chunk="s_broken_walk", fallback=true},
- },
- ["-z"] = {
- {chunk="ns_gatehouse", chance=20, shift={x=-1, y=0, z=-1}},
- {chunk="ew_bridge_passage", chance=20},
- {chunk="junction_walk_bridge", chance=20},
- {chunk="ns_walk_bridge", chance=100, shift={x=0, y=0, z=-2}},
- {chunk="n_broken_walk", fallback=true},
- },
- ["-y"] = {{chunk="bridge_arch_ns", fallback=true}},
- },
- },
- -- Walkways.
- junction_walk = {schem = {{file="nf_walkway_4x_junction", force=false}}},
- ew_walk = {
- schem = {
- {file="nf_walkway_ew", priority=101, force=false},
- {file="nf_detail_lava1", chance=10, force=true, adjust={x=3, y=0, z=3}},
- {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="elite_spawner", chance=5, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="bridge_house_ew", chance=15, force=true, adjust={x=0, y=3, z=0}},
- },
- },
- ns_walk = {
- schem = {
- {file="nf_walkway_ns", priority=101, force=false},
- {file="nf_detail_lava1", chance=10, rotation="90", force=true, adjust={x=3, y=0, z=3}},
- {file="nf_detail_lava1", chance=2, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="elite_spawner", chance=5, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="bridge_house_ns", chance=15, force=true, adjust={x=0, y=3, z=0}},
- },
- },
- n_capped_walk = {
- schem = {
- {file="nf_walkway_n_capped", priority=101, force=false},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="bridge_house_n", chance=15, force=true, adjust={x=0, y=3, z=0}},
- },
- next = {
- ["+y"] = {{chunk="tower", chance=50}},
- },
- },
- s_capped_walk = {
- schem = {
- {file="nf_walkway_s_capped", priority=101, force=false},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="bridge_house_s", chance=15, force=true, adjust={x=0, y=3, z=0}},
- },
- next = {
- ["+y"] = {{chunk="tower", chance=50}},
- },
- },
- e_capped_walk = {
- schem = {
- {file="nf_walkway_e_capped", priority=101, force=false},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="bridge_house_e", chance=15, force=true, adjust={x=0, y=3, z=0}},
- },
- next = {
- ["+y"] = {{chunk="tower", chance=50}},
- },
- },
- w_capped_walk = {
- schem = {
- {file="nf_walkway_w_capped", priority=101, force=false},
- {file="nf_detail_spawner1", chance=20, rotation="random", force=true, adjust={x=3, y=0, z=3}},
- {file="bridge_house_w", chance=15, force=true, adjust={x=0, y=3, z=0}},
- },
- next = {
- ["+y"] = {{chunk="tower", chance=50}},
- },
- },
- -- Broken causeway ends.
- -- Need to set 'fallback' on the arch-undersides, otherwise they won't be
- -- placed if we're past the soft extent.
- n_broken_walk = {
- schem = {{file="nf_walkway_n_broken", force=false}},
- next = {
- ["-y"] = {{chunk="bridge_broken_walk_arch_n", fallback=true}},
- },
- },
- s_broken_walk = {
- schem = {{file="nf_walkway_s_broken", force=false}},
- next = {
- ["-y"] = {{chunk="bridge_broken_walk_arch_s", fallback=true}},
- },
- },
- e_broken_walk = {
- schem = {{file="nf_walkway_e_broken", force=false}},
- next = {
- ["-y"] = {{chunk="bridge_broken_walk_arch_e", fallback=true}},
- },
- },
- w_broken_walk = {
- schem = {{file="nf_walkway_w_broken", force=false}},
- next = {
- ["-y"] = {{chunk="bridge_broken_walk_arch_w", fallback=true}},
- },
- },
- ne_corner_walk = {schem = {{file="nf_walkway_ne_corner", priority=101, force=false}}},
- nw_corner_walk = {schem = {{file="nf_walkway_nw_corner", priority=101, force=false}}},
- sw_corner_walk = {schem = {{file="nf_walkway_sw_corner", priority=101, force=false}}},
- se_corner_walk = {schem = {{file="nf_walkway_se_corner", priority=101, force=false}}},
- esw_t_walk = {schem = {{file="nf_walkway_esw_t", priority=101, force=false}}},
- nes_t_walk = {schem = {{file="nf_walkway_nes_t", priority=101, force=false}}},
- swn_t_walk = {schem = {{file="nf_walkway_swn_t", priority=101, force=false}}},
- wne_t_walk = {schem = {{file="nf_walkway_wne_t", priority=101, force=false}}},
- ew_stair = {
- schem = {
- {file="nf_passage_ew_stair"},
- {file="ew_hall_end_stair_e", priority=1000, force=false, adjust={x=11, y=1, z=2}},
- {file="ew_hall_end_stair_w", priority=1000, force=false, adjust={x=-3, y=1, z=2}},
- },
- next = {
- ["+x"] = {
- {chunk="swn_t", chance=20},
- {chunk="wne_t", chance=20},
- {chunk="esw_t", fallback=true},
- },
- ["-x"] = {
- {chunk="wne_t", chance=20},
- {chunk="esw_t", chance=20},
- {chunk="nes_t", fallback=true},
- },
- ["+y"] = {{chunk="ew_walk_stair", fallback=true}},
- ["-y"] = {{chunk="solid", fallback=true}},
- },
- },
- ew_walk_stair = {
- schem = {{file="nf_walkway_ew_stair"}},
- },
- ns_stair = {
- schem = {
- {file="nf_passage_ew_stair", rotation="90"},
- {file="ns_hall_end_stair_n", priority=1000, force=false, adjust={x=2, y=1, z=11}},
- {file="ns_hall_end_stair_s", priority=1000, force=false, adjust={x=2, y=1, z=-3}},
- },
- next = {
- ["+z"] = {
- {chunk="nes_t", chance=20},
- {chunk="swn_t", chance=20},
- {chunk="esw_t", fallback=true},
- },
- ["-z"] = {
- {chunk="nes_t", chance=10},
- {chunk="swn_t", chance=10},
- {chunk="wne_t", fallback=true},
- },
- ["+y"] = {{chunk="ns_walk_stair", fallback=true}},
- ["-y"] = {{chunk="solid", fallback=true}},
- },
- },
- ns_walk_stair = {
- schem = {{file="nf_walkway_ew_stair", rotation="90", force=false}},
- },
- tower = {
- schem = {
- {file="nf_tower", force=false, priority=1000, adjust={x=3, y=-10, z=3}},
- },
- limit = 4,
- size = {x=1, y=2, z=1},
- },
- -- Gatehouses.
- ew_gatehouse = {
- schem = {
- {file="nf_gatehouse_ew", adjust={x=0, y=0, z=7}},
- {file="nf_gatehouse_bridge_shim_w", force=false, adjust={x=0, y=-11, z=11}},
- {file="nf_gatehouse_bridge_shim_e", force=false, adjust={x=20, y=-11, z=11}},
- },
- size = {x=2, y=1, z=3},
- limit = 2,
- next = {
- ["+x"] = {
- {chunk="ew_walk_bridge_short", chance=20, shift={x=1, y=0, z=1}},
- {chunk="ew_walk_bridge", chance=80, shift={x=1, y=0, z=1}},
- {chunk="w_broken_walk", fallback=true, shift={x=1, y=0, z=1}},
- },
- ["-x"] = {
- {chunk="ew_walk_bridge_short", chance=20, shift={x=0, y=0, z=1}},
- {chunk="ew_walk_bridge", chance=80, shift={x=-2, y=0, z=1}},
- {chunk="e_broken_walk", fallback=true, shift={x=0, y=0, z=1}},
- },
- ["-y"] = {{chunk="gatehouse_pillar_ew", shift={x=0, y=-3, z=0}, fallback=true}},
- },
- },
- ns_gatehouse = {
- schem = {
- {file="nf_gatehouse_ns", adjust={x=7, y=0, z=0}},
- {file="nf_gatehouse_bridge_shim_s", force=false, adjust={x=11, y=-11, z=0}},
- {file="nf_gatehouse_bridge_shim_n", force=false, adjust={x=11, y=-11, z=20}},
- },
- size = {x=3, y=1, z=2},
- limit = 2,
- next = {
- ["+z"] = {
- {chunk="ns_walk_bridge_short", chance=20, shift={x=1, y=0, z=1}},
- {chunk="ns_walk_bridge", chance=100, shift={x=1, y=0, z=1}},
- {chunk="s_broken_walk", fallback=true, shift={x=1, y=0, z=1}},
- },
- ["-z"] = {
- {chunk="ns_walk_bridge_short", chance=20, shift={x=1, y=0, z=0}},
- {chunk="ns_walk_bridge", chance=100, shift={x=1, y=0, z=-2}},
- {chunk="n_broken_walk", fallback=true, shift={x=1, y=0, z=0}},
- },
- ["-y"] = {{chunk="gatehouse_pillar_ns", shift={x=0, y=-3, z=0}, fallback=true}},
- },
- },
- gatehouse_pillar_ew = {
- schem = {
- {file="nf_gatehouse_tower_ew", force=false, adjust={x=2, y=0, z=7}},
- {file="nf_gatehouse_tower_ew", force=false, adjust={x=2, y=11, z=7}},
- {file="nf_gatehouse_tower_ew", force=false, adjust={x=2, y=22, z=7}},
- {file="nf_gatehouse_tower_ew", force=false, adjust={x=2, y=33, z=7}},
- },
- size = {x=2, y=4, z=3},
- },
- gatehouse_pillar_ns = {
- schem = {
- {file="nf_gatehouse_tower_ns", force=false, adjust={x=7, y=0, z=2}},
- {file="nf_gatehouse_tower_ns", force=false, adjust={x=7, y=11, z=2}},
- {file="nf_gatehouse_tower_ns", force=false, adjust={x=7, y=22, z=2}},
- {file="nf_gatehouse_tower_ns", force=false, adjust={x=7, y=33, z=2}},
- },
- size = {x=3, y=4, z=2},
- },
- pillar = {
- schem = {{file="nf_pillar", force=false}},
- next = {
- ["-y"] = {{chunk="pillar_straight", fallback=true, shift={x=0, y=-2, z=0}}},
- },
- },
- pillar_straight = {
- schem = {
- {file="nf_pillar_straight", force=false, adjust={x=3, y=0, z=3}},
- {file="nf_pillar_straight", force=false, adjust={x=3, y=11, z=3}},
- {file="nf_pillar_straight", force=false, adjust={x=3, y=22, z=3}},
- },
- size = {x=1, y=3, z=1},
- },
- solid = {
- schem = {{file="nf_building_solid", force=false, adjust={x=0, y=0, z=0}}},
- size = {x=1, y=1, z=1},
- next = {
- ["-y"] = {{chunk="pillar", fallback=true}},
- },
- },
- -- Bridge arches & pillars.
- bridge_arch_ns = {
- schem = {
- {file="nf_bridge_arch_ns", force=false, adjust={x=0, y=6, z=0}},
- {file="bridge_pit", chance=5, force=true, adjust={x=3, y=8, z=3}},
- },
- },
- bridge_arch_ew = {
- schem = {
- {file="nf_bridge_arch_ew", force=false, adjust={x=0, y=6, z=0}},
- {file="bridge_pit", chance=5, force=true, adjust={x=3, y=8, z=3}},
- },
- },
- bridge_arch_pillar_ns = {
- schem = {{file="nf_bridge_arch_pillar_ns", force=false}},
- size = {x=1, y=2, z=1},
- next = {
- ["-y"] = {{chunk="bridge_arch_pillar_bottom_ns", fallback=true, shift={x=0, y=-3, z=0}}},
- },
- },
- bridge_arch_pillar_ew = {
- schem = {{file="nf_bridge_arch_pillar_ew", force=false}},
- size = {x=1, y=2, z=1},
- next = {
- ["-y"] = {{chunk="bridge_arch_pillar_bottom_ew", fallback=true, shift={x=0, y=-3, z=0}}},
- },
- },
- bridge_arch_pillar_bottom_ns = {
- schem = {
- {file="nf_bridge_arch_pillar_bottom_ns", force=false, adjust={x=0, y=0, z=3}},
- {file="nf_bridge_arch_pillar_bottom_ns", force=false, adjust={x=0, y=22, z=3}},
- },
- size = {x=1, y=4, z=1},
- },
- bridge_arch_pillar_bottom_ew = {
- schem = {
- {file="nf_bridge_arch_pillar_bottom_ew", force=false, adjust={x=3, y=0, z=0}},
- {file="nf_bridge_arch_pillar_bottom_ew", force=false, adjust={x=3, y=22, z=0}},
- },
- size = {x=1, y=4, z=1},
- },
- bridge_pillar_top = {
- schem = {{file="nf_center_pillar_top", force=false}},
- size = {x=1, y=2, z=1},
- next = {
- ["-y"] = {{chunk="bridge_pillar_bottom", fallback=true, shift={x=0, y=-3, z=0}}},
- },
- },
- bridge_pillar_bottom = {
- schem = {
- {file="nf_center_pillar_bottom", force=false, adjust={x=1, y=0, z=1}},
- {file="nf_center_pillar_bottom", force=false, adjust={x=1, y=22, z=1}},
- },
- size = {x=1, y=4, z=1},
- },
- -- Broken bits of arch underneath broken causeway ends.
- bridge_broken_walk_arch_n = {
- schem = {{file="nf_bridge_walk_broken_arch_n", force=false}},
- },
- bridge_broken_walk_arch_s = {
- schem = {{file="nf_bridge_walk_broken_arch_s", force=false}},
- },
- bridge_broken_walk_arch_e = {
- schem = {{file="nf_bridge_walk_broken_arch_e", force=false}},
- },
- bridge_broken_walk_arch_w = {
- schem = {{file="nf_bridge_walk_broken_arch_w", force=false}},
- },
- -- Narrow bridges.
- bridge_narrow_junction = {
- schem = {
- {file="bridge_narrow_junction", force=false, adjust={x=0, y=7, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["+x"] = {
- {chunk="bridge_narrow_ew", chance=100},
- {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+z"] = {
- {chunk="bridge_narrow_ns", chance=100},
- {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_sw = {
- schem = {
- {file="bridge_narrow_sw", force=false, adjust={x=0, y=7, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_se = {
- schem = {
- {file="bridge_narrow_se", force=false, adjust={x=3, y=7, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["+x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_ne = {
- schem = {
- {file="bridge_narrow_ne", force=false, adjust={x=3, y=7, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["+x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_nw = {
- schem = {
- {file="bridge_narrow_nw", force=false, adjust={x=0, y=7, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_nsw = {
- schem = {
- {file="bridge_narrow_nsw", force=false, adjust={x=0, y=7, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_nse = {
- schem = {
- {file="bridge_narrow_nse", force=false, adjust={x=3, y=7, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["+x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_swe = {
- schem = {
- {file="bridge_narrow_swe", force=false, adjust={x=0, y=7, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_s", chance=10, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_broken2_s", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_nwe = {
- schem = {
- {file="bridge_narrow_nwe", force=false, adjust={x=0, y=7, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_w", chance=10, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_broken2_w", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_n", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_n", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["+x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken_e", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_e", chance=10, fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_ns = {
- schem = {
- {file="ns_bridge_narrow", force=false, adjust={x=3, y=0, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z_min=0, z_max=3*11-4}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z_min=0, z_max=3*11-4}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z_min=0, z_max=3*11-4}},
- },
- size = {x=1, y=2, z=3},
- next = {
- ["+z"] = {
- {chunk="bridge_narrow_short_ns", chance=100, shift={x=0, y=0, z=2}},
- {chunk="bridge_narrow_junction", chance=5, shift={x=0, y=0, z=2}},
- {chunk="bridge_narrow_se", chance=5, shift={x=0, y=0, z=2}},
- {chunk="bridge_narrow_sw", chance=5, shift={x=0, y=0, z=2}},
- {chunk="bridge_narrow_swe", chance=10, shift={x=0, y=0, z=2}},
- {chunk="bridge_narrow_nsw", chance=10, shift={x=0, y=0, z=2}},
- {chunk="bridge_narrow_nse", chance=10, shift={x=0, y=0, z=2}},
- {chunk="bridge_narrow_platform_s", chance=5, shift={x=0, y=0, z=2}},
- {chunk="bridge_narrow_broken2_n", chance=5, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="bridge_narrow_short_ns", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_junction", chance=5, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_ne", chance=5, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_nw", chance=5, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_nwe", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_nsw", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_nse", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_n", chance=5, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_s", chance=5, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_narrow_pillar_ns", fallback=true, shift={x=0, y=-3, z=1}},
- },
- },
- },
- bridge_narrow_ew = {
- schem = {
- {file="ew_bridge_narrow", force=false, adjust={x=0, y=0, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x_min=0, x_max=3*11-4, y=11, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x_min=0, x_max=3*11-4, y=11, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x_min=0, x_max=3*11-4, y=11, z=3}},
- },
- size = {x=3, y=2, z=1},
- next = {
- ["+x"] = {
- {chunk="bridge_narrow_short_ew", chance=100, shift={x=2, y=0, z=0}},
- {chunk="bridge_narrow_junction", chance=5, shift={x=2, y=0, z=0}},
- {chunk="bridge_narrow_nw", chance=5, shift={x=2, y=0, z=0}},
- {chunk="bridge_narrow_sw", chance=5, shift={x=2, y=0, z=0}},
- {chunk="bridge_narrow_nsw", chance=10, shift={x=2, y=0, z=0}},
- {chunk="bridge_narrow_swe", chance=10, shift={x=2, y=0, z=0}},
- {chunk="bridge_narrow_nwe", chance=10, shift={x=2, y=0, z=0}},
- {chunk="bridge_narrow_platform_w", chance=5, shift={x=2, y=0, z=0}},
- {chunk="bridge_narrow_broken2_e", chance=5, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-x"] = {
- {chunk="bridge_narrow_short_ew", chance=100, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_junction", chance=5, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_ne", chance=5, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_se", chance=5, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_nse", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_swe", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_nwe", chance=10, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_platform_e", chance=5, shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_w", chance=5, fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-y"] = {
- {chunk="bridge_narrow_pillar_ew", fallback=true, shift={x=1, y=-3, z=0}},
- },
- },
- },
- bridge_narrow_broken_e = {
- schem = {
- {file="bridge_narrow_broken_e", force=false, adjust={x=0, y=0, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=0, y=11, z=3}},
- },
- size = {x=3, y=2, z=1},
- next = {
- ["-y"] = {
- {chunk="bridge_narrow_pillar_ew", fallback=true, shift={x=1, y=-3, z=0}},
- },
- },
- },
- bridge_narrow_broken_w = {
- schem = {
- {file="bridge_narrow_broken_w", force=false, adjust={x=0, y=0, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3*11-4, y=11, z=3}},
- },
- size = {x=3, y=2, z=1},
- next = {
- ["-y"] = {
- {chunk="bridge_narrow_pillar_ew", fallback=true, shift={x=1, y=-3, z=0}},
- },
- },
- },
- bridge_narrow_broken_n = {
- schem = {
- {file="bridge_narrow_broken_n", force=false, adjust={x=3, y=0, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=0}},
- },
- size = {x=1, y=2, z=3},
- next = {
- ["-y"] = {
- {chunk="bridge_narrow_pillar_ns", fallback=true, shift={x=0, y=-3, z=1}},
- },
- },
- },
- bridge_narrow_broken_s = {
- schem = {
- {file="bridge_narrow_broken_s", force=false, adjust={x=3, y=0, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3*11-4}},
- },
- size = {x=1, y=2, z=3},
- next = {
- ["-y"] = {
- {chunk="bridge_narrow_pillar_ns", fallback=true, shift={x=0, y=-3, z=1}},
- },
- },
- },
- bridge_narrow_broken2_e = {
- schem = {
- {file="bridge_narrow_broken2_e", force=false, adjust={x=0, y=7, z=3}},
- },
- size = {x=1, y=2, z=1},
- },
- bridge_narrow_broken2_w = {
- schem = {
- {file="bridge_narrow_broken2_w", force=false, adjust={x=6, y=7, z=3}},
- },
- size = {x=1, y=2, z=1},
- },
- bridge_narrow_broken2_n = {
- schem = {
- {file="bridge_narrow_broken2_n", force=false, adjust={x=3, y=7, z=0}},
- },
- size = {x=1, y=2, z=1},
- },
- bridge_narrow_broken2_s = {
- schem = {
- {file="bridge_narrow_broken2_s", force=false, adjust={x=3, y=7, z=4}},
- },
- size = {x=1, y=2, z=1},
- },
- bridge_narrow_short_ns = {
- schem = {
- {file="ns_bridge_narrow_short", force=false, adjust={x=3, y=7, z=0}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["+z"] = {
- {chunk="bridge_narrow_ns", chance=100},
- {chunk="bridge_narrow_platform_s", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_n", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-z"] = {
- {chunk="bridge_narrow_ns", chance=100, shift={x=0, y=0, z=-2}},
- {chunk="bridge_narrow_platform_n", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_s", fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_short_ew = {
- schem = {
- {file="ew_bridge_narrow_short", force=false, adjust={x=0, y=7, z=3}},
- {file="bridge_narrow_house", force=false, chance=20, adjust={x=3, y=11, z=3}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["+x"] = {
- {chunk="bridge_narrow_ew", chance=100},
- {chunk="bridge_narrow_platform_w", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_e", fallback=true, shift={x=0, y=0, z=0}},
- },
- ["-x"] = {
- {chunk="bridge_narrow_ew", chance=100, shift={x=-2, y=0, z=0}},
- {chunk="bridge_narrow_platform_e", shift={x=0, y=0, z=0}},
- {chunk="bridge_narrow_broken2_w", fallback=true, shift={x=0, y=0, z=0}},
- },
- },
- },
- bridge_narrow_pillar_ns = {
- schem = {
- {file="bridge_narrow_pillar_ns", force=false, adjust={x=3, y=0, z=3}},
- {file="bridge_narrow_pillar_ns", force=false, adjust={x=3, y=11, z=3}},
- {file="bridge_narrow_pillar_ns", force=false, adjust={x=3, y=22, z=3}},
- {file="bridge_narrow_pillar_ns", force=false, adjust={x=3, y=33, z=3}},
- },
- size = {x=1, y=4, z=1},
- },
- bridge_narrow_pillar_ew = {
- schem = {
- {file="bridge_narrow_pillar_ew", force=false, adjust={x=3, y=0, z=3}},
- {file="bridge_narrow_pillar_ew", force=false, adjust={x=3, y=11, z=3}},
- {file="bridge_narrow_pillar_ew", force=false, adjust={x=3, y=22, z=3}},
- {file="bridge_narrow_pillar_ew", force=false, adjust={x=3, y=33, z=3}},
- },
- size = {x=1, y=4, z=1},
- },
- bridge_narrow_platform_w = {
- schem = {
- {file="bridge_narrow_platform", rotation="0", force=false, adjust={x=0, y=0, z=0}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-y"] = {
- {chunk="bridge_narrow_platform_pillar", fallback=true, shift={x=0, y=-3, z=0}},
- },
- },
- },
- bridge_narrow_platform_n = {
- schem = {
- {file="bridge_narrow_platform", rotation="90", force=false, adjust={x=0, y=0, z=0}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-y"] = {
- {chunk="bridge_narrow_platform_pillar", fallback=true, shift={x=0, y=-3, z=0}},
- },
- },
- },
- bridge_narrow_platform_e = {
- schem = {
- {file="bridge_narrow_platform", rotation="180", force=false, adjust={x=0, y=0, z=0}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-y"] = {
- {chunk="bridge_narrow_platform_pillar", fallback=true, shift={x=0, y=-3, z=0}},
- },
- },
- },
- bridge_narrow_platform_s = {
- schem = {
- {file="bridge_narrow_platform", rotation="270", force=false, adjust={x=0, y=0, z=0}},
- },
- size = {x=1, y=2, z=1},
- next = {
- ["-y"] = {
- {chunk="bridge_narrow_platform_pillar", fallback=true, shift={x=0, y=-3, z=0}},
- },
- },
- },
- bridge_narrow_platform_pillar = {
- schem = {
- {file="bridge_narrow_platform_pillar", force=false, adjust={x=2, y=0, z=2}},
- {file="bridge_narrow_platform_pillar", force=false, adjust={x=2, y=11, z=2}},
- {file="bridge_narrow_platform_pillar", force=false, adjust={x=2, y=22, z=2}},
- {file="bridge_narrow_platform_pillar", force=false, adjust={x=2, y=33, z=2}},
- },
- size = {x=1, y=4, z=1},
- },
- },
- }
|