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",
|
name = "medicines",
|
||||||
fullname = "Medicines",
|
fullname = "Medicines",
|
||||||
description = "Healing items",
|
description = "Healing items",
|
||||||
inBattle = true
|
inBattle = true,
|
||||||
|
isEquipement = false,
|
||||||
},
|
},
|
||||||
[2] = {
|
[2] = {
|
||||||
name = "powerups",
|
name = "powerups",
|
||||||
fullname = "Powerups",
|
fullname = "Powerups",
|
||||||
description = "Helping items usable in battle",
|
description = "Helping items usable in battle",
|
||||||
inBattle = true
|
inBattle = true,
|
||||||
|
isEquipement = false,
|
||||||
},
|
},
|
||||||
[3] = {
|
[3] = {
|
||||||
name = "wisps",
|
name = "wisps",
|
||||||
fullname = "Wisps",
|
fullname = "Wisps",
|
||||||
description = "Little alien creatures that can attack ennemies",
|
description = "Little alien creatures that can attack ennemies",
|
||||||
inBattle = true
|
inBattle = true,
|
||||||
|
isEquipement = false,
|
||||||
},
|
},
|
||||||
[4] = {
|
[4] = {
|
||||||
name = "gloves",
|
name = "gloves",
|
||||||
fullname = "Gloves",
|
fullname = "Gloves",
|
||||||
description = "All equipables gloves",
|
description = "All equipables gloves",
|
||||||
inBattle = false
|
inBattle = false,
|
||||||
|
isEquipement = true,
|
||||||
},
|
},
|
||||||
[5] = {
|
[5] = {
|
||||||
name = "shoes",
|
name = "shoes",
|
||||||
fullname = "Shoes",
|
fullname = "Shoes",
|
||||||
description = "All equipables shoes",
|
description = "All equipables shoes",
|
||||||
inBattle = false
|
inBattle = false,
|
||||||
|
isEquipement = true,
|
||||||
},
|
},
|
||||||
[6] = {
|
[6] = {
|
||||||
name = "accessories",
|
name = "accessories",
|
||||||
fullname = "Accessories",
|
fullname = "Accessories",
|
||||||
description = "All equipables accessories",
|
description = "All equipables accessories",
|
||||||
inBattle = false
|
inBattle = false,
|
||||||
|
isEquipement = true,
|
||||||
},
|
},
|
||||||
[7] = {
|
[7] = {
|
||||||
name = "chao",
|
name = "chao",
|
||||||
fullname = "Chao's Items",
|
fullname = "Chao's Items",
|
||||||
description = "All chao-related items",
|
description = "All chao-related items",
|
||||||
inBattle = false
|
inBattle = false,
|
||||||
|
isEquipement = false,
|
||||||
},
|
},
|
||||||
[8] = {
|
[8] = {
|
||||||
name = "quest",
|
name = "quest",
|
||||||
fullname = "Quest Items",
|
fullname = "Quest Items",
|
||||||
description = "All 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.fullname = pocketdata.fullname
|
||||||
self.inBattle = pocketdata.inBattle
|
self.inBattle = pocketdata.inBattle
|
||||||
self.description = pocketdata.description
|
self.description = pocketdata.description
|
||||||
|
self.isEquipement = pocketdata.isEquipement
|
||||||
self.list = {}
|
self.list = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue