Line 9: |
Line 9: |
| local Combat2 = require("Module:Combat2") | | local Combat2 = require("Module:Combat2") |
| local EquipmentCardKai = require("Module:EquipmentCardKai") | | local EquipmentCardKai = require("Module:EquipmentCardKai") |
| + | local EquipmentGraphicKai = require("Module:EquipmentGraphicKai") |
| local EquipmentCollection = require("Module:Collection/Equipment") | | local EquipmentCollection = require("Module:Collection/Equipment") |
| local Development = require("Module:Development") | | local Development = require("Module:Development") |
Line 104: |
Line 105: |
| | | |
| -- overrides ShipData:card | | -- overrides ShipData:card |
− | card = function(ship) | + | card = function(obj) |
− | if ship.hp then | + | if obj.hp then |
− | return ShipBattleCardKai:Asset({ ship:name("/") }) | + | return ShipBattleCardKai:Asset({ obj:name("/") }) |
| else | | else |
− | return EquipmentCardKai:Asset({ ship:name(), size = "75px" }) | + | return EquipmentCardKai:Asset({ obj:name(), size = "75px" }) |
| end | | end |
| + | end, |
| + | |
| + | item = function(obj) |
| + | return EquipmentGraphicKai:Asset({ obj:name(), size = "75px" }) |
| + | end, |
| + | |
| + | fairy = function(obj) |
| + | return EquipmentGraphicKai:Asset({ obj:name(), size = "75px", fairy = "only" }) |
| + | end, |
| + | |
| + | full = function(obj) |
| + | return EquipmentGraphicKai:Asset({ obj:name(), size = "75px", fairy = "true" }) |
| end, | | end, |
| | | |