Line 40: |
Line 40: |
| end | | end |
| return self:base_name() | | return self:base_name() |
| + | end |
| + | |
| + | function ShipData:lua_name() |
| + | local key = self._key |
| + | if key and key ~= "" then |
| + | return self:base_name() .. "/" .. key |
| + | else |
| + | return self:base_name() |
| + | end |
| end | | end |
| | | |