Line 2: |
Line 2: |
| local EquipmentInfoKai = require('Module:EquipmentInfoKai') | | local EquipmentInfoKai = require('Module:EquipmentInfoKai') |
| local Tabber = require('Module:Tabber') | | local Tabber = require('Module:Tabber') |
| + | local Equipment = require('Module:Equipment') |
| | | |
| local EnemyEquipmentInfoKai = EquipmentInfoKai{ | | local EnemyEquipmentInfoKai = EquipmentInfoKai{ |
| + | _enemy = true, |
| _template = [[{|class="${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 380px; background-color: #fafafa;${float}" | | _template = [[{|class="${table_class}" id="${table_id}" style="border: 1px solid darkgray; width: 380px; background-color: #fafafa;${float}" |
| |- | | |- |
Line 27: |
Line 29: |
| [10] = true, -- LBAS only | | [10] = true, -- LBAS only |
| [11] = true, | | [11] = true, |
| + | [25] = true, |
| [41] = true, -- LBAS only | | [41] = true, -- LBAS only |
| [47] = true, | | [47] = true, |
Line 32: |
Line 35: |
| _abyssal_equipment_label = "''Abyssal Equipment''", | | _abyssal_equipment_label = "''Abyssal Equipment''", |
| } | | } |
| + | |
| + | function EnemyEquipmentInfoKai:get_module() |
| + | self._equipment_data_module = Equipment:get_module(self._args.name or self._args[1], 'EnemyEquipment') |
| + | end |
| | | |
| function EnemyEquipmentInfoKai:image() | | function EnemyEquipmentInfoKai:image() |
− | self._vars.card = EquipmentGraphicKai:get{equip = self._equipment} | + | self._vars.card = EquipmentGraphicKai:get{equip = self._equipment, size = '350px'} |
| if self._plane_types[self._equipment:type()] then | | if self._plane_types[self._equipment:type()] then |
| local tabber = Tabber() | | local tabber = Tabber() |