fix: separate equipment pockets
This commit is contained in:
parent
4ba49a5534
commit
80748476de
2 changed files with 17 additions and 8 deletions
|
@ -3,49 +3,57 @@ return {
|
|||
name = "medicines",
|
||||
fullname = "Medicines",
|
||||
description = "Healing items",
|
||||
inBattle = true
|
||||
inBattle = true,
|
||||
isEquipement = false,
|
||||
},
|
||||
[2] = {
|
||||
name = "powerups",
|
||||
fullname = "Powerups",
|
||||
description = "Helping items usable in battle",
|
||||
inBattle = true
|
||||
inBattle = true,
|
||||
isEquipement = false,
|
||||
},
|
||||
[3] = {
|
||||
name = "wisps",
|
||||
fullname = "Wisps",
|
||||
description = "Little alien creatures that can attack ennemies",
|
||||
inBattle = true
|
||||
inBattle = true,
|
||||
isEquipement = false,
|
||||
},
|
||||
[4] = {
|
||||
name = "gloves",
|
||||
fullname = "Gloves",
|
||||
description = "All equipables gloves",
|
||||
inBattle = false
|
||||
inBattle = false,
|
||||
isEquipement = true,
|
||||
},
|
||||
[5] = {
|
||||
name = "shoes",
|
||||
fullname = "Shoes",
|
||||
description = "All equipables shoes",
|
||||
inBattle = false
|
||||
inBattle = false,
|
||||
isEquipement = true,
|
||||
},
|
||||
[6] = {
|
||||
name = "accessories",
|
||||
fullname = "Accessories",
|
||||
description = "All equipables accessories",
|
||||
inBattle = false
|
||||
inBattle = false,
|
||||
isEquipement = true,
|
||||
},
|
||||
[7] = {
|
||||
name = "chao",
|
||||
fullname = "Chao's Items",
|
||||
description = "All chao-related items",
|
||||
inBattle = false
|
||||
inBattle = false,
|
||||
isEquipement = false,
|
||||
},
|
||||
[8] = {
|
||||
name = "quest",
|
||||
fullname = "Quest Items",
|
||||
description = "All quest items",
|
||||
inBattle = false
|
||||
inBattle = false,
|
||||
isEquipement = false,
|
||||
},
|
||||
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ function Pocket:new(pocketdata)
|
|||
self.fullname = pocketdata.fullname
|
||||
self.inBattle = pocketdata.inBattle
|
||||
self.description = pocketdata.description
|
||||
self.isEquipement = pocketdata.isEquipement
|
||||
self.list = {}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue