]> git.localhorst.tv Git - l2e.git/blobdiff - test-data/test.l2s
made monsters' rewards settable by data
[l2e.git] / test-data / test.l2s
index c691e17f55f14dc1223e3b7e7b6b9f0fb7328336..4fd4e9767b0e52e5ad9f2090c9464a4a539427bd 100644 (file)
@@ -45,6 +45,8 @@ export Monster lizard {
                gut:  6,
                mgr:  6
        },
+       expReward: 2,
+       goldReward: 5,
        attackAnimation: ComplexAnimation {
                sprite: lizardSprite,
                frametime: fourFramesTime,
@@ -433,7 +435,7 @@ export BattleResources battleResources {
                image: :"move-icons.png",
                size: <32,32>
        },
-       
+
        titleFrame: Frame {
                image: :"title-frame.png",
                border: <16,16>
@@ -445,7 +447,7 @@ export BattleResources battleResources {
                },
                rowoffset: -2
        },
-       
+
        numberAnimationPrototype: ComplexAnimation {
                frametime: frameTime,
                repeat: false,
@@ -496,7 +498,7 @@ export BattleResources battleResources {
                image: :"big-green-numbers.png",
                size: <16,32>
        },
-       
+
        heroTagLabels: Sprite {
                image: :"hero-tag-sprites.png",
                size: <32,16>
@@ -518,7 +520,7 @@ export BattleResources battleResources {
                },
                rowoffset: -3
        },
-       
+
        activeHeroTagFrame: Frame {
                image: :"tag-frames.png",
                border: <16,16>
@@ -528,7 +530,7 @@ export BattleResources battleResources {
                border: <16,16>,
                offset: < 0,33>
        },
-       
+
        smallHeroTagFrame: Frame {
                image: :"small-tag-frame.png",
                border: <8,16>
@@ -539,7 +541,7 @@ export BattleResources battleResources {
                offset: <0,33>
        },
        heroesBgColor: (24, 40, 49),
-       
+
        healthGauge: Gauge {
                image: :"gauges.png",
                full:  <0,16>,
@@ -567,7 +569,7 @@ export BattleResources battleResources {
                repeat:  1,
                end:     6
        },
-       
+
        selectFrame: Frame {
                image: :"select-frame.png",
                border: <16,16>
@@ -578,7 +580,7 @@ export BattleResources battleResources {
                image: :"cursor-hand.png",
                size: <32,32>
        },
-       
+
        weaponTargetCursor: Sprite {
                image: :"targeting-icons.png",
                size: <32,32>
@@ -593,14 +595,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 +617,7 @@ export BattleResources battleResources {
                charsPerNumber: 2,
                delimiter: ":"
        },
-       
+
        itemMenuHeadline: "Please choose an item.",
        itemMenuProperties: MenuProperties {
                font: normalFont,
@@ -630,7 +632,7 @@ export BattleResources battleResources {
                charsPerNumber: 2,
                delimiter: ":"
        },
-       
+
        ikariMenuHeadline: "Please choose equipment.",
        ikariMenuProperties: MenuProperties {
                font: normalFont,
@@ -646,7 +648,7 @@ export BattleResources battleResources {
                additionalTextGap: 16
        },
        noEquipmentText: "No equip",
-       
+
        escapeText: "Escapes."
 }
 
@@ -672,6 +674,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 +725,7 @@ export MenuResources menuResources {
                rowGap: 8,
                colGap: 32,
                cursor: menuCursor,
+               cursorAnimation: menuCursorAnimation,
                font: menuFont,
                disabledFont: menuInactiveFont,
                wrapX: true,
@@ -740,6 +769,7 @@ export MenuResources menuResources {
                charsPerEntry: 6,
                colGap: 16,
                cursor: menuCursor,
+               cursorAnimation: menuCursorAnimation,
                font: menuFont,
                wrapX: true
        },
@@ -753,6 +783,8 @@ export MenuResources menuResources {
                colGap: 16,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont,
                wrapX: true,
                wrapY: true
@@ -768,6 +800,8 @@ export MenuResources menuResources {
                rowGap: 8,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont,
                disabledFont: menuInactiveFont,
                iconSpace: 16,
@@ -783,6 +817,8 @@ export MenuResources menuResources {
                colGap: 48,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont,
                disabledFont: menuInactiveFont,
                charsPerNumber: 2,
@@ -795,6 +831,8 @@ export MenuResources menuResources {
                rowGap: 8,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont
        },
        equipmentMenu: MenuProperties {
@@ -804,6 +842,8 @@ export MenuResources menuResources {
                rowGap: 16,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: normalFont,
                iconSpace: 16,
                wrapY: true
@@ -819,6 +859,7 @@ export MenuResources menuResources {
                charsPerEntry: 8,
                rowGap: 32,
                cursor: menuCursor,
+               cursorAnimation: menuCursorAnimation,
                font: menuFont,
                wrapY: true
        },
@@ -839,6 +880,7 @@ export MenuResources menuResources {
                charsPerEntry: 14,
                rowGap: 8,
                cursor: menuCursor,
+               cursorAnimation: menuCursorAnimation,
                font: menuFont
        },
        scenarioMenuHeadline: "SCENARIO ITEM",
@@ -852,6 +894,8 @@ export MenuResources menuResources {
                charsPerEntry: 7,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont,
                thirdColumnHack: 2
        },
@@ -862,6 +906,8 @@ export MenuResources menuResources {
                colGap: 32,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont
        },
        capsuleFeedLabel: "FEED",
@@ -943,5 +989,19 @@ export MenuResources menuResources {
                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>
        }
 }