Implemented hoe
This commit is contained in:
@ -1,6 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>Player
|
||||
<?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" />
|
||||
<Hoe />
|
||||
</GameObject>
|
||||
|
||||
<!--
|
||||
<GameObject name="Stone pickaxe">
|
||||
<Transform />
|
||||
<SpriteRenderer sprite="sprites/items/StonePickaxe.sprite" />
|
||||
@ -13,5 +28,5 @@
|
||||
attackDuration="0.5" />
|
||||
<PickaxeItem />
|
||||
</GameObject>
|
||||
|
||||
-->
|
||||
</ItemCollection>
|
10
assets/sprites/items/HoeStone.sprite
Normal file
10
assets/sprites/items/HoeStone.sprite
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Sprite name="StoneHoe"
|
||||
anchorX="0" anchorY="0.1">
|
||||
<State name="Normal">
|
||||
<Frame tileSet="sprites/items/hoe.png" cell="0" w="1" h="1" duration="1" />
|
||||
</State>
|
||||
<State name="Attack">
|
||||
<Frame tileSet="sprites/items/hoe.png" cell="1" w="1" h="1" duration="1" />
|
||||
</State>
|
||||
</Sprite>
|
BIN
assets/sprites/items/hoe.png
Normal file
BIN
assets/sprites/items/hoe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 266 B |
Reference in New Issue
Block a user