]> git.localhorst.tv Git - l2e.git/blob - test-data/items.l2s
added hard support for path names in source files
[l2e.git] / test-data / items.l2s
1 export Sprite potionIcon {
2         image: :"item-icons.png",
3         size: <16,16>
4 }
5 export Sprite ballIcon {
6         image: :"item-icons.png",
7         size: <16,16>,
8         offset: <0,16>
9 }
10 export Sprite crankIcon {
11         image: :"item-icons.png",
12         size: <16,16>,
13         offset: <0,32>
14 }
15 export Sprite spearIcon {
16         image: :"item-icons.png",
17         size: <16,16>,
18         offset: <0,48>
19 }
20 export Sprite swordIcon {
21         image: :"item-icons.png",
22         size: <16,16>,
23         offset: <0,64>
24 }
25 export Sprite axIcon {
26         image: :"item-icons.png",
27         size: <16,16>,
28         offset: <0,80>
29 }
30 export Sprite rodIcon {
31         image: :"item-icons.png",
32         size: <16,16>,
33         offset: <0,96>
34 }
35 export Sprite armorIcon {
36         image: :"item-icons.png",
37         size: <16,16>,
38         offset: <0,112>
39 }
40 export Sprite shieldIcon {
41         image: :"item-icons.png",
42         size: <16,16>,
43         offset: <0,128>
44 }
45 export Sprite helmetIcon {
46         image: :"item-icons.png",
47         size: <16,16>,
48         offset: <0,144>
49 }
50 export Sprite ringIcon {
51         image: :"item-icons.png",
52         size: <16,16>,
53         offset: <0,160>
54 }
55 export Sprite jewelIcon {
56         image: :"item-icons.png",
57         size: <16,16>,
58         offset: <0,176>
59 }
60
61 export SimpleAnimation swordAttackAnimation {
62         sprite: Sprite {
63                 image: :"attack-sword.png",
64                 size: <96,96>
65         },
66         frametime: twoFramesTime,
67         repeat: false,
68         framecount: 4
69 }
70
71 export Item antidoteItem {
72         name: "Antidote",
73         menuicon: potionIcon,
74         battle: true,
75         targets: TargetingMode {
76                 ally: true,
77                 single: true
78         }
79 }
80 export Item escapeItem {
81         name: "Escape",
82         battle: false
83 }
84 export Item hiPotionItem {
85         name: "Hi-Potion",
86         menuicon: potionIcon,
87         battle: true,
88         targets: TargetingMode {
89                 ally: true,
90                 single: true
91         }
92 }
93 export Item magicJarItem {
94         name: "Magic jar",
95         menuicon: potionIcon,
96         battle: true,
97         targets: TargetingMode {
98                 ally: true,
99                 single: true
100         }
101 }
102 export Item powerPotionItem {
103         name: "Power potion",
104         menuicon: potionIcon,
105         battle: false
106 }
107 export Item sleepBallItem {
108         name: "Sleep ball",
109         menuicon: ballIcon,
110         battle: true,
111         targets: TargetingMode {
112                 enemy: true,
113                 single: true
114         }
115 }
116 export Item zirconArmorItem {
117         name: "Zircon armor",
118         menuicon: armorIcon,
119         battle: false,
120         ikari: magicCureIkari
121 }
122 export Item zircoSwordItem {
123         name: "Zirco sword",
124         menuicon: swordIcon,
125         battle: false,
126         targets: TargetingMode {
127                 enemy: true,
128                 single: true
129         },
130         ikari: firestormIkari,
131         attackanimation: swordAttackAnimation
132 }