Author: iwontbecreative
Date: Sun Oct 23 22:11:32 2011
New Revision: 51597

URL: http://svn.gna.org/viewcvs/wesnoth?rev=51597&view=rev
Log:
Made terrain2wiki.py also show a picture of the terrain, looks better now.

Modified:
    trunk/data/tools/terrain2wiki.py

Modified: trunk/data/tools/terrain2wiki.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/terrain2wiki.py?rev=51597&r1=51596&r2=51597&view=diff
==============================================================================
--- trunk/data/tools/terrain2wiki.py (original)
+++ trunk/data/tools/terrain2wiki.py Sun Oct 23 22:11:32 2011
@@ -39,6 +39,7 @@
     terrains = re.compile("\[terrain_type\](.*?)\[\/terrain_type\]", 
re.DOTALL).findall(data)
 
     data = """{{AutogeneratedWML}}{| border="1"
+!terrain
 !name
 !string
 !alias of
@@ -63,7 +64,9 @@
 | %s
 | %s
 | %s
+| %s
 """ % (
+"http://svn.gna.org/svn/wesnoth/trunk/data/core/images/terrain/%s.png"; % 
content['symbol_image'],
 content['editor_name'][4:-1] if 'editor_name' in content else 
content['name'][4:-1],
 content['string'].replace("# wmllint: ignore", ""),
 content['aliasof'] if 'aliasof' in content else "",


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to