diff --git a/config.yaml b/config.yaml index fbb8cd5..b2e5488 100644 --- a/config.yaml +++ b/config.yaml @@ -6,6 +6,10 @@ room_side : 1000 wall_size : 150 +wk_back : '*back.*' +wk_back_start : '*back_start.*' +wk_back_stop : '*back_stop.*' + # general texture_path : 'asset/' diff --git a/maps/rooms.svg b/maps/rooms.svg index 84effbb..aa30692 100644 --- a/maps/rooms.svg +++ b/maps/rooms.svg @@ -1,68 +1,69 @@ - - + version="1.1" + viewBox="0 0 210 297" + height="297mm" + width="210mm"> + inkscape:window-height="1016" + inkscape:window-width="1920" + inkscape:guide-bbox="true" + showguides="true" + inkscape:snap-grids="false" + showborder="false" + showgrid="true" + inkscape:current-layer="layer1" + inkscape:document-units="px" + inkscape:cy="3863.9307" + inkscape:cx="2694.304" + inkscape:zoom="0.25596297" + inkscape:pageshadow="2" + inkscape:pageopacity="0.0" + borderopacity="1.0" + bordercolor="#666666" + pagecolor="#ffffff" + id="base"> + id="grid1495" + type="xygrid" /> + orientation="0,1" + position="-248.70833,306.91668" /> + orientation="1,0" + position="-158.75,254.00001" /> - + + orientation="0,1" + position="158.75,-10.583334" /> @@ -77,432 +78,1951 @@ + inkscape:label="size"> + d="M 730.25,836.08332 H 994.83334 V 1100.6667 H 730.25 Z" + style="display:inline;opacity:1;fill:#eccf2f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.37309;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + + + + inkscape:groupmode="layer"> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> - + transform="rotate(90)" /> + transform="rotate(90)" /> + transform="rotate(90)" /> + transform="rotate(90)" /> + - + + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + d="m -52.916667,74.75 h 26.458334 v 26.45833 h -26.458334 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + d="M -26.458334,74.75 H 0 v 26.45833 h -26.458334 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + d="M -5.9724355e-7,74.75 H 26.458333 v 26.45833 H -5.9724355e-7 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + d="M -26.458333,101.20833 H 5.9724355e-7 v 26.45833 H -26.458333 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + d="M -26.458334,127.66667 H 0 V 154.125 h -26.458334 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> TR + x="-110.11633" + id="tspan5294" + sodipodi:role="line">TR + d="m -132.29167,16.541666 v 52.916668 h -26.45834 V 16.541666 Z" + id="path5325" /> + d="m -158.75,307.58334 h 52.91667 v 26.45833 H -158.75 Z" + id="path5335" /> + d="m -105.83334,307.58334 h 52.916664 v 26.45833 h -52.916664 z" + id="path5337" /> + d="m -132.29167,545.70833 h 52.916666 v 26.45833 h -52.916666 z" + id="path5339" /> + d="m -79.375,545.70833 h 52.916668 v 26.45833 H -79.375 Z" + id="path5341" /> + d="m -26.458334,545.70833 h 52.916668 v 26.45833 h -52.916668 z" + id="path5343" /> + d="m 26.458334,545.70833 h 52.916668 v 26.45833 H 26.458334 Z" + id="path5345" /> + d="M -132.29167,418.70833 H -79.375 v 26.45834 h -52.91667 z" + id="path5347" /> + d="m 0,307.58334 h 52.916668 v 26.45833 H 0 Z" + id="path5349" /> + d="M -132.29167,386.95833 V 439.875 h -26.45834 v -52.91667 z" + id="path5351" /> + d="m -132.29167,439.875 v 52.91667 h -26.45834 V 439.875 Z" + id="path5353" /> + d="m -132.29167,492.79167 v 52.91667 h -26.45834 v -52.91667 z" + id="path5355" /> + d="m 105.83334,519.25 v 52.91667 H 79.37501 V 519.25 Z" + id="path5357" /> + d="M 105.83334,466.33333 V 519.25 H 79.37501 v -52.91667 z" + id="path5359" /> + d="m 105.83334,360.5 v 52.91667 H 79.37501 V 360.5 Z" + id="path5361" /> + d="m 79.375008,307.58333 h 26.458332 v 26.45834 H 79.375008 Z" + id="path5363" /> + d="m 52.916672,307.58333 h 26.458334 v 26.45834 H 52.916672 Z" + id="path5365" /> + d="M 79.375008,334.04167 H 105.83334 V 360.5 H 79.375008 Z" + id="path5367" /> + d="m -132.29167,334.04166 h 26.45834 V 360.5 h -26.45834 z" + id="path5369" /> + d="m -52.916667,371.08334 h 26.458334 v 26.45833 h -26.458334 z" + id="path5371" /> + d="M -26.458334,371.08333 H 0 v 26.45833 h -26.458334 z" + id="path5373" /> + d="M -1.944871e-7,371.08334 H 26.458333 v 26.45833 H -1.944871e-7 Z" + id="path5375" /> + d="m 26.458333,466.33334 h 26.458334 v 26.45833 H 26.458333 Z" + id="path5377" /> + d="M 52.916666,466.33334 H 79.375 v 26.45833 H 52.916666 Z" + id="path5379" /> + d="m -158.75,545.70833 h 26.45833 v 26.45833 H -158.75 Z" + id="path5381" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> TRDL + x="295.07416" + y="-65.013489" + style="stroke-width:4.20073">TRDL + d="m 306.91667,-9.9166651 h 52.91667 V 16.541669 h -52.91667 z" + id="path5393" /> - - - - - - - - - - - - - - - - - - - - - - - - + d="m 359.83333,-9.9166651 h 52.91666 V 16.541669 h -52.91666 z" + id="path5395" /> + id="path5397" /> + id="path5403" /> @@ -510,229 +2030,234 @@ inkscape:connector-curvature="0" style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" d="m 402.16667,132.95833 h 52.91666 v 26.45834 h -52.91666 z" - id="path5471" /> + id="path5405" /> + id="path5407" /> + id="path5413" /> + id="path5415" /> + id="path5417" /> + id="path5419" /> + id="path5421" /> + id="path5423" /> + id="path5425" /> + id="path5427" /> + id="path5439" /> + id="path5441" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + + d="M 375.70834,80.041664 H 428.625 V 106.5 h -52.91666 z" + id="path5469" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + id="path5483" + d="m 545.04168,-9.916667 h 26.45833 v 26.458334 h -26.45833 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + + d="m 465.66667,228.20834 h 26.45834 v 26.45833 h -26.45834 z" + id="path5497" + inkscape:connector-curvature="0" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 306.91667,148.83333 h 26.45834 v 26.45833 h -26.45834 z" + id="path5501" + inkscape:connector-curvature="0" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 306.91667,69.458334 h 26.45834 v 26.45833 h -26.45834 z" + id="path5503" + inkscape:connector-curvature="0" /> - + d="m 455.08334,132.95833 h 26.45833 v 26.45834 h -26.45833 z" + id="path5507" /> @@ -740,64 +2265,64 @@ inkscape:connector-curvature="0" style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" d="M 375.70834,397.54167 H 428.625 v 26.45834 h -52.91666 z" - id="path5623" /> + id="path5575" /> @@ -805,250 +2330,260 @@ inkscape:connector-curvature="0" style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" d="m 333.375,334.04167 v 52.91667 h -26.45834 v -52.91667 z" - id="path5649" /> + id="path5601" /> + id="path5613" /> + d="m 306.91667,307.58334 h 52.91667 v 26.45834 h -52.91667 z" + id="path5615" /> + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 359.83333,307.58334 h 52.91666 v 26.45834 h -52.91666 z" + id="path5617" /> + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 333.375,545.70834 h 52.91666 v 26.45833 H 333.375 Z" + id="path5619" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 492.125,545.70834 h 52.91667 v 26.45833 H 492.125 Z" + id="path5621" /> - TD - - - + d="m 402.16667,450.45834 h 52.91666 v 26.45834 h -52.91666 z" + id="path5625" /> - + d="m 465.66667,307.58334 h 52.91667 v 26.45834 h -52.91667 z" + id="path5627" /> + d="m 333.375,492.79168 v 52.91667 h -26.45834 v -52.91667 z" + id="path5629" /> + d="m 571.50001,519.25001 v 52.91667 h -26.45833 v -52.91667 z" + id="path5631" /> + d="m 571.50001,466.33334 v 52.91667 h -26.45833 v -52.91667 z" + id="path5633" /> + d="m 571.50001,360.50001 v 52.91667 h -26.45833 v -52.91667 z" + id="path5635" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 545.04168,307.58334 h 26.45833 v 26.45833 h -26.45833 z" + id="path5637" /> + d="m 518.58334,307.58334 h 26.45833 v 26.45833 h -26.45833 z" + id="path5639" /> + d="m 545.04168,334.04167 h 26.45833 v 26.45834 h -26.45833 z" + id="path5641" /> + d="m 518.58334,334.04167 h 26.45833 v 26.45834 h -26.45833 z" + id="path5643" /> + d="M 306.91667,545.70834 H 333.375 v 26.45833 h -26.45833 z" + id="path5645" /> + d="M 402.16667,424.00001 H 428.625 v 26.45834 h -26.45833 z" + id="path5647" /> + + + + + + TD + + d="m 814.91668,80.041664 h 52.91666 V 106.5 h -52.91666 z" + id="path5693" /> @@ -1056,675 +2591,695 @@ inkscape:connector-curvature="0" style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" d="M 772.58334,16.541666 V 69.458334 H 746.125 V 16.541666 Z" - id="path5767" /> + id="path5719" /> - + id="path5729" + d="m 904.875,132.95834 h 26.45834 v 26.45833 H 904.875 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> - - + d="m 746.12501,-9.9166651 h 52.91667 V 16.541669 h -52.91667 z" + id="path5733" /> - + d="m 799.04167,-9.9166651 h 52.91666 V 16.541669 h -52.91666 z" + id="path5735" /> + d="M 772.58334,228.20833 H 825.5 v 26.45833 h -52.91666 z" + id="path5737" /> + d="m 931.33334,228.20833 h 52.91667 v 26.45833 h -52.91667 z" + id="path5739" /> + d="M 931.33334,132.95833 H 984.25 v 26.45834 h -52.91666 z" + id="path5743" /> + d="m 904.87501,-9.9166651 h 52.91667 V 16.541669 h -52.91667 z" + id="path5745" /> + d="m 772.58334,175.29167 v 52.91667 H 746.125 v -52.91667 z" + id="path5747" /> + d="m 1010.7083,201.75 v 52.91667 H 984.25002 V 201.75 Z" + id="path5749" /> + d="M 1010.7083,148.83333 V 201.75 h -26.45828 v -52.91667 z" + id="path5751" /> + d="M 1010.7083,43 V 95.916668 H 984.25002 V 43 Z" + id="path5753" /> + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 984.25002,-9.916667 h 26.45828 v 26.458334 h -26.45828 z" + id="path5755" /> + d="m 957.79168,-9.916667 h 26.45833 v 26.458334 h -26.45833 z" + id="path5757" /> + d="m 984.25002,16.541666 h 26.45828 V 43 h -26.45828 z" + id="path5759" /> + d="m 957.79168,16.541664 h 26.45833 v 26.458334 h -26.45833 z" + id="path5761" /> + + + + + + d="M 772.58334,95.916666 V 148.83333 H 746.12506 V 95.916666 Z" + id="path5783" /> + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="M 931.33334,80.041664 H 984.25 V 106.5 h -52.91666 z" + id="path5787" /> + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="M 772.58334,80.041664 H 825.5 V 106.5 h -52.91666 z" + id="path5789" /> - + id="path5797" /> + id="path5799" /> + id="path5801" /> + id="path5803" /> + inkscape:connector-curvature="0" /> + id="path5807" /> + id="path5809" /> + id="path5811" /> + id="path5813" /> + id="path5815" /> + id="path5817" /> + id="path5819" /> + id="path5821" /> + id="path5823" /> + id="path5825" /> - + inkscape:connector-curvature="0" /> - - - TL + inkscape:connector-curvature="0" /> + + d="m 1010.7083,413.41667 v 52.91666 h -26.45828 v -52.91666 z" + id="path5879" /> + + + + TL + id="path5907" /> + id="path5909" /> + id="path5911" /> + id="path5913" /> + inkscape:connector-curvature="0" /> + id="path5917" /> + id="path5919" /> + id="path5921" /> + id="path5923" /> + id="path5925" /> + id="path5927" /> + id="path5929" /> + id="path5931" /> + id="path5933" /> + id="path5935" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + id="path5969" + d="m 1375.8333,-9.916667 h 26.4583 v 26.458334 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + + d="m 1296.4583,228.20834 h 26.4584 v 26.45833 h -26.4584 z" + id="path5981" + inkscape:connector-curvature="0" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1137.7083,148.83333 h 26.4584 v 26.45833 h -26.4584 z" + id="path5985" + inkscape:connector-curvature="0" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1137.7083,69.458334 h 26.4584 v 26.45833 h -26.4584 z" + id="path5987" + inkscape:connector-curvature="0" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1402.2916,95.916666 v 52.916664 h -26.4583 V 95.916666 Z" + id="path5989" /> + id="path5997" + d="m 1164.1667,69.458334 h 52.9166 V 95.91667 h -52.9166 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + @@ -1732,245 +3287,240 @@ inkscape:connector-curvature="0" style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" d="m 1164.1667,334.04167 v 52.91667 h -26.4584 v -52.91667 z" - id="path6073" /> + id="path6031" /> - + d="m 1137.7083,307.58334 h 52.9167 v 26.45833 h -52.9167 z" + id="path6043" /> - + d="m 1190.625,307.58334 h 52.9167 v 26.45833 h -52.9167 z" + id="path6045" /> + d="m 1164.1667,545.70833 h 52.9166 v 26.45833 h -52.9166 z" + id="path6047" /> + d="m 1296.4583,307.58334 h 52.9167 v 26.45833 h -52.9167 z" + id="path6053" /> + d="m 1164.1667,492.79167 v 52.91667 h -26.4584 v -52.91667 z" + id="path6055" /> + d="m 1402.2916,519.25 v 52.91667 h -26.4583 V 519.25 Z" + id="path6057" /> + d="M 1402.2916,466.33333 V 519.25 h -26.4583 v -52.91667 z" + id="path6059" /> + d="m 1402.2916,360.5 v 52.91667 h -26.4583 V 360.5 Z" + id="path6061" /> - RDL + d="m 1375.8333,307.58333 h 26.4583 v 26.45834 h -26.4583 z" + id="path6063" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1349.375,307.58333 h 26.4583 v 26.45834 h -26.4583 z" + id="path6065" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1375.8333,334.04167 h 26.4583 V 360.5 h -26.4583 z" + id="path6067" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1137.7083,545.70833 h 26.4584 v 26.45833 h -26.4584 z" + id="path6071" /> + inkscape:connector-curvature="0" /> + id="path6075" + d="m 1296.4583,545.70834 h 26.4584 v 26.45833 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + id="path6077" + d="m 1217.0833,545.70833 h 26.4584 v 26.45833 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + id="path6079" + d="m 1137.7083,466.33333 h 26.4584 v 26.45833 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + + inkscape:connector-curvature="0" /> + d="m 1190.625,334.04167 h 52.9167 V 360.5 h -52.9167 z" + id="path6089" /> + d="m 1269.9999,386.95833 h 26.4584 v 26.45833 h -26.4584 z" + id="path6093" + inkscape:connector-curvature="0" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1322.9166,360.5 v 52.91666 h -26.4583 V 360.5 Z" + id="path6095" /> + + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1243.5417,228.20833 h 52.9166 v 26.45833 h -52.9166 z" + id="path6101" /> + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1243.5416,122.375 v 52.91666 h -26.4583 V 122.375 Z" + id="path6103" /> - + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 1243.5417,439.875 v 52.91666 h -26.4583 V 439.875 Z" + id="path6107" /> + id="path6109" + d="m 1243.5417,545.70833 h 52.9166 v 26.45833 h -52.9166 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + RDL @@ -1978,1023 +3528,1135 @@ inkscape:connector-curvature="0" style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" d="m 1555.75,16.541666 v 52.916668 h -26.4584 V 16.541666 Z" - id="path6195" /> + id="path6155" /> + d="m 1529.2916,-9.9166651 h 52.9167 V 16.541669 h -52.9167 z" + id="path6165" /> + d="m 1582.2083,-9.9166651 h 52.9167 V 16.541669 h -52.9167 z" + id="path6167" /> + d="m 1555.75,228.20833 h 52.9166 v 26.45833 H 1555.75 Z" + id="path6169" /> + d="m 1714.5,228.20833 h 52.9166 v 26.45833 H 1714.5 Z" + id="path6171" /> + d="m 1688.0416,-9.9166651 h 52.9167 V 16.541669 h -52.9167 z" + id="path6175" /> + d="m 1555.75,175.29167 v 52.91667 h -26.4584 v -52.91667 z" + id="path6177" /> + d="m 1793.8749,201.75 v 52.91667 h -26.4583 V 201.75 Z" + id="path6179" /> + d="M 1793.8749,148.83333 V 201.75 h -26.4583 v -52.91667 z" + id="path6181" /> + d="m 1793.8749,43 v 52.916668 h -26.4583 V 43 Z" + id="path6183" /> + d="m 1767.4166,-9.916667 h 26.4583 v 26.458334 h -26.4583 z" + id="path6185" /> + d="m 1740.9583,-9.916667 h 26.4583 v 26.458334 h -26.4583 z" + id="path6187" /> + d="m 1767.4166,16.541666 h 26.4583 V 43 h -26.4583 z" + id="path6189" /> + d="m 1529.2916,228.20833 h 26.4584 v 26.45833 h -26.4584 z" + id="path6193" /> - + id="path6197" + d="M 1688.0416,228.20834 H 1714.5 v 26.45833 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + inkscape:connector-curvature="0" + id="path6199" + d="m 1608.6666,228.20833 h 26.4584 v 26.45833 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + inkscape:connector-curvature="0" + id="path6201" + d="m 1529.2916,148.83333 h 26.4584 v 26.45833 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + inkscape:connector-curvature="0" + id="path6203" + d="m 1529.2916,69.458334 h 26.4584 v 26.45833 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + id="path6209" /> + id="path6211" /> + id="path6213" /> + id="path6215" /> + id="path6217" /> + id="path6219" /> + id="path6221" /> + id="path6223" /> + id="path6225" /> + id="path6227" /> + id="path6229" /> + id="path6231" /> + id="path6233" /> + id="path6235" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> - + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> - + id="path6265" + d="m 1767.4166,307.58333 h 26.4583 v 26.45834 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + id="path6267" + d="m 1740.9583,307.58333 h 26.4583 v 26.45834 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + id="path6269" + d="m 1767.4166,334.04167 h 26.4583 V 360.5 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + id="path6271" + d="m 1740.9583,334.04167 h 26.4583 V 360.5 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + id="path6273" + d="m 1529.2916,545.70833 h 26.4584 v 26.45833 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 1555.75,334.04167 v 52.91667 h -26.4584 v -52.91667 z" + id="path6275" /> + + + + + + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + inkscape:connector-curvature="0" /> + + inkscape:connector-curvature="0" /> + d="m 1740.9584,175.29167 v 52.91666 h -26.4583 v -52.91666 z" + id="path6309" /> + inkscape:connector-curvature="0" /> + d="m 1635.125,307.58334 h 52.9167 v 26.45833 h -52.9167 z" + id="path6313" /> + - + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="rect2434" + width="52.916668" + height="26.458334" + x="127.66661" + y="-2201.3333" + transform="rotate(90)" /> - + id="path2436" + d="m 1989.6667,-9.9166665 h 52.9166 V 16.541663 h -52.9166 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> - - - t + inkscape:connector-curvature="0" /> - + - + inkscape:connector-curvature="0" /> - + inkscape:connector-curvature="0" /> - + inkscape:connector-curvature="0" /> - + inkscape:connector-curvature="0" /> - + inkscape:connector-curvature="0" /> - + inkscape:connector-curvature="0" /> - + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/t-1.png" + id="path2456" + d="m 2016.125,175.29166 v 52.91663 h -26.4583 v -52.91663 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/t-1.png" + id="path2460" + d="m 2254.25,148.83332 v 52.91667 h -26.4583 v -52.91667 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/t-1.png" + id="path2464" + d="M 2227.7917,-9.9166765 H 2254.25 V 16.541663 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/t-1.png" + id="path2466" + d="m 2201.3333,-9.9166765 h 26.4584 V 16.541663 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/t-1.png" + id="path2468" + d="m 2227.7917,16.541663 h 26.4583 v 26.45833 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/t-1.png" + id="path2470" + d="m 2016.125,16.541653 h 26.4583 v 26.45834 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/t-1.png" + id="path2482" + d="m 1989.6667,228.20829 h 26.4583 v 26.4584 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 2016.125,16.541663 v 52.91666 h -26.4583 v -52.91666 z" + id="path2484" /> + t + + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/l-1.png" + transform="rotate(90)" + y="-3534.8333" + x="95.916664" + height="26.458334" + width="52.916668" + id="rect2494" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2596" + d="m 2952.75,-9.9166665 h 52.9166 V 16.541663 H 2952.75 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 3434.2916,-9.9166665 h 52.9166 V 16.541663 h -52.9166 z" + id="path2496" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2598" + d="m 3005.6666,-9.9166665 h 52.9167 V 16.541663 h -52.9167 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2600" + d="m 2979.2083,228.20829 h 52.9167 v 26.4584 h -52.9167 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/r-1.png" + id="path2552" + d="m 2545.2917,228.20829 h 52.9166 v 26.4584 h -52.9166 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/r-1.png" + id="path2554" + d="m 2598.2083,228.20829 h 52.9167 v 26.4584 h -52.9167 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 3566.5832,228.20829 h 52.9167 v 26.4584 h -52.9167 z" + id="path2504" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2606" + d="m 3137.9583,228.20829 h 52.9167 v 26.4584 h -52.9167 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2608" + d="M 3058.5833,-9.9166792 H 3111.5 V 16.541661 h -52.9167 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 3540.1249,-9.9166792 h 52.9167 V 16.541661 h -52.9167 z" + id="path2508" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2610" + d="m 3111.5,-9.9166665 h 52.9166 V 16.541663 H 3111.5 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2612" + d="M 2979.2083,69.458323 V 122.37499 H 2952.75 V 69.458323 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2614" + d="m 2979.2083,122.37499 v 52.91667 H 2952.75 v -52.91667 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2616" + d="m 2979.2083,175.29166 v 52.91663 H 2952.75 v -52.91663 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2618" + d="m 3217.3333,201.74999 v 52.9167 h -26.4583 v -52.9167 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 3698.8749,201.74999 v 52.9167 h -26.4583 v -52.9167 z" + id="path2518" /> - + id="path2570" + d="m 2730.5,148.83332 v 52.91667 h -26.4583 v -52.91667 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2620" + d="m 3217.3333,148.83332 v 52.91667 h -26.4583 v -52.91667 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/l-1.png" + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 3698.8749,148.83332 v 52.91667 h -26.4583 v -52.91667 z" + id="path2520" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/r-1.png" + id="path2572" + d="m 2730.5,42.999993 v 52.916666 h -26.4583 V 42.999993 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/l-1.png" + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 3698.8749,42.999993 v 52.916666 h -26.4583 V 42.999993 Z" + id="path2522" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2624" + d="m 3190.875,-9.9166765 h 26.4583 V 16.541663 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2626" + d="m 3164.4166,-9.9166765 h 26.4584 V 16.541663 h -26.4584 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 3645.9582,-9.9166765 h 26.4584 V 16.541663 h -26.4584 z" + id="path2526" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2628" + d="m 3190.875,16.541663 h 26.4583 v 26.45833 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 3672.4166,16.541663 h 26.4583 v 26.45833 h -26.4583 z" + id="path2528" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/r-1.png" + id="path2580" + d="m 2492.375,16.541653 h 26.4583 v 26.45834 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2632" + d="m 2952.75,228.20829 h 26.4583 v 26.4584 H 2952.75 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> - + id="path2532" /> - + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 2492.375,16.541663 v 52.91666 h -26.4583 v -52.91666 z" + id="path2584" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/l-1.png" + id="path2534" + d="m 3460.7499,16.541663 v 52.91666 h -26.4583 v -52.91666 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> r + x="2575.0266" + id="tspan2586" + sodipodi:role="line">r d + x="3061.8599" + id="tspan2636" + sodipodi:role="line">d l + x="3543.4016" + y="-65.013489" + style="stroke-width:4.20073">l - + d="M 3217.3333,95.916654 V 148.83332 H 3190.875 V 95.916654 Z" + id="path2640" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/l-1.png" + id="path2540" + d="m 3698.8749,95.916654 v 52.916666 h -26.4583 V 95.916654 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/r-1.png" + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.54303348;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 2571.75,-9.9166665 h 52.9167 V 16.541663 H 2571.75 Z" + id="path2642" /> + d="m 3032.125,228.20833 h 26.4583 v 26.45834 h -26.4583 z" + id="path2644" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/d-1.png" + id="path2646" + d="m 3111.5,228.20833 h 26.4583 v 26.45834 H 3111.5 Z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="m 2677.5834,201.74999 h 26.4583 v 26.45834 h -26.4583 z" + id="path2648" /> + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/r-1.png" + id="path2650" + d="m 2677.5833,69.458334 h 26.4583 v 26.45834 h -26.4583 z" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + inkscape:connector-curvature="0" /> + d="M 2545.2917,143.54166 H 2571.75 V 170 h -26.4583 z" + id="path2652" /> + + inkscape:export-filename="/home/grizzly/Documents/Python/tangledmind/maps/rooms/l-1.png" + inkscape:connector-curvature="0" + style="opacity:1;fill:#aa0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.09108937;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="m 3434.2917,148.83333 h 26.4583 v 26.45834 h -26.4583 z" + id="path2656" /> + back + back_start diff --git a/maps/rooms/back.png b/maps/rooms/back.png index 4e393b3..ba17537 100644 Binary files a/maps/rooms/back.png and b/maps/rooms/back.png differ diff --git a/maps/rooms/back_start.png b/maps/rooms/back_start.png new file mode 100644 index 0000000..68bb017 Binary files /dev/null and b/maps/rooms/back_start.png differ diff --git a/maps/rooms/back_stop.png b/maps/rooms/back_stop.png new file mode 100644 index 0000000..b51f232 Binary files /dev/null and b/maps/rooms/back_stop.png differ diff --git a/models.py b/models.py index 389ae44..3dad00a 100644 --- a/models.py +++ b/models.py @@ -94,20 +94,20 @@ class Hud(): class Carte(): def __init__(self,n): - self.carte, self.player_start_pos, self.back = map_generator(n) + self.carte, self.player_start_pos = map_generator(n) def draw(self,surface,camera): offsetx,offsety = camera.get_offset() - for room in self.carte: - surface.blit(self.back,(room[2][0]-offsetx,room[2][1]-offsety)) - surface.blit(room[0],(room[2][0]-offsetx,room[2][1]-offsety)) + for k,room in enumerate(self.carte): + + surface.blit(room[0],(room[3][0]-offsetx,room[3][1]-offsety)) + surface.blit(room[1],(room[3][0]-offsetx,room[3][1]-offsety)) def collision(self,thing): #print(f"player in position {thing.posx,thing.posy}") for room in self.carte: - if room[1].overlap(thing.mask, (thing.posx-thing.rect.center[0]-room[2][0],thing.posy-thing.rect.center[1]-room[2][1])): + if room[2].overlap(thing.mask, (thing.posx-thing.rect.center[0]-room[3][0],thing.posy-thing.rect.center[1]-room[3][1])): return True - return False diff --git a/utils.py b/utils.py index 4530bab..f313051 100644 --- a/utils.py +++ b/utils.py @@ -14,6 +14,12 @@ def fetch_rooms(path): Return a dictionary """ + with open(r'./config.yaml') as file: + data = yaml.load(file,Loader=yaml.FullLoader) + wk_back = data['wk_back'] + wk_back_start = data['wk_back_start'] + wk_back_stop = data['wk_back_stop'] + common_wildcard = '[A-Z]*-*.png' unique_wildcard = '?-*.png' common_filenames = glob(path+common_wildcard) @@ -36,19 +42,21 @@ def fetch_rooms(path): if 'L' in label: assembly['R'].append((label,filename)) - background = glob(path+'*back*')[0] + back = glob(path+wk_back)[0] + back_start = glob(path+wk_back_start)[0] + back_stop = glob(path+wk_back_stop)[0] - return unique_filenames,assembly,background + return (unique_filenames,assembly,back,back_start,back_stop) def check_map(carte): """Function to check if a map is valid i.e. if no two rooms are at the same location """ positions = [] for room in carte: - if room[2] in positions: + if room[3] in positions: return(False) else: - positions.append(room[2]) + positions.append(room[3]) return(True) def enemy_placement(carte): @@ -79,11 +87,11 @@ def enemy_placement(carte): posx = randint(padding_h, room_side-padding_h) posy = randint(padding_v, room_side-padding_v) - if room[1].overlap(enemy_mask, (posx-enemy_center[0],posy-enemy_center[1])): + if room[2].overlap(enemy_mask, (posx-enemy_center[0],posy-enemy_center[1])): retry+=1 else: #print(f'New enemy at {posx,posy}') - positions.append((room[2][0] + posx,room[2][1] + posy)) + positions.append((room[3][0] + posx,room[3][1] + posy)) carte_positions.append(positions) positions = [] @@ -101,9 +109,12 @@ def map_generator(n): change_side = {'T':'D','R':'L','D':'T','L':'R'} deplacements = {'T':[0,-1],'R':[1,0],'D':[0,1],'L':[-1,0]} - unique_filenames,assembly,back_path = fetch_rooms('./maps/rooms/') + unique_filenames,assembly,back_path,back_start_path,back_stop_path = fetch_rooms('./maps/rooms/') #assembly = {'T/R/D/L':[(label1,path1),(label2,path2),...]} + background = pygame.image.load(back_path).convert() + background_start = pygame.image.load(back_start_path).convert() + background_stop = pygame.image.load(back_stop_path).convert() unique_rooms = {filename.split("/")[-1][0].upper():pygame.image.load(filename).convert_alpha() for filename in unique_filenames} @@ -114,7 +125,7 @@ def map_generator(n): positions = [] position = [0,0] mask = pygame.mask.from_surface(start_room) - carte = [(start_room,mask,position)] + carte = [(background_start,start_room,mask,position)] open_paths = [] @@ -140,10 +151,12 @@ def map_generator(n): if counter < n: # The next room is not the final room. next_label,next_room = random.choice(assembly[dir_next]) asset = pygame.image.load(next_room).convert_alpha() + back = background else: # The next room is the finale room. asset = unique_rooms[change_side[dir_next]] + back = background_stop mask = pygame.mask.from_surface(asset) next_position = [position[0]+room_side*deplacements[dir_next][0],position[1]+room_side*deplacements[dir_next][1]] @@ -153,7 +166,7 @@ def map_generator(n): if next_position not in positions: counter += 1 # Build the map - carte.append((asset,mask,next_position)) + carte.append((back,asset,mask,next_position)) positions.append(position) # Update the variables for next turn @@ -175,15 +188,13 @@ def map_generator(n): room = unique_rooms[open_path[0]] mask = pygame.mask.from_surface(room) position = open_path[1] - carte.append((room,mask,position)) + carte.append((background,room,mask,position)) positions.append(position) - background = pygame.image.load(back_path).convert() - if not check_map(carte): raise ValueError("Invalid Map after closing paths.") - return(carte,(int(room_side/2),int(room_side/2)),background,) + return(carte,(int(room_side/2),int(room_side/2)))