- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Module:ShipAsset"
Jump to navigation
Jump to search
com>Ckwng (Created page with "local BaseAsset = require('Module:BaseAsset') local Ship = require('Module:Ship') local ShipAsset = BaseAsset() function ShipAsset:create_object(args) if args.name then r...") |
m (1 revision imported) |
(No difference)
|
Latest revision as of 12:35, 12 May 2021
Documentation for this module may be created at Module:ShipAsset/doc
local BaseAsset = require('Module:BaseAsset')
local Ship = require('Module:Ship')
local ShipAsset = BaseAsset()
function ShipAsset:create_object(args)
if args.name then
return Ship(args.name, args.model)
else
return Ship(args[1])
end
end
return ShipAsset