Changes
mLine 12:
Line 12:
− +
− +
Streamline input
ship = args.ship
ship = args.ship
end
end
return Formatting:format_image{ship:battle_card(), size = args.size or self._battle_card_size, link = args.link, caption = args.caption}
return Formatting:format_image{ship:battle_card(), size = args.size or self._battle_card_size, link = ship:base_name(), caption = ship:name()}
end
end
function EnemyShipCard:create_ship(args)
function EnemyShipCard:create_ship(args)
return EnemyShip(args.name, args.model)
return EnemyShip(args[1], args[2])
end
end