mail[Wesnoth-commits] r20038 - /trunk/data/core/macros/terrain-utils.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by lari . nieminen on September 01, 2007 - 18:32:
Author: zookeeper
Date: Sat Sep  1 18:31:56 2007
New Revision: 20038

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20038&view=rev
Log:
Updated the example WML for MODIFY_TERRAIN (it was using old terrain 
letters). Also removed the example from MODIFY_TERRAIN_MASK (feel free to 
restore it if you want to figure out how to write the mask in terrain 
strings).

Modified:
    trunk/data/core/macros/terrain-utils.cfg

Modified: trunk/data/core/macros/terrain-utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/terrain-utils.cfg?rev=20038&r1=20037&r2=20038&view=diff
==============================================================================
--- trunk/data/core/macros/terrain-utils.cfg (original)
+++ trunk/data/core/macros/terrain-utils.cfg Sat Sep  1 18:31:56 2007
@@ -8,7 +8,7 @@
     # Changes the terrain at a given list of coordinates
     #
     # For example, we could make 14,15 and 14,16 grassland:
-    #! {MODIFY_TERRAIN g (14,14) (15,16)}
+    #! {MODIFY_TERRAIN Gg (14,14) (15,16)}
     [terrain]
         letter={LETTER}
         x={X}
@@ -18,13 +18,6 @@
 
 #define MODIFY_TERRAIN_MASK X Y MASK RULES
     # Changes the terrain for a given area
-    #
-    # For example, we could create a castle at 10,12:
-    #! {MODIFY_TERRAIN_MASK 10 12 (
-    #! CC
-    #! CKC
-    #!  CC
-    #! )}
     [terrain_mask]
         x={X}
         y={Y}




Related Messages


Powered by MHonArc, Updated Sat Sep 01 18:40:14 2007