Skip to content
This repository
Browse code

Simply finished the forest 4th map 1st path for now.

  • Loading branch information...
commit 3cb71449d542db10a91a555a896f853a3d705d82 1 parent 85c75ec
Yohann Ferreira authored

Showing 1 changed file with 40 additions and 12 deletions. Show diff stats Hide diff stats

  1. +40 12 dat/maps/layna_forest/layna_forest_south_west.lua
52 dat/maps/layna_forest/layna_forest_south_west.lua
@@ -458,12 +458,12 @@ function _CreateObjects()
458 458 -- chest1:SetDrunes(50);
459 459 -- Map:AddGroundObject(chest1);
460 460 --end
461   -
462   - -- Trees array
  461 +
  462 + -- Trees array
463 463 local map_trees = {
464   - -- right entrance upper side
465   - { "Tree Small3", 126, 82 },
466   - { "Tree Small3", 121, 81 },
  464 + -- right entrance upper side
  465 + { "Tree Small3", 126, 82 },
  466 + { "Tree Small3", 121, 81 },
467 467 { "Tree Small3", 117, 80 },
468 468 { "Tree Small3", 114, 78.2 },
469 469 { "Tree Small3", 110, 81 },
@@ -491,7 +491,7 @@ function _CreateObjects()
491 491 { "Tree Small3", 46, 53 },
492 492 { "Tree Small3", 43, 57 },
493 493 { "Tree Small3", 39, 59 },
494   -
  494 +
495 495 -- bottom side
496 496 { "Tree Small3", 127, 93 },
497 497 { "Tree Small3", 124, 92 },
@@ -528,7 +528,7 @@ function _CreateObjects()
528 528 { "Tree Small3", 10, 94 },
529 529 { "Tree Small3", 6, 97 },
530 530 { "Tree Small3", 2, 99 },
531   -
  531 +
532 532 -- then left side
533 533 { "Tree Small3", 40, 62 },
534 534 { "Tree Small3", 39, 65 },
@@ -538,7 +538,7 @@ function _CreateObjects()
538 538 { "Tree Small3", 25, 70.2 },
539 539 { "Tree Small3", 15, 71 },
540 540 { "Tree Small3", 14, 65 },
541   -
  541 +
542 542 -- all in the way
543 543 { "Tree Small3", 49, 62 },
544 544 { "Tree Small3", 60, 91 },
@@ -563,7 +563,7 @@ function _CreateObjects()
563 563 { "Tree Small3", 32, 80 },
564 564 { "Tree Small3", 26, 78 },
565 565 { "Tree Small3", 39, 81 },
566   -
  566 +
567 567 -- left map border
568 568 { "Tree Small3", 0, 93 },
569 569 { "Tree Small3", -1, 89 },
@@ -585,7 +585,7 @@ function _CreateObjects()
585 585 { "Tree Small3", 0, 11 },
586 586 { "Tree Small3", 1, 7 },
587 587 { "Tree Small3", 2, 2 },
588   -
  588 +
589 589 -- uper map border
590 590 { "Tree Small3", 5, 4 },
591 591 { "Tree Small3", 9, 3 },
@@ -599,8 +599,36 @@ function _CreateObjects()
599 599 { "Tree Small3", 42, 1 },
600 600 { "Tree Small3", 46, 3 },
601 601 { "Tree Small3", 50, 2 },
602   -
  602 +
603 603 -- right part of path
  604 + { "Tree Small3", 13, 61 },
  605 + { "Tree Small3", 14, 58 },
  606 + { "Tree Small3", 13, 55 },
  607 + { "Tree Small3", 15, 52 },
  608 + { "Tree Small3", 16, 50 },
  609 + { "Tree Small3", 19, 48 },
  610 + { "Tree Small3", 22, 47 },
  611 + { "Tree Small3", 25, 44 },
  612 + { "Tree Small3", 27, 42 },
  613 + { "Tree Small3", 29, 39 },
  614 + { "Tree Small3", 28, 35 },
  615 + { "Tree Small3", 29, 31 },
  616 + { "Tree Small3", 30, 28 },
  617 + { "Tree Small3", 32, 24 },
  618 + { "Tree Small3", 36, 23 },
  619 + { "Tree Small3", 40, 24.2 },
  620 + { "Tree Small3", 45, 25 },
  621 + { "Tree Small3", 50, 26 },
  622 + { "Tree Small3", 54, 23 },
  623 + { "Tree Small3", 57, 20 },
  624 + { "Tree Small3", 58, 17 },
  625 + { "Tree Small3", 59, 14 },
  626 + { "Tree Small3", 60, 11 },
  627 + { "Tree Small3", 59, 8 },
  628 + { "Tree Small3", 60, 5 },
  629 + { "Tree Small3", 59, 2 }
  630 +
  631 +
604 632 }
605 633
606 634 -- Loads the trees according to the array
@@ -648,7 +676,7 @@ function _CreateZones()
648 676 -- N.B.: left, right, top, bottom
649 677 to_forest_SE_zone = hoa_map.CameraZone(126, 128, 82, 87, hoa_map.MapMode.CONTEXT_01);
650 678 Map:AddZone(to_forest_SE_zone);
651   -
  679 +
652 680 to_forest_NW_zone = hoa_map.CameraZone(113, 117, 0, 2, hoa_map.MapMode.CONTEXT_01);
653 681 Map:AddZone(to_forest_NW_zone);
654 682 end

0 comments on commit 3cb7144

Yohann Ferreira

Thanks. Yet, the map files are still plagued by an indentation mess because of the mix of tabs and spaces.
I've just fixed the src/ files about that, and will do it for the map files, hopefully shortly.

I hope you're going well, btw. :)

Please sign in to comment.
Something went wrong with that request. Please try again.