~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to scripting/win_conditions/defeat_all.lua

  • Committer: Holger Rapp
  • Date: 2010-03-24 16:16:38 UTC
  • mto: (4917.6.11 win-conditions)
  • mto: This revision was merged to the branch mainline in revision 5211.
  • Revision ID: sirver@gmx.de-20100324161638-1clwevy2b2y50tcf
A new textdomain was added that translates win_conditions

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- =======================================================================
 
2
--                         Defeat all Win condition                         
 
3
-- =======================================================================
 
4
 
 
5
use("aux", "coroutine")
 
6
 
 
7
set_textdomain("win_conditions")
 
8
 
 
9
return {
 
10
   name = _ "Autocrat",
 
11
   check_func = function() 
 
12
      while true do
 
13
         sleep(500)
 
14
         print "hi there!"
 
15
      end
 
16
   end,
 
17
}