X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=test-data%2Ftest.l2s;h=500039f8e5756048daf9638b3fca42c40f994483;hb=77b070e782e664f9906487d6ee71010f659ce8b5;hp=722043d1a8cf73e1089b32885eaa11d62eb9ee20;hpb=7a14d357d9d05c2bac1efcdcf57365a4ce13729a;p=l2e.git diff --git a/test-data/test.l2s b/test-data/test.l2s index 722043d..500039f 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,8 +649,25 @@ export BattleResources battleResources { additionalTextGap: 16 }, noEquipmentText: "No equip", - - escapeText: "Escapes." + + escapeText: "Escapes.", + + victoryGetsText: "Gets", + victoryExpText: "EXP", + victoryGoldText: "GOLD", + victoryLevelUpText: "levels up", + victoryUpgradeText: "increases by", + victoryNextLevelText: "NXT.LEVEL", + + victoryMHPText: "Max. HP", + victoryMMPText: "Max. MP", + victoryATPText: "ATP", + victoryDFPText: "DFP", + victorySTRText: "STR", + victoryAGLText: "AGL", + victoryINTText: "INT", + victoryGUTText: "GUT", + victoryMGRText: "MGR" } Font menuFont { @@ -672,6 +692,32 @@ Sprite menuActiveCursor { image: :"menu-cursor-active.png", size: <32, 18> } +SimpleAnimation menuCursorAnimation { + sprite: menuCursor, + frametime: fourFramesTime, + framecount: 6, + repeat: true +} +ComplexAnimation menuActiveCursorAnimation { + sprite: menuActiveCursor, + frametime: fourFramesTime, + 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 { menubg: Texture { @@ -697,6 +743,7 @@ export MenuResources menuResources { rowGap: 8, colGap: 32, cursor: menuCursor, + cursorAnimation: menuCursorAnimation, font: menuFont, disabledFont: menuInactiveFont, wrapX: true, @@ -740,6 +787,7 @@ export MenuResources menuResources { charsPerEntry: 6, colGap: 16, cursor: menuCursor, + cursorAnimation: menuCursorAnimation, font: menuFont, wrapX: true }, @@ -753,6 +801,8 @@ export MenuResources menuResources { colGap: 16, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont, wrapX: true, wrapY: true @@ -768,6 +818,8 @@ export MenuResources menuResources { rowGap: 8, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont, disabledFont: menuInactiveFont, iconSpace: 16, @@ -783,6 +835,8 @@ export MenuResources menuResources { colGap: 48, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont, disabledFont: menuInactiveFont, charsPerNumber: 2, @@ -795,6 +849,8 @@ export MenuResources menuResources { rowGap: 8, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont }, equipmentMenu: MenuProperties { @@ -804,6 +860,8 @@ export MenuResources menuResources { rowGap: 16, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: normalFont, iconSpace: 16, wrapY: true @@ -819,6 +877,7 @@ export MenuResources menuResources { charsPerEntry: 8, rowGap: 32, cursor: menuCursor, + cursorAnimation: menuCursorAnimation, font: menuFont, wrapY: true }, @@ -839,6 +898,7 @@ export MenuResources menuResources { charsPerEntry: 14, rowGap: 8, cursor: menuCursor, + cursorAnimation: menuCursorAnimation, font: menuFont }, scenarioMenuHeadline: "SCENARIO ITEM", @@ -852,6 +912,8 @@ export MenuResources menuResources { charsPerEntry: 7, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont, thirdColumnHack: 2 }, @@ -862,6 +924,8 @@ export MenuResources menuResources { colGap: 32, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont }, capsuleFeedLabel: "FEED", @@ -874,5 +938,88 @@ export MenuResources menuResources { capsuleAttack2Label: "SP.2", capsuleAttack3Label: "SP.3", capsuleNoAttackText: "Nothing", - capsuleNotHungryText: "I'm not hungry." + capsuleNotHungryText: "I'm not hungry.", + capsuleNameSelect: CharSelect { + font: menuFont, + cursor: Sprite { + image: :"alpha-cursor.png", + size: <20, 28> + }, + chars: "0123456789ABCDEabcdeFGHIJfghijKLMNOklmnoPQRSTpqrstUVWXYuvwxyZ!? z!? ", + width: 10, + groupX: 5 + }, + capsuleSelectTopLeft: Sprite { + image: :"capsule-sprites.png", + size: <32, 8>, + offset: <64, 0> + }, + capsuleSelectTopRight: Sprite { + image: :"capsule-sprites.png", + size: <32, 8>, + offset: <128, 0> + }, + capsuleSelectTopRepeat: Texture { + image: :"capsule-sprites.png", + size: <32, 8>, + offset: <96, 0> + }, + capsuleSelectBottomLeft: Sprite { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <0, 32> + }, + capsuleSelectBottomRight: Sprite { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <128, 64> + }, + capsuleSelectBottomRepeat: Sprite { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <0, 64> + }, + capsuleSelectLeftRepeat: Texture { + image: :"capsule-sprites.png", + size: <32, 32> + }, + capsuleSelectRightRepeat: Texture { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <128, 32> + }, + capsuleSelectLadder: Sprite { + image: :"capsule-sprites.png", + size: <32, 24>, + offset: <64, 8> + }, + capsuleSelectCursor: Sprite { + image: :"capsule-sprites.png", + size: <32, 24>, + offset: <128, 8> + }, + capsuleAlignmentWheel: Sprite { + image: :"capsule-sprites.png", + size: <128, 128>, + offset: <0, 128> + }, + capsuleAlignmentCursor: Sprite { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <128, 128> + }, + capsuleGrowthLabel: Sprite { + image: :"capsule-feed.png", + size: <32, 10> + }, + capsuleGrowthBar: Sprite { + image: :"capsule-feed.png", + size: <8, 10>, + offset: <8, 10> + }, + capsuleGrowthBarFilled: Sprite { + image: :"capsule-feed.png", + size: <8, 10>, + offset: <0, 10> + } }