Large refactoring. Also, reimplemented resource manager to use parsers. Changed from json to xml (it allows comments!!!).
This commit is contained in:
15
assets/items/lvl1_sword.item
Normal file
15
assets/items/lvl1_sword.item
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"name" : "Level 1 Sword",
|
||||
"description" : "Most basic sword.",
|
||||
"enemyDamage" : 3,
|
||||
"attackDuration" : 10,
|
||||
"criticalProbability" : 0.01,
|
||||
|
||||
"level" : 1,
|
||||
|
||||
"tool" : true,
|
||||
"giftable" : false,
|
||||
"sellable" : false,
|
||||
|
||||
"sprite" : "sprites/items/lvl1_sword.sprite"
|
||||
}
|
16
assets/items/stone_pickaxe.item
Normal file
16
assets/items/stone_pickaxe.item
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name" : "Stone pickaxe",
|
||||
"description" : "The most basic type of pickaxe. It can break small stones.",
|
||||
"enemyDamage" : 1,
|
||||
"criticalProbability" : 0,
|
||||
|
||||
"level" : 1,
|
||||
|
||||
"tool" : true,
|
||||
"giftable" : false,
|
||||
"sellable" : false,
|
||||
|
||||
"sprite" : "sprites/items/stone_pickaxe.sprite",
|
||||
|
||||
"controller" : "PickaxeItem"
|
||||
}
|
Reference in New Issue
Block a user