X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=test-data%2Ftest.l2s;h=7b187aafbeaf4d62228c57a90afb8fe818818162;hb=b9e715649b41cb69ea1b2d2a588522541eb87b46;hp=24f4bb25eebb741d68960fce76d827768b51a2f6;hpb=ec824200aec12d6870b70304bcd2e2aeadba767b;p=l2e.git diff --git a/test-data/test.l2s b/test-data/test.l2s index 24f4bb2..7b187aa 100644 --- a/test-data/test.l2s +++ b/test-data/test.l2s @@ -45,6 +45,8 @@ export Monster lizard { gut: 6, mgr: 6 }, + expReward: 8, + goldReward: 5, attackAnimation: ComplexAnimation { sprite: lizardSprite, frametime: fourFramesTime, @@ -89,8 +91,9 @@ export Hero maxim { gut: 100, mgr: 10 }, - ladder: [ - 10 + ladder: [ LevelUp + // insensible test data + { exp: 10, maxHP: 5, maxMP: 3, atp: 2, str: 1 } ], useMask: maskMaxim, attackAnimation: ComplexAnimation { @@ -433,7 +436,7 @@ export BattleResources battleResources { image: :"move-icons.png", size: <32,32> }, - + titleFrame: Frame { image: :"title-frame.png", border: <16,16> @@ -445,7 +448,7 @@ export BattleResources battleResources { }, rowoffset: -2 }, - + numberAnimationPrototype: ComplexAnimation { frametime: frameTime, repeat: false, @@ -496,7 +499,7 @@ export BattleResources battleResources { image: :"big-green-numbers.png", size: <16,32> }, - + heroTagLabels: Sprite { image: :"hero-tag-sprites.png", size: <32,16> @@ -518,7 +521,7 @@ export BattleResources battleResources { }, rowoffset: -3 }, - + activeHeroTagFrame: Frame { image: :"tag-frames.png", border: <16,16> @@ -528,7 +531,7 @@ export BattleResources battleResources { border: <16,16>, offset: < 0,33> }, - + smallHeroTagFrame: Frame { image: :"small-tag-frame.png", border: <8,16> @@ -539,7 +542,7 @@ export BattleResources battleResources { offset: <0,33> }, heroesBgColor: (24, 40, 49), - + healthGauge: Gauge { image: :"gauges.png", full: <0,16>, @@ -567,7 +570,7 @@ export BattleResources battleResources { repeat: 1, end: 6 }, - + selectFrame: Frame { image: :"select-frame.png", border: <16,16> @@ -578,7 +581,7 @@ export BattleResources battleResources { image: :"cursor-hand.png", size: <32,32> }, - + weaponTargetCursor: Sprite { image: :"targeting-icons.png", size: <32,32> @@ -593,14 +596,14 @@ export BattleResources battleResources { size: <32,32>, offset: <0,64> }, - + weaponMenuIcon: swordIcon, armorMenuIcon: armorIcon, shieldMenuIcon: shieldIcon, helmetMenuIcon: helmetIcon, ringMenuIcon: ringIcon, jewelMenuIcon: jewelIcon, - + spellMenuHeadline: "Please choose a spell.", spellMenuProperties: MenuProperties { font: normalFont, @@ -615,7 +618,7 @@ export BattleResources battleResources { charsPerNumber: 2, delimiter: ":" }, - + itemMenuHeadline: "Please choose an item.", itemMenuProperties: MenuProperties { font: normalFont, @@ -630,7 +633,7 @@ export BattleResources battleResources { charsPerNumber: 2, delimiter: ":" }, - + ikariMenuHeadline: "Please choose equipment.", ikariMenuProperties: MenuProperties { font: normalFont, @@ -646,7 +649,7 @@ export BattleResources battleResources { additionalTextGap: 16 }, noEquipmentText: "No equip", - + escapeText: "Escapes." } @@ -678,11 +681,25 @@ SimpleAnimation menuCursorAnimation { framecount: 6, repeat: true } -SimpleAnimation menuActiveCursorAnimation { +ComplexAnimation menuActiveCursorAnimation { sprite: menuActiveCursor, frametime: fourFramesTime, - framecount: 5, - repeat: true + repeat: true, + frames: + [ ComplexAnimationFrame + { row: 0 }, + { row: 0 }, + { row: 0 }, + { row: 0 }, + { row: 0 }, + { row: 0 }, + { row: 0 }, + { row: 0 }, + { row: 1 }, + { row: 2 }, + { row: 3 }, + { row: 4 } + ] } export MenuResources menuResources {