diff options
author | Aki <nthirtyone@gmail.com> | 2016-07-31 09:00:57 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-07-31 09:00:57 +0200 |
commit | 95751a8ba1a2881972ab50fabc72526ee989a29f (patch) | |
tree | bf126a8a7c4e42f238ab5178d9bb01e8d67329f4 /world.lua | |
parent | d38941d363842f547ba3cd681ca22f2014f1ba49 (diff) | |
download | roflnauts-95751a8ba1a2881972ab50fabc72526ee989a29f.zip roflnauts-95751a8ba1a2881972ab50fabc72526ee989a29f.tar.gz roflnauts-95751a8ba1a2881972ab50fabc72526ee989a29f.tar.bz2 |
Map restart
Diffstat (limited to 'world.lua')
-rw-r--r-- | world.lua | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -189,7 +189,6 @@ function World:getNautsPlayable() end return nauts end - -- are alive function World:getNautsAlive() local nauts = {} @@ -200,6 +199,15 @@ function World:getNautsAlive() end return nauts end +-- all of them +function World:getNautsAll() + return self.Nauts +end + +-- get Map name +function World:getMapName() + return self.map.name +end -- Event: when player is killed function World:onNautKilled(naut) |