aboutsummaryrefslogtreecommitdiffstats
path: root/config/items.xml
blob: 3819b1e2c795a1661e65b169b9cabc07331786ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0"?>

<!-- CURRENCY -->
<currency name="Abe Lincoln" value="1" sprite="assets/items/coin1.png"/>
<currency name="George Washington" value="25" sprite="assets/items/coin2.png"/>
<currency name="Barack Hussein Obama" value="100" sprite="assets/items/coin3.png"/>

<!-- OLD ITEMS -->
<item name="Debug"          type="Tool"         value="10" maxStackSize="2"   width="1"  height="1"  sprite="assets/items/ITEM_TEST.png" />
<item name="Dank MayMay"    type="Tool"         value="10" maxStackSize="420" width="10" height="10" sprite="assets/items/ITEM_TEST.png" />
<item name="Your Bag"       type="Equip"        value="32" maxStackSize="1"   width="5"  height="5"  sprite="assets/items/ITEM_TEST.png" />
<item name="Flashlight"     type="Tool"         value="1"  maxStackSize="1"   width="4"  height="8"  sprite="assets/items/flashlight_off.png" />
<item name="Fried Chicken"  type="Food"  value="10" maxStackSize="6" sprite="assets/items/FOOD_CHICKEN_FRIED.png" />

<!--###########-->
<!-- NEW ITEMS -->
<!--##########-->

<!-- WEAPONS -->
<item name="Wood Sword" type="Sword" maxStackSize="1" sound="assets/sounds/longSwing.wav" sprite="assets/items/SWORD_WOOD.png" cooldown="250">
	<attack effect="assets/effects/starAttack.gif">
		i = 1

		effect = function()
			flash(255, 0, 0)
			damage(8)
		end

		hit = function()
			if (i &lt; 80) then
				xrange = i
				i = i + 1
			else
				xrange = 0
			end
		end
	</attack>
</item>
<item name="Hunters Bow" type="Bow" drawOffset="5,16" maxStackSize="1" sound="assets/sounds/shortSwing.wav" sprite="assets/items/bow.png" cooldown="600">
	<attack effect="assets/effects/bowhit.gif">
		effect = function()
			flash(255, 0, 255)
			damage(4)
		end
	</attack>
</item>
<item name="Arrow"    type="Arrow"    damage="1"  maxStackSize="99"   sprite="assets/items/arrow_crude.png"/>

<!-- UTILITIES -->
<!--<item name="Rusty Lantern"	type="Light"			 radius="150" color="255|255|255" sprite="assets/items/rusty_lantern.png"/>-->
<item name="Mossy Torch" 	type="Light" fire="true" radius="150" color="245|220|200" sprite="assets/items/basic_torch.png"/>