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
This commit is contained in:
		@@ -11,7 +11,8 @@
 | 
			
		||||
        <Weapon damage="0.5"
 | 
			
		||||
                critProbability="0"
 | 
			
		||||
                critDamage="0"
 | 
			
		||||
                attackDuration="0.2" />
 | 
			
		||||
                attackDuration="0.2"
 | 
			
		||||
                energyCost="1" />
 | 
			
		||||
        <Hoe />
 | 
			
		||||
    </GameObject>
 | 
			
		||||
 | 
			
		||||
@@ -25,7 +26,8 @@
 | 
			
		||||
        <Weapon damage="0"
 | 
			
		||||
                critProbability="0"
 | 
			
		||||
                critDamage="0"
 | 
			
		||||
                attackDuration="0.2" />
 | 
			
		||||
                attackDuration="0.2"
 | 
			
		||||
                energyCost="1" />
 | 
			
		||||
        <WateringCan capacity="10" amountLeft="10" />
 | 
			
		||||
    </GameObject>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,8 @@
 | 
			
		||||
        <Weapon damage="3"
 | 
			
		||||
                critProbability="0.01"
 | 
			
		||||
                critDamage="9"
 | 
			
		||||
                attackDuration="0.4" />
 | 
			
		||||
                attackDuration="0.4"
 | 
			
		||||
                energyCost="1.5" />
 | 
			
		||||
    </GameObject>
 | 
			
		||||
 | 
			
		||||
    <GameObject name="Level 2 Sword">
 | 
			
		||||
@@ -24,7 +25,8 @@
 | 
			
		||||
        <Weapon damage="6"
 | 
			
		||||
                critProbability="0.01"
 | 
			
		||||
                critDamage="18"
 | 
			
		||||
                attackDuration="0.4" />
 | 
			
		||||
                attackDuration="0.4"
 | 
			
		||||
                energyCost="0.9" />
 | 
			
		||||
    </GameObject>
 | 
			
		||||
    
 | 
			
		||||
</ItemCollection>
 | 
			
		||||
		Reference in New Issue
	
	Block a user