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
48 lines
1.5 KiB
XML
48 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ItemCollection>
|
|
|
|
<GameObject name="Stone hoe">
|
|
<Transform />
|
|
<Sprite src="sprites/items/HoeStone.sprite" />
|
|
<SpriteRenderer />
|
|
<Item name="Stone pickaxe"
|
|
description="The most basic type of pickaxe. It can break small stones."
|
|
level="1" />
|
|
<Weapon damage="0.5"
|
|
critProbability="0"
|
|
critDamage="0"
|
|
attackDuration="0.2"
|
|
energyCost="1" />
|
|
<Hoe />
|
|
</GameObject>
|
|
|
|
<GameObject name="Rusty watering can">
|
|
<Transform />
|
|
<Sprite src="sprites/items/RustyWateringCan.sprite" />
|
|
<SpriteRenderer />
|
|
<Item name="Rusty watering can"
|
|
description="Small and rusty watering can."
|
|
level="1" />
|
|
<Weapon damage="0"
|
|
critProbability="0"
|
|
critDamage="0"
|
|
attackDuration="0.2"
|
|
energyCost="1" />
|
|
<WateringCan capacity="10" amountLeft="10" />
|
|
</GameObject>
|
|
|
|
<!--
|
|
<GameObject name="Stone pickaxe">
|
|
<Transform />
|
|
<SpriteRenderer sprite="sprites/items/StonePickaxe.sprite" />
|
|
<Item name="Stone pickaxe"
|
|
description="The most basic type of pickaxe. It can break small stones."
|
|
level="1" />
|
|
<Weapon damage="1"
|
|
critProbability="0"
|
|
critDamage="0"
|
|
attackDuration="0.5" />
|
|
<PickaxeItem />
|
|
</GameObject>
|
|
-->
|
|
</ItemCollection> |