farmlands/assets/items/Weapons.items
Tiberiu Chibici 6a35b11ec2 Player changes:
- reimplemented & improved player inventory
- now player has "Action2" which means he can interact with the
environment
- added weapon energy cost
- updated player action interface
2016-12-12 23:28:41 +02:00

32 lines
970 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<ItemCollection>
<GameObject name="Level 1 Sword">
<Transform />
<Sprite src="sprites/items/Lvl1Sword.sprite" />
<SpriteRenderer />
<Item name="Level 1 Sword"
description="Better than nothing."
level="1" />
<Weapon damage="3"
critProbability="0.01"
critDamage="9"
attackDuration="0.4"
energyCost="1.5" />
</GameObject>
<GameObject name="Level 2 Sword">
<Transform />
<Sprite src="sprites/items/Lvl2Sword.sprite" />
<SpriteRenderer />
<Item name="Level 2 Sword"
description="Better than basic sword."
level="2" />
<Weapon damage="6"
critProbability="0.01"
critDamage="18"
attackDuration="0.4"
energyCost="0.9" />
</GameObject>
</ItemCollection>