[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/data/ccl cheats.lua
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/data/ccl cheats.lua |
Date: |
15 Dec 2003 08:38:04 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 03/12/15 08:38:04
Modified files:
data/ccl : cheats.lua
Log message:
Added fill mana cheat
Patches:
Index: stratagus/data/ccl/cheats.lua
diff -u stratagus/data/ccl/cheats.lua:1.2 stratagus/data/ccl/cheats.lua:1.3
--- stratagus/data/ccl/cheats.lua:1.2 Sun Dec 14 15:49:28 2003
+++ stratagus/data/ccl/cheats.lua Mon Dec 15 08:38:04 2003
@@ -26,7 +26,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
--
--- $Id: cheats.lua,v 1.2 2003/12/14 04:49:28 jsalmon3 Exp $
+-- $Id: cheats.lua,v 1.3 2003/12/14 21:38:04 jsalmon3 Exp $
speedcheat = false
@@ -123,7 +123,10 @@
-- FIXME: Not supported yet
elseif (str == "fill mana") then
- -- FIXME: Not supported yet
+ t = GetUnits("this");
+ for i = 1,table.getn(t) do
+ SetUnitMana(t[i], 255)
+ end
elseif (str == "ai me") then
-- FIXME: Not supported yet