Tiberiu Chibici
6a35b11ec2
- reimplemented & improved player inventory - now player has "Action2" which means he can interact with the environment - added weapon energy cost - updated player action interface
32 lines
970 B
XML
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> |