diff options
Diffstat (limited to 'thing.lua')
| -rw-r--r-- | thing.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -19,4 +19,7 @@ function Thing.__tostring(self) .. ':' .. self.id .. (self.name == self.id and '('..self.name..')' or '') end +function Thing.name_with_shortname(self) + return self.name .. ' [' .. self.pylon.shortname .. ']' +end return Thing |
