← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/number_glob into lp:widelands

 

GunChleoc has proposed merging lp:~widelands-dev/widelands/number_glob into lp:widelands.

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1512076 in widelands: "Post one_tribe cleanup"
  https://bugs.launchpad.net/widelands/+bug/1512076

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/number_glob/+merge/278192

This is a code cleanup branch.

NumberGlob is now shifted from animation.cc to the Lua interface.


C++ changes and test suite updates are in commit

http://bazaar.launchpad.net/~widelands-dev/widelands/number_glob/revision/7473


Lua changes are in commit

http://bazaar.launchpad.net/~widelands-dev/widelands/number_glob/revision/7474
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/number_glob into lp:widelands.
=== modified file 'i18n/locales.lua'
--- i18n/locales.lua	2015-11-10 08:56:00 +0000
+++ i18n/locales.lua	2015-11-20 18:28:22 +0000
@@ -2,369 +2,369 @@
 -- The locale data is managed in Transifex.
 
 return {
-	-- Locales are identified by their ISO code.
- 	en = {
-		-- Used to display the locale in the Options menu.
-		name = "English",
-
-		-- Defines the language's position on the list in the Options menu.
-		sort_name = "English",
-
-		-- The font set used, including the script's direction. See i18n/fonts.lua
-		font = "default"
-	},
-
-	ar = {
-		name = "العربية",
-		sort_name = "Al-ʿArabiyyah",
-		font = "arabic"
-	},
-
-	ast = {
-		name = "Asturianu",
-		sort_name = "Asturianu",
-		font = "default"
-	},
-
-	bg = {
-		name = "Български",
-		sort_name = "Balgarski",
-		font = "default"
-	},
-
-	ca = {
-		name = "Català",
-		sort_name = "Catala",
-		font = "default"
-	},
-
-	cs = {
-		name = "Čeština",
-		sort_name = "Cestina",
-		font = "default"
-	},
-
-	da = {
-		name = "Dansk",
-		sort_name = "Dansk",
-		font = "default"
-	},
-
-	de = {
-		name = "Deutsch",
-		sort_name = "Deutsch",
-		font = "default"
-	},
-
-	el = {
-		name = "Ελληνικά",
-		sort_name = "Ellinika",
-		font = "default"
-	},
-
-	en_AU = {
-		name = "Australian English",
-		sort_name = "English (Australia)",
-		font = "default"
-	},
-
-	en_CA = {
-		name = "Canadian English",
-		sort_name = "English (Canada)",
-		font = "default"
-	},
-
-	en_GB = {
-		name = "British English",
-		sort_name = "English (Great Britain)",
-		font = "default"
-	},
-
-	en_US = {
-		name = "US American English",
-		sort_name = "English (USA)",
-		font = "default"
-	},
-
-	eo = {
-		name = "Esperanto",
-		sort_name = "Esperanto",
-		font = "default"
-	},
-
-	es = {
-		name = "Español",
-		sort_name = "Espanol",
-		font = "default"
-	},
-
-	es_CO = {
-		name = "Español colombiano",
-		sort_name = "Espanol colombiano",
-		font = "default"
-	},
-
-	et = {
-		name = "Eesti keel",
-		sort_name = "Eesti keel",
-		font = "default"
-	},
-
-	eu = {
-		name = "Euskara",
-		sort_name = "Euskara",
-		font = "default"
-	},
-
-	fa = {
-		name = "فارسی",
-		sort_name = "Farsi",
-		font = "arabic"
-	},
-
-	fi = {
-		name = "Suomi",
-		sort_name = "Suomi",
-		font = "default"
-	},
-
-	fr = {
-		name = "Français",
-		sort_name = "Francais",
-		font = "default"
-	},
-
-	gd = {
-		name = "Gàidhlig",
-		sort_name = "Gaidhlig",
-		font = "default"
-	},
-
-	gl = {
-		name = "Galego",
-		sort_name = "Galego",
-		font = "default"
-	},
-
-	he = {
-		name = "עברית",
-		sort_name = "Ivrit",
-		font = "hebrew"
-	},
-
-	hi = {
-		name = "हिन्दी",
-		sort_name = "Hindi",
-		font = "devanagari"
-	},
-
-	hr = {
-		name = "Hrvatski",
-		sort_name = "Hrvatski",
-		font = "default"
-	},
-
-	hu = {
-		name = "Magyar",
-		sort_name = "Magyar",
-		font = "default"
-	},
-
-	ia = {
-		name = "Interlingua",
-		sort_name = "Interlingua",
-		font = "default"
-	},
-
-	id = {
-		name = "Bahasa Indonesia",
-		sort_name = "Indonesia",
-		font = "default"
-	},
-
-	it = {
-		name = "Italiano",
-		sort_name = "Italiano",
-		font = "default"
-	},
-
-	ja = {
-		name = "日本語",
-		sort_name = "Nihongo",
-		font = "cjk"
-	},
-
-	jv = {
-		name = "Basa jawa",
-		sort_name = "Jawa",
-		font = "default"
-	},
-
-	ka = {
-		name = "ქართული",
-		sort_name = "Kartuli",
-		font = "default"
-	},
-
-	ko = {
-		name = "한국어",
-		sort_name = "Hangug-eo",
-		font = "cjk"
-	},
-
-	la = {
-		name = "Lingua latīna",
-		sort_name = "Latina",
-		font = "default"
-	},
-
-	lt = {
-		name = "Lietuvių",
-		sort_name = "Lietuviu",
-		font = "default"
-	},
-
-	mr = {
-		name = "मराठी",
-		sort_name = "Marathi",
-		font = "devanagari"
-	},
-
-	ms = {
-		name = "بهاس ملايو",
-		sort_name = "Melayu",
-		font = "arabic"
-	},
-
-	my = {
-		name = "မြန်မာစ",
-		sort_name = "Myanma",
-		font = "myanmar"
-	},
-
-	nb = {
-		name = "Norsk (Bokmål)",
-		sort_name = "Norsk (Bokmal)",
-		font = "default"
-	},
-
-	nds = {
-		name = "Plattdütsch",
-		sort_name = "Plattdutsch",
-		font = "default"
-	},
-
-	nl = {
-		name = "Nederlands",
-		sort_name = "Nederlands",
-		font = "default"
-	},
-
-	nn = {
-		name = "Nynorsk",
-		sort_name = "Norsk (Nynorsk)",
-		font = "default"
-	},
-
-	oc = {
-		name = "Occitan",
-		sort_name = "Occitan",
-		font = "default"
-	},
-
-	pl = {
-		name = "Polski",
-		sort_name = "Polski",
-		font = "default"
-	},
-
-	pt = {
-		name = "Português",
-		sort_name = "Portugues",
-		font = "default"
-	},
-
-	pt_BR = {
-		name = "Português do Brasil",
-		sort_name = "Portugues (Brasil)",
-		font = "default"
-	},
-
-	ro = {
-		name = "Română",
-		sort_name = "Romana",
-		font = "default"
-	},
-
-	ru = {
-		name = "Русский",
-		sort_name = "Russky",
-		font = "default"
-	},
-
-	rw = {
-		name = "Kinyarwanda",
-		sort_name = "Kinyarwanda",
-		font = "default"
-	},
-
-	si = {
-		name = "සිංහල",
-		sort_name = "Simhala",
-		font = "sinhala"
-	},
-
-	sk = {
-		name = "Slovenčina",
-		sort_name = "Slovencina",
-		font = "default"
-	},
-
-	sl = {
-		name = "Slovenski jezik",
-		sort_name = "Slovenski",
-		font = "default"
-	},
-
-	sr = {
-		name = "српски",
-		sort_name = "Srpski",
-		font = "default"
-	},
-
-	sv = {
-		name = "Svenska",
-		sort_name = "Svenska",
-		font = "default"
-	},
-
-	tr = {
-		name = "Türkçe",
-		sort_name = "Turkce",
-		font = "default"
-	},
-
-	uk = {
-		name = "українська мова",
-		sort_name = "Ukrayinska",
-		font = "default"
-	},
-
-	vi = {
-		name = "Tiếng Việt",
-		sort_name = "Viet",
-		font = "default"
-	},
-
-	zh_CN = {
-		name = "简体中文",
-		sort_name = "Jianti Zhongwen",
-		font = "cjk"
-	},
-
-	zh_TW = {
-		name = "繁體中文",
-		sort_name = "Fanti Zhongwen",
-		font = "cjk"
-	},
+   -- Locales are identified by their ISO code.
+   en = {
+      -- Used to display the locale in the Options menu.
+      name = "English",
+
+      -- Defines the language's position on the list in the Options menu.
+      sort_name = "English",
+
+      -- The font set used, including the script's direction. See i18n/fonts.lua
+      font = "default"
+   },
+
+   ar = {
+      name = "العربية",
+      sort_name = "Al-ʿArabiyyah",
+      font = "arabic"
+   },
+
+   ast = {
+      name = "Asturianu",
+      sort_name = "Asturianu",
+      font = "default"
+   },
+
+   bg = {
+      name = "Български",
+      sort_name = "Balgarski",
+      font = "default"
+   },
+
+   ca = {
+      name = "Català",
+      sort_name = "Catala",
+      font = "default"
+   },
+
+   cs = {
+      name = "Čeština",
+      sort_name = "Cestina",
+      font = "default"
+   },
+
+   da = {
+      name = "Dansk",
+      sort_name = "Dansk",
+      font = "default"
+   },
+
+   de = {
+      name = "Deutsch",
+      sort_name = "Deutsch",
+      font = "default"
+   },
+
+   el = {
+      name = "Ελληνικά",
+      sort_name = "Ellinika",
+      font = "default"
+   },
+
+   en_AU = {
+      name = "Australian English",
+      sort_name = "English (Australia)",
+      font = "default"
+   },
+
+   en_CA = {
+      name = "Canadian English",
+      sort_name = "English (Canada)",
+      font = "default"
+   },
+
+   en_GB = {
+      name = "British English",
+      sort_name = "English (Great Britain)",
+      font = "default"
+   },
+
+   en_US = {
+      name = "US American English",
+      sort_name = "English (USA)",
+      font = "default"
+   },
+
+   eo = {
+      name = "Esperanto",
+      sort_name = "Esperanto",
+      font = "default"
+   },
+
+   es = {
+      name = "Español",
+      sort_name = "Espanol",
+      font = "default"
+   },
+
+   es_CO = {
+      name = "Español colombiano",
+      sort_name = "Espanol colombiano",
+      font = "default"
+   },
+
+   et = {
+      name = "Eesti keel",
+      sort_name = "Eesti keel",
+      font = "default"
+   },
+
+   eu = {
+      name = "Euskara",
+      sort_name = "Euskara",
+      font = "default"
+   },
+
+   fa = {
+      name = "فارسی",
+      sort_name = "Farsi",
+      font = "arabic"
+   },
+
+   fi = {
+      name = "Suomi",
+      sort_name = "Suomi",
+      font = "default"
+   },
+
+   fr = {
+      name = "Français",
+      sort_name = "Francais",
+      font = "default"
+   },
+
+   gd = {
+      name = "Gàidhlig",
+      sort_name = "Gaidhlig",
+      font = "default"
+   },
+
+   gl = {
+      name = "Galego",
+      sort_name = "Galego",
+      font = "default"
+   },
+
+   he = {
+      name = "עברית",
+      sort_name = "Ivrit",
+      font = "hebrew"
+   },
+
+   hi = {
+      name = "हिन्दी",
+      sort_name = "Hindi",
+      font = "devanagari"
+   },
+
+   hr = {
+      name = "Hrvatski",
+      sort_name = "Hrvatski",
+      font = "default"
+   },
+
+   hu = {
+      name = "Magyar",
+      sort_name = "Magyar",
+      font = "default"
+   },
+
+   ia = {
+      name = "Interlingua",
+      sort_name = "Interlingua",
+      font = "default"
+   },
+
+   id = {
+      name = "Bahasa Indonesia",
+      sort_name = "Indonesia",
+      font = "default"
+   },
+
+   it = {
+      name = "Italiano",
+      sort_name = "Italiano",
+      font = "default"
+   },
+
+   ja = {
+      name = "日本語",
+      sort_name = "Nihongo",
+      font = "cjk"
+   },
+
+   jv = {
+      name = "Basa jawa",
+      sort_name = "Jawa",
+      font = "default"
+   },
+
+   ka = {
+      name = "ქართული",
+      sort_name = "Kartuli",
+      font = "default"
+   },
+
+   ko = {
+      name = "한국어",
+      sort_name = "Hangug-eo",
+      font = "cjk"
+   },
+
+   la = {
+      name = "Lingua latīna",
+      sort_name = "Latina",
+      font = "default"
+   },
+
+   lt = {
+      name = "Lietuvių",
+      sort_name = "Lietuviu",
+      font = "default"
+   },
+
+   mr = {
+      name = "मराठी",
+      sort_name = "Marathi",
+      font = "devanagari"
+   },
+
+   ms = {
+      name = "بهاس ملايو",
+      sort_name = "Melayu",
+      font = "arabic"
+   },
+
+   my = {
+      name = "မြန်မာစ",
+      sort_name = "Myanma",
+      font = "myanmar"
+   },
+
+   nb = {
+      name = "Norsk (Bokmål)",
+      sort_name = "Norsk (Bokmal)",
+      font = "default"
+   },
+
+   nds = {
+      name = "Plattdütsch",
+      sort_name = "Plattdutsch",
+      font = "default"
+   },
+
+   nl = {
+      name = "Nederlands",
+      sort_name = "Nederlands",
+      font = "default"
+   },
+
+   nn = {
+      name = "Nynorsk",
+      sort_name = "Norsk (Nynorsk)",
+      font = "default"
+   },
+
+   oc = {
+      name = "Occitan",
+      sort_name = "Occitan",
+      font = "default"
+   },
+
+   pl = {
+      name = "Polski",
+      sort_name = "Polski",
+      font = "default"
+   },
+
+   pt = {
+      name = "Português",
+      sort_name = "Portugues",
+      font = "default"
+   },
+
+   pt_BR = {
+      name = "Português do Brasil",
+      sort_name = "Portugues (Brasil)",
+      font = "default"
+   },
+
+   ro = {
+      name = "Română",
+      sort_name = "Romana",
+      font = "default"
+   },
+
+   ru = {
+      name = "Русский",
+      sort_name = "Russky",
+      font = "default"
+   },
+
+   rw = {
+      name = "Kinyarwanda",
+      sort_name = "Kinyarwanda",
+      font = "default"
+   },
+
+   si = {
+      name = "සිංහල",
+      sort_name = "Simhala",
+      font = "sinhala"
+   },
+
+   sk = {
+      name = "Slovenčina",
+      sort_name = "Slovencina",
+      font = "default"
+   },
+
+   sl = {
+      name = "Slovenski jezik",
+      sort_name = "Slovenski",
+      font = "default"
+   },
+
+   sr = {
+      name = "српски",
+      sort_name = "Srpski",
+      font = "default"
+   },
+
+   sv = {
+      name = "Svenska",
+      sort_name = "Svenska",
+      font = "default"
+   },
+
+   tr = {
+      name = "Türkçe",
+      sort_name = "Turkce",
+      font = "default"
+   },
+
+   uk = {
+      name = "українська мова",
+      sort_name = "Ukrayinska",
+      font = "default"
+   },
+
+   vi = {
+      name = "Tiếng Việt",
+      sort_name = "Viet",
+      font = "default"
+   },
+
+   zh_CN = {
+      name = "简体中文",
+      sort_name = "Jianti Zhongwen",
+      font = "cjk"
+   },
+
+   zh_TW = {
+      name = "繁體中文",
+      sort_name = "Fanti Zhongwen",
+      font = "cjk"
+   },
 }

=== modified file 'scripting/widelands/multiplayer_help.lua'
--- scripting/widelands/multiplayer_help.lua	2015-10-13 11:47:46 +0000
+++ scripting/widelands/multiplayer_help.lua	2015-11-20 18:28:22 +0000
@@ -1,32 +1,32 @@
 include "scripting/formatting.lua"
 
 function picture_li(imagepath, text)
-	return "<rt image=" .. imagepath .. " image-align=left>" .. p(text) .. "</rt>"
+   return "<rt image=" .. imagepath .. " image-align=left>" .. p(text) .. "</rt>"
 end
 
 return {
    func = function()
-		set_textdomain("widelands")
-		local result = rt(h1(_"Multiplayer Game Setup"))
-		result = result .. rt(p(_"You are in the multiplayer launch game menu."))
-
-
-		result = result .. rt(h2(_"Client settings"))
-		result = result .. rt(p(_"On the left side is a list of all clients including you. You can set your role with the button following your nickname. Available roles are:"))
-		result = result .. picture_li("pics/genstats_enable_plr_08.png", _"The player with the color of the flag. If more than one client selected the same color, these share control over the player (‘shared kingdom mode’).")
-		result = result .. picture_li("pics/menu_tab_watch.png", _"Spectator mode, meaning you can see everything, but cannot control any player")
-
-		result = result .. rt(h2(_"Player settings"))
-		result = result .. rt(p(_"In the middle are the settings for the players. To start a game, each player must be one of the following:"))
-		result = result .. picture_li("pics/genstats_nrworkers.png", _"Connected to one or more clients (see ‘Client settings’).")
-		result = result .. picture_li("pics/ai_Normal.png", _"Connected to a computer player (the face in the picture as well as the mouse hover texts indicate the strength of the currently selected computer player).")
-		result = result .. picture_li("pics/shared_in.png", _"Set as shared in starting position for another player.")
-		result = result .. picture_li("pics/stop.png", _"Closed.")
-		result = result .. rt(p(_"The latter three can only be set by the hosting client by left-clicking the ‘type’ button of a player. Hosting players can also set the initialization of each player (the set of buildings, wares and workers the player starts with) and the tribe and team for computer players"))
-		result = result .. rt(p(_"Every client connected to a player (the set ‘role’ player) can set the tribe and the team for that player"))
-
-		result = result .. rt(h2(_"Map details"))
-		result = result .. rt(p(_"You can see information about the selected map or savegame on the right-hand side. A button next to the map name allows the host to change to a different map. Furthermore, the host is able to set a specific win condition, and finally can start the game as soon as all players are set up."))
-		return result
+      set_textdomain("widelands")
+      local result = rt(h1(_"Multiplayer Game Setup"))
+      result = result .. rt(p(_"You are in the multiplayer launch game menu."))
+
+
+      result = result .. rt(h2(_"Client settings"))
+      result = result .. rt(p(_"On the left side is a list of all clients including you. You can set your role with the button following your nickname. Available roles are:"))
+      result = result .. picture_li("pics/genstats_enable_plr_08.png", _"The player with the color of the flag. If more than one client selected the same color, these share control over the player (‘shared kingdom mode’).")
+      result = result .. picture_li("pics/menu_tab_watch.png", _"Spectator mode, meaning you can see everything, but cannot control any player")
+
+      result = result .. rt(h2(_"Player settings"))
+      result = result .. rt(p(_"In the middle are the settings for the players. To start a game, each player must be one of the following:"))
+      result = result .. picture_li("pics/genstats_nrworkers.png", _"Connected to one or more clients (see ‘Client settings’).")
+      result = result .. picture_li("pics/ai_Normal.png", _"Connected to a computer player (the face in the picture as well as the mouse hover texts indicate the strength of the currently selected computer player).")
+      result = result .. picture_li("pics/shared_in.png", _"Set as shared in starting position for another player.")
+      result = result .. picture_li("pics/stop.png", _"Closed.")
+      result = result .. rt(p(_"The latter three can only be set by the hosting client by left-clicking the ‘type’ button of a player. Hosting players can also set the initialization of each player (the set of buildings, wares and workers the player starts with) and the tribe and team for computer players"))
+      result = result .. rt(p(_"Every client connected to a player (the set ‘role’ player) can set the tribe and the team for that player"))
+
+      result = result .. rt(h2(_"Map details"))
+      result = result .. rt(p(_"You can see information about the selected map or savegame on the right-hand side. A button next to the map name allows the host to change to a different map. Furthermore, the host is able to set a specific win condition, and finally can start the game as soon as all players are set up."))
+      return result
    end
 }

=== modified file 'scripting/win_conditions/artifacts.lua'
--- scripting/win_conditions/artifacts.lua	2015-11-18 08:35:44 +0000
+++ scripting/win_conditions/artifacts.lua	2015-11-20 18:28:22 +0000
@@ -17,165 +17,164 @@
 local wc_version = 1
 local wc_desc = _ "Search for ancient artifacts. Once all of them are found, the team who owns most of them will win the game."
 return {
-	name = wc_name,
-	description = wc_desc,
-	map_tags = { "artifacts" }, -- Map tags needed so that this win condition will be available only for suitable maps
-	func = function()
-		-- set the objective with the game type for all players
-		broadcast_objective("win_condition", wc_descname, wc_desc)
-
-		local function _getkey(p)
-			if p.team == 0 then
-				-- Players without a team have team number 0. To distinguish between them, we use a special key.
-				return "player" .. p.number
-			else
-				return p.team
-			end
-		end
-
-		local artifact_fields = {}
-		local map = wl.Game().map
-
-		local i = 1
-		-- find all artifacts
-		for x=0, map.width-1 do
-			for y=0, map.height-1 do
-				local field = map:get_field(x,y)
-				if field.immovable and field.immovable:has_attribute("artifact") then
-					-- this assumes that the immovable has size small or medium, i.e. only occupies one field
-					artifact_fields[i] = map:get_field(x,y)
-					i = i + 1
-				end
-			end
-		end
-
-		local plrs = wl.Game().players
-		if #artifact_fields == 0 then
-			for idx, plr in ipairs(plrs) do
-				send_message(plr, _"No Artifacts", rt(p(_"There are no artifacts on this map. This should not happen. Please file a bug report on https://launchpad.net/widelands and specify your Widelands version and the map you tried to load.")), {popup = true})
-			end
-			return
-		end
-
-		local found_artifact = {
-			title = _"New Artifact Found",
-			body = rt(p(_[[Your team found a new artifact.]]))
-		}
-		local lost_artifact = {
-			title = _"Artifact Lost",
-			body = rt(p(_[[One of your team’s artifacts was stolen by an enemy.]]))
-		}
-		local stole_artifact = {
-			title = _"Artifact Conquered",
-			body = rt(p(_[[Your team stole an artifact from an enemy.]]))
-		}
-
-		local function _broadcast_to_team(player, msg, f)
-			if player.team == 0 then
-				player:send_message(msg.title, msg.body, {msg, field = f})
-			else
-				for idx, p in ipairs(plrs) do
-					if p.team == player.team then
-						p:send_message(msg.title, msg.body, {msg, field = f})
-					end
-				end
-			end
-		end
-
-		-- Iterate all players, if one is defeated, remove him
-		-- from the list, send him a defeated message and give him full vision
-		-- Check if all artifacts have been found (i.e. controlled by a player)
-		local artifacts_owner = {}
-		repeat
-			sleep(1000)
-			check_player_defeated(plrs, lost_game.title, lost_game.body, wc_descname, wc_version)
-			local all_artifacts_found = true
-			for idx, f in ipairs(artifact_fields) do
-				if f.owner then
-					if artifacts_owner[f] then
-						if f.owner.team ~= artifacts_owner[f].team or (f.owner.team == 0 and f.owner.number ~= artifacts_owner[f].number) then
-							-- a new team has this artifact
-							_broadcast_to_team(f.owner, stole_artifact, f)
-							_broadcast_to_team(artifacts_owner[f], lost_artifact, f)
-							artifacts_owner[f] = f.owner
-						end
-					else
-						_broadcast_to_team(f.owner, found_artifact, f)
-						artifacts_owner[f] = f.owner
-					end
-				else
-					all_artifacts_found = false
-				end
-			end
-		until all_artifacts_found
-
-		-- All artifacts are found, the game is over.
-		local artifacts_per_team = {}
-		for idx, p in ipairs(plrs) do
-			artifacts_per_team[_getkey(p)] = 0
-		end
-
-		for idx, p in pairs(artifacts_owner) do
-			local key = _getkey(p)
-			artifacts_per_team[key] = artifacts_per_team[key] + 1
-		end
-
-		local function _max(a)
-			local max = -1
-			for k, v in pairs(a) do
-				if v > max then max = v end
-			end
-			return max
-		end
-
-		local max_artifacts = _max(artifacts_per_team)
-
-		local function _get_member_names(t)
-			local s = ""
-			for idx, p in ipairs(t) do
-				if s == "" then
-					s = p.name
-				else
-					-- TRANSLATORS: This is used to seperate players’ names in a list, e.g. "Steve, Robert, David"
-					s = s .. _", " .. p.name
-				end
-			end
-			return s
-		end
-
-		local teams = {}
-		local msg = _"Overview:" .. "\n"
-		for idx, p in ipairs(plrs) do
-			if p.team == 0 then
-				local artifacts = (ngettext("%i artifact", "%i artifacts", artifacts_per_team[_getkey(p)])):format(artifacts_per_team[_getkey(p)])
-				msg = msg .. "\n" .. (_"%1$s owns %2$s."):bformat(p.name, artifacts)
-			else
-				if teams[p.team] then
-					teams[p.team][#teams[p.team]+1] = p
-				else
-					teams[p.team] = {p}
-				end
-			end
-		end
-		for idx, t in ipairs(teams) do
-			local members = _get_member_names(t)
-			local artifacts = (ngettext("%i artifact", "%i artifacts", artifacts_per_team[_getkey(t[1])])):format(artifacts_per_team[_getkey(t[1])])
-			-- TRANSLATORS: %1$i is the team's number; %2$s is a list of team members (e.g. "Steve, Robert, David"), %3$s is something like "x artifact(s)"
-			msg = msg .. "\n" .. (_"Team %1$i (%2$s) owns %3$s."):bformat(t[1].team, members, artifacts)
-		end
-
-
-		for idx, p in ipairs(plrs) do
-			local key = _getkey(p)
-			-- If two or more teams have the same amount of artifacts, they are all considered winners.
-			if artifacts_per_team[key] == max_artifacts then
-				p:send_message(won_game_over.title, won_game_over.body .. "\n\n" .. msg)
-				wl.game.report_result(p, 1, make_extra_data(p, wc_descname, wc_version, {score=artifacts_per_team[key]}))
-			else
-				p:send_message(lost_game_over.title, lost_game_over.body .. "\n\n" .. msg)
-				wl.game.report_result(p, 0, make_extra_data(p, wc_descname, wc_version, {score=artifacts_per_team[key]}))
-			end
-		end
-	end,
+   name = wc_name,
+   description = wc_desc,
+   map_tags = { "artifacts" }, -- Map tags needed so that this win condition will be available only for suitable maps
+   func = function()
+      -- set the objective with the game type for all players
+      broadcast_objective("win_condition", wc_descname, wc_desc)
+
+      local function _getkey(p)
+         if p.team == 0 then
+            -- Players without a team have team number 0. To distinguish between them, we use a special key.
+            return "player" .. p.number
+         else
+            return p.team
+         end
+      end
+
+      local artifact_fields = {}
+      local map = wl.Game().map
+
+      local i = 1
+      -- find all artifacts
+      for x=0, map.width-1 do
+         for y=0, map.height-1 do
+            local field = map:get_field(x,y)
+            if field.immovable and field.immovable:has_attribute("artifact") then
+               -- this assumes that the immovable has size small or medium, i.e. only occupies one field
+               artifact_fields[i] = map:get_field(x,y)
+               i = i + 1
+            end
+         end
+      end
+
+      local plrs = wl.Game().players
+      if #artifact_fields == 0 then
+         for idx, plr in ipairs(plrs) do
+            send_message(plr, _"No Artifacts", rt(p(_"There are no artifacts on this map. This should not happen. Please file a bug report on https://launchpad.net/widelands and specify your Widelands version and the map you tried to load.")), {popup = true})
+         end
+         return
+      end
+
+      local found_artifact = {
+         title = _"New Artifact Found",
+         body = rt(p(_[[Your team found a new artifact.]]))
+      }
+      local lost_artifact = {
+         title = _"Artifact Lost",
+         body = rt(p(_[[One of your team’s artifacts was stolen by an enemy.]]))
+      }
+      local stole_artifact = {
+         title = _"Artifact Conquered",
+         body = rt(p(_[[Your team stole an artifact from an enemy.]]))
+      }
+
+      local function _broadcast_to_team(player, msg, f)
+         if player.team == 0 then
+            player:send_message(msg.title, msg.body, {msg, field = f})
+         else
+            for idx, p in ipairs(plrs) do
+               if p.team == player.team then
+                  p:send_message(msg.title, msg.body, {msg, field = f})
+               end
+            end
+         end
+      end
+
+      -- Iterate all players, if one is defeated, remove him
+      -- from the list, send him a defeated message and give him full vision
+      -- Check if all artifacts have been found (i.e. controlled by a player)
+      local artifacts_owner = {}
+      repeat
+         sleep(1000)
+         check_player_defeated(plrs, lost_game.title, lost_game.body, wc_descname, wc_version)
+         local all_artifacts_found = true
+         for idx, f in ipairs(artifact_fields) do
+            if f.owner then
+               if artifacts_owner[f] then
+                  if f.owner.team ~= artifacts_owner[f].team or (f.owner.team == 0 and f.owner.number ~= artifacts_owner[f].number) then
+                     -- a new team has this artifact
+                     _broadcast_to_team(f.owner, stole_artifact, f)
+                     _broadcast_to_team(artifacts_owner[f], lost_artifact, f)
+                     artifacts_owner[f] = f.owner
+                  end
+               else
+                  _broadcast_to_team(f.owner, found_artifact, f)
+                  artifacts_owner[f] = f.owner
+               end
+            else
+               all_artifacts_found = false
+            end
+         end
+      until all_artifacts_found
+
+      -- All artifacts are found, the game is over.
+      local artifacts_per_team = {}
+      for idx, p in ipairs(plrs) do
+         artifacts_per_team[_getkey(p)] = 0
+      end
+
+      for idx, p in pairs(artifacts_owner) do
+         local key = _getkey(p)
+         artifacts_per_team[key] = artifacts_per_team[key] + 1
+      end
+
+      local function _max(a)
+         local max = -1
+         for k, v in pairs(a) do
+            if v > max then max = v end
+         end
+         return max
+      end
+
+      local max_artifacts = _max(artifacts_per_team)
+
+      local function _get_member_names(t)
+         local s = ""
+         for idx, p in ipairs(t) do
+            if s == "" then
+               s = p.name
+            else
+               -- TRANSLATORS: This is used to seperate players’ names in a list, e.g. "Steve, Robert, David"
+               s = s .. _", " .. p.name
+            end
+         end
+         return s
+      end
+
+      local teams = {}
+      local msg = _"Overview:" .. "\n"
+      for idx, p in ipairs(plrs) do
+         if p.team == 0 then
+            local artifacts = (ngettext("%i artifact", "%i artifacts", artifacts_per_team[_getkey(p)])):format(artifacts_per_team[_getkey(p)])
+            msg = msg .. "\n" .. (_"%1$s owns %2$s."):bformat(p.name, artifacts)
+         else
+            if teams[p.team] then
+               teams[p.team][#teams[p.team]+1] = p
+            else
+               teams[p.team] = {p}
+            end
+         end
+      end
+      for idx, t in ipairs(teams) do
+         local members = _get_member_names(t)
+         local artifacts = (ngettext("%i artifact", "%i artifacts", artifacts_per_team[_getkey(t[1])])):format(artifacts_per_team[_getkey(t[1])])
+         -- TRANSLATORS: %1$i is the team's number; %2$s is a list of team members (e.g. "Steve, Robert, David"), %3$s is something like "x artifact(s)"
+         msg = msg .. "\n" .. (_"Team %1$i (%2$s) owns %3$s."):bformat(t[1].team, members, artifacts)
+      end
+
+
+      for idx, p in ipairs(plrs) do
+         local key = _getkey(p)
+         -- If two or more teams have the same amount of artifacts, they are all considered winners.
+         if artifacts_per_team[key] == max_artifacts then
+            p:send_message(won_game_over.title, won_game_over.body .. "\n\n" .. msg)
+            wl.game.report_result(p, 1, make_extra_data(p, wc_descname, wc_version, {score=artifacts_per_team[key]}))
+         else
+            p:send_message(lost_game_over.title, lost_game_over.body .. "\n\n" .. msg)
+            wl.game.report_result(p, 0, make_extra_data(p, wc_descname, wc_version, {score=artifacts_per_team[key]}))
+         end
+      end
+   end,
 }
-

=== modified file 'scripting/win_conditions/init.lua'
--- scripting/win_conditions/init.lua	2015-11-06 13:42:41 +0000
+++ scripting/win_conditions/init.lua	2015-11-20 18:28:22 +0000
@@ -2,12 +2,12 @@
 dirname = path.dirname(__file__)
 
 return {
-	dirname .. "collectors.lua",
-	dirname .. "wood_gnome.lua",
-	dirname .. "artifacts.lua",
-	dirname .. "territorial_time.lua",
-	dirname .. "territorial_lord.lua",
-	dirname .. "defeat_all.lua",
-	dirname .. "endless_game.lua",
-	dirname .. "endless_game_fogless.lua",
+   dirname .. "collectors.lua",
+   dirname .. "wood_gnome.lua",
+   dirname .. "artifacts.lua",
+   dirname .. "territorial_time.lua",
+   dirname .. "territorial_lord.lua",
+   dirname .. "defeat_all.lua",
+   dirname .. "endless_game.lua",
+   dirname .. "endless_game_fogless.lua",
 }

=== modified file 'src/graphic/animation.cc'
--- src/graphic/animation.cc	2015-11-06 12:19:22 +0000
+++ src/graphic/animation.cc	2015-11-20 18:28:22 +0000
@@ -25,10 +25,6 @@
 #include <memory>
 
 #include <boost/algorithm/string/replace.hpp>
-#include <boost/algorithm/string/split.hpp>
-#include <boost/algorithm/string/trim.hpp>
-#include <boost/format.hpp>
-#include <boost/lexical_cast.hpp>
 
 #include "base/i18n.h"
 #include "base/log.h"
@@ -50,54 +46,6 @@
 
 
 namespace  {
-
-/// A class that makes iteration over filename_?.png templates easy.
-class NumberGlob {
-public:
-	NumberGlob(const std::string& pictmp);
-
-	/// If there is a next filename, puts it in 's' and returns true.
-	bool next(std::string* s);
-
-private:
-	std::string templ_;
-	std::string fmtstr_;
-	std::string replstr_;
-	uint32_t cur_;
-	uint32_t max_;
-
-	DISALLOW_COPY_AND_ASSIGN(NumberGlob);
-};
-
-/**
- * Implemantation for NumberGlob.
- */
-NumberGlob::NumberGlob(const string& pictmp) : templ_(pictmp), cur_(0) {
-	int nchars = count(pictmp.begin(), pictmp.end(), '?');
-	fmtstr_ = "%0" + boost::lexical_cast<string>(nchars) + "i";
-
-	max_ = 1;
-	for (int i = 0; i < nchars; ++i) {
-		max_ *= 10;
-		replstr_ += "?";
-	}
-	max_ -= 1;
-}
-
-bool NumberGlob::next(string* s) {
-	if (cur_ > max_)
-		return false;
-
-	if (max_) {
-		*s = boost::replace_last_copy(templ_, replstr_, (boost::format(fmtstr_) % cur_).str());
-	} else {
-		*s = templ_;
-	}
-	++cur_;
-	return true;
-}
-
-
 // Parses an array { 12, 23 } into a point.
 void get_point(const LuaTable& table, Point* p) {
 	std::vector<int> pts = table.array_entries<int>();
@@ -174,53 +122,27 @@
 			play_once_ = table.get_bool("play_once");
 		}
 
-		const std::string templatedirname = table.get_string("directory");
-		const std::string templatefilename = table.get_string("template");
-
-		//  In the filename template, the last sequence of '?' characters (if any)
-		//  is replaced with a number, for example the template "idle_??" is
-		//  replaced with "idle_00". Then the code looks for a PNG file with that
-		//  name, increments the number and continues on until it cannot find any
-		//  file. Then it is assumed that there are no more frames in the animation.
-		std::string picnametempl = templatedirname + templatefilename;
-
-		// Strip the .png extension if it has one.
-		boost::replace_all(picnametempl, ".png", "");
-
-		// TODO(GunChleoc): NumberGlob could go away if you'd use
-		// path.list_directory from Lua and we'd know earlier which files will be
-		// used.
-		NumberGlob glob(picnametempl);
-		string filename_wo_ext;
-		while (glob.next(&filename_wo_ext)) {
-			const std::string filename = filename_wo_ext + ".png";
-			if (!g_fs->file_exists(filename)) {
-				break;
-			}
-			image_files_.push_back(filename);
-
-			const std::string pc_filename = filename_wo_ext + "_pc.png";
-			if (g_fs->file_exists(pc_filename)) {
-				hasplrclrs_ = true;
-				pc_mask_image_files_.push_back(pc_filename);
-			} else if (hasplrclrs_) {
-				throw wexception("Animation in directory %s is missing player color file: %s",
-									  templatedirname.c_str(), pc_filename.c_str());
-			}
-		}
+		image_files_ = table.get_table("pictures")->array_entries<std::string>();
 
 		if (image_files_.empty()) {
-			throw wexception("Animation %s without pictures in directory %s. "
-								  "Make sure that the directory has a trailing slash. "
-								  "The template should look similar to this: idle_?? for idle_00.png etc.",
-								  templatefilename.c_str(), templatedirname.c_str());
+			throw wexception("Animation without pictures. The template should look similar to this:"
+								  " 'directory/idle_??.png' for 'directory/idle_00.png' etc.");
 		} else if (table.has_key("fps")) {
 			if (image_files_.size() == 1) {
-				throw wexception("Animation %s with one picture in directory %s must not have 'fps'",
-									  templatefilename.c_str(), templatedirname.c_str());
+				throw wexception("Animation with one picture %s must not have 'fps'", image_files_[0].c_str());
 			}
 			frametime_ = 1000 / get_positive_int(table, "fps");
 		}
+
+		for (std::string image_file : image_files_) {
+			boost::replace_all(image_file, ".png", "_pc.png");
+			if (g_fs->file_exists(image_file)) {
+				hasplrclrs_ = true;
+				pc_mask_image_files_.push_back(image_file);
+			} else if (hasplrclrs_) {
+				throw wexception("Animation is missing player color file: %s", image_file.c_str());
+			}
+		}
 		assert(!image_files_.empty());
 		assert(pc_mask_image_files_.size() == image_files_.size() || pc_mask_image_files_.empty());
 

=== modified file 'src/scripting/CMakeLists.txt'
--- src/scripting/CMakeLists.txt	2015-11-01 10:11:56 +0000
+++ src/scripting/CMakeLists.txt	2015-11-20 18:28:22 +0000
@@ -64,7 +64,6 @@
     lua_path.h
     run_script.cc
     run_script.h
-  USES_BOOST_REGEX
   DEPENDS
     base_i18n
     build_info

=== modified file 'src/scripting/lua_path.cc'
--- src/scripting/lua_path.cc	2015-03-01 09:21:20 +0000
+++ src/scripting/lua_path.cc	2015-11-20 18:28:22 +0000
@@ -19,11 +19,64 @@
 
 #include "scripting/lua_path.h"
 
-#include <boost/regex.hpp>
+#include <boost/algorithm/string/replace.hpp>
+#include <boost/format.hpp>
+#include <boost/lexical_cast.hpp>
 
+#include "base/macros.h"
 #include "helper.h"
 #include "io/filesystem/layered_filesystem.h"
 
+namespace {
+
+
+/// A class that makes iteration over filename_?.png templates easy.
+class NumberGlob {
+public:
+	NumberGlob(const std::string& file_template);
+
+	/// If there is a next filename, puts it in 's' and returns true.
+	bool next(std::string* s);
+
+private:
+	std::string template_;
+	std::string format_;
+	std::string to_replace_;
+	uint32_t current_;
+	uint32_t max_;
+
+	DISALLOW_COPY_AND_ASSIGN(NumberGlob);
+};
+
+/**
+ * Implemantation for NumberGlob.
+ */
+NumberGlob::NumberGlob(const std::string& file_template) : template_(file_template), current_(0) {
+	int nchars = count(file_template.begin(), file_template.end(), '?');
+	format_ = "%0" + boost::lexical_cast<std::string>(nchars) + "i";
+
+	max_ = 1;
+	for (int i = 0; i < nchars; ++i) {
+		max_ *= 10;
+		to_replace_ += "?";
+	}
+	max_ -= 1;
+}
+
+bool NumberGlob::next(std::string* s) {
+	if (current_ > max_)
+		return false;
+
+	if (max_) {
+		*s = boost::replace_last_copy(template_, to_replace_, (boost::format(format_) % current_).str());
+	} else {
+		*s = template_;
+	}
+	++current_;
+	return true;
+}
+} // namespace
+
 namespace LuaPath {
 
 /* RST
@@ -78,34 +131,30 @@
 
 
 /* RST
-.. function:: list_directory(directory[, regexp])
-
-	Lists all files and directories in the given directory. If regexp is not
-	:const:`nil` only the files whose basename matches the regular expression
-	will be returned. The method never returns "." or ".." in its results.
-
-	:type directory: class:`string`
-	:arg directory: The directory to list files for.
-	:type regexp: class:`string`
-	:arg regexp: The regular expression each files must match.
-
-   :returns: An :class:`array` of filenames in lexicographical order.
+.. function:: list_files(filename_template)
+
+	Lists the full path for all files that fit the template pattern.
+	Use ? as placeholders for numbers, e.g. 'directory/idle_??.png' will list
+	'directory/idle_00.png', 'directory/idle_01.png' etc, and
+	'directory/idle.png' will just list 'directory/idle.png'.
+
+	:type filename_template: class:`string`
+	:arg filename_template: The filename template to use for the listing.
+
+	:returns: An :class:`array` of file paths in lexicographical order.
 */
-static int L_list_directory(lua_State * L) {
-	const std::string dir = luaL_checkstring(L, 1);
-	std::set<std::string> files = g_fs->list_directory(dir);
-
-	if (lua_gettop(L) > 1) {
-		boost::regex re(luaL_checkstring(L, 2));
-		files = filter(files, [&re](const std::string& filename) {
-			return boost::regex_match(FileSystem::fs_filename(filename.c_str()), re);
-		});
-	}
-
+static int L_list_files(lua_State * L) {
+	std::string filename_template = luaL_checkstring(L, 1);
+
+	NumberGlob glob(filename_template);
+	std::string filename;
 	lua_newtable(L);
 	int idx = 1;
 
-	for (const std::string& filename : files) {
+	while (glob.next(&filename)) {
+		if (!g_fs->file_exists(filename)) {
+			break;
+		}
 		lua_pushint32(L, idx++);
 		lua_pushstring(L, filename);
 		lua_settable(L, -3);
@@ -116,7 +165,7 @@
 const static struct luaL_Reg path [] = {
 	{"basename", &L_basename},
 	{"dirname", &L_dirname},
-	{"list_directory", &L_list_directory},
+	{"list_files", &L_list_files},
 	{nullptr, nullptr}
 };
 

=== modified file 'test/maps/lua_testsuite.wmf/scripting/path.lua'
--- test/maps/lua_testsuite.wmf/scripting/path.lua	2015-10-31 12:11:44 +0000
+++ test/maps/lua_testsuite.wmf/scripting/path.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,13 @@
    return false
 end
 
-function path_test:test_list_directory()
-   assert_true(_array_contains(path.list_directory("/"), "world"))
-   assert_false(_array_contains(path.list_directory("/", "[^w].*"), "world"))
-   local specific = path.list_directory("/pics", "cursor\\.png")
-   assert_equal(#specific, 1)
-   assert_equal(specific[1], "pics/cursor.png")
-   local no_slash = path.list_directory("pics", "cursor\\.png")
-   assert_equal(#no_slash, 1)
-   assert_equal(no_slash[1], "pics/cursor.png")
+function path_test:test_list_files()
+   local dirname = "tribes/buildings/productionsites/barbarians/lumberjacks_hut/"
+   assert_equal(4, #path.list_files(dirname .. "build_??.png"))
+   assert_equal("tribes/buildings/productionsites/barbarians/lumberjacks_hut/build_00.png", path.list_files(dirname .. "build_??.png")[1])
+   assert_equal("tribes/buildings/productionsites/barbarians/lumberjacks_hut/build_03.png", path.list_files(dirname .. "build_??.png")[4])
+   assert_equal(1, #path.list_files(dirname .. "menu.png"))
+   assert_equal("tribes/buildings/productionsites/barbarians/lumberjacks_hut/menu.png", path.list_files(dirname .. "menu.png")[1])
+   assert_equal(0, #path.list_files(dirname .. "foo.png"))
+   assert_equal(1, #path.list_files(dirname .. "init.lua"))
 end

=== modified file 'tribes/atlanteans.lua'
--- tribes/atlanteans.lua	2015-11-02 19:29:03 +0000
+++ tribes/atlanteans.lua	2015-11-20 18:28:22 +0000
@@ -6,14 +6,12 @@
    animations = {
       -- Some blue fires would be fine, but just an idea
       frontier = {
-         template = "frontier_??",
-         directory = dirname .. "images/atlanteans/",
+         pictures = path.list_files(dirname .. "images/atlanteans/frontier_??.png"),
          hotspot = { 3, 12 },
       },
       flag = {
          -- Not just a plain color, maybe a cross or some stripes
-         template = "flag_??",
-         directory = dirname .. "images/atlanteans/",
+         pictures = path.list_files(dirname .. "images/atlanteans/flag_??.png"),
          hotspot = { 15, 35 },
          fps = 10
       }

=== modified file 'tribes/barbarians.lua'
--- tribes/barbarians.lua	2015-10-31 12:11:44 +0000
+++ tribes/barbarians.lua	2015-11-20 18:28:22 +0000
@@ -5,13 +5,11 @@
 
    animations = {
       frontier = {
-         template = "frontier_??",
-         directory = dirname .. "images/barbarians/",
+         pictures = path.list_files(dirname .. "images/barbarians/frontier_??.png"),
          hotspot = { 1, 19 },
       },
       flag = {
-         template = "flag_??",
-         directory = dirname .. "images/barbarians/",
+         pictures = path.list_files(dirname .. "images/barbarians/flag_??.png"),
          hotspot = { 10, 38 },
          fps = 5
       }

=== modified file 'tribes/buildings/militarysites/atlanteans/castle/init.lua'
--- tribes/buildings/militarysites/atlanteans/castle/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/atlanteans/castle/init.lua	2015-11-20 18:28:22 +0000
@@ -25,8 +25,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 91, 91 },
       }
    },

=== modified file 'tribes/buildings/militarysites/atlanteans/guardhall/init.lua'
--- tribes/buildings/militarysites/atlanteans/guardhall/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/atlanteans/guardhall/init.lua	2015-11-20 18:28:22 +0000
@@ -27,8 +27,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 58, 72 },
       }
    },

=== modified file 'tribes/buildings/militarysites/atlanteans/guardhouse/init.lua'
--- tribes/buildings/militarysites/atlanteans/guardhouse/init.lua	2015-11-02 19:29:03 +0000
+++ tribes/buildings/militarysites/atlanteans/guardhouse/init.lua	2015-11-20 18:28:22 +0000
@@ -25,8 +25,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 33, 41 },
       }
    },

=== modified file 'tribes/buildings/militarysites/atlanteans/tower/init.lua'
--- tribes/buildings/militarysites/atlanteans/tower/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/atlanteans/tower/init.lua	2015-11-20 18:28:22 +0000
@@ -31,8 +31,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 55, 60 },
       }
    },

=== modified file 'tribes/buildings/militarysites/atlanteans/tower_high/init.lua'
--- tribes/buildings/militarysites/atlanteans/tower_high/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/atlanteans/tower_high/init.lua	2015-11-20 18:28:22 +0000
@@ -21,8 +21,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 73 },
       }
    },

=== modified file 'tribes/buildings/militarysites/atlanteans/tower_small/init.lua'
--- tribes/buildings/militarysites/atlanteans/tower_small/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/atlanteans/tower_small/init.lua	2015-11-20 18:28:22 +0000
@@ -22,8 +22,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 42, 65 },
       }
    },

=== modified file 'tribes/buildings/militarysites/barbarians/barrier/init.lua'
--- tribes/buildings/militarysites/barbarians/barrier/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/barbarians/barrier/init.lua	2015-11-20 18:28:22 +0000
@@ -20,19 +20,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 44, 62 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 44, 62 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 44, 62 },
       }
    },

=== modified file 'tribes/buildings/militarysites/barbarians/citadel/init.lua'
--- tribes/buildings/militarysites/barbarians/citadel/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/barbarians/citadel/init.lua	2015-11-20 18:28:22 +0000
@@ -24,19 +24,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 102, 102 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 102, 102 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 102, 102 }
       }
    },

=== modified file 'tribes/buildings/militarysites/barbarians/fortress/init.lua'
--- tribes/buildings/militarysites/barbarians/fortress/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/barbarians/fortress/init.lua	2015-11-20 18:28:22 +0000
@@ -25,19 +25,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 103, 80 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 103, 80 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 103, 80 }
       }
    },

=== modified file 'tribes/buildings/militarysites/barbarians/sentry/init.lua'
--- tribes/buildings/militarysites/barbarians/sentry/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/barbarians/sentry/init.lua	2015-11-20 18:28:22 +0000
@@ -18,19 +18,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 39, 40 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 39, 40 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 39, 40 }
       }
    },

=== modified file 'tribes/buildings/militarysites/barbarians/tower/init.lua'
--- tribes/buildings/militarysites/barbarians/tower/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/barbarians/tower/init.lua	2015-11-20 18:28:22 +0000
@@ -22,19 +22,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 48, 84 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 48, 84 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 48, 84 }
       }
    },

=== modified file 'tribes/buildings/militarysites/empire/barrier/init.lua'
--- tribes/buildings/militarysites/empire/barrier/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/empire/barrier/init.lua	2015-11-20 18:28:22 +0000
@@ -33,8 +33,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 77 }
       }
    },

=== modified file 'tribes/buildings/militarysites/empire/blockhouse/init.lua'
--- tribes/buildings/militarysites/empire/blockhouse/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/empire/blockhouse/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 37, 58 }
       }
    },

=== modified file 'tribes/buildings/militarysites/empire/castle/init.lua'
--- tribes/buildings/militarysites/empire/castle/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/empire/castle/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 94, 106 }
       }
    },

=== modified file 'tribes/buildings/militarysites/empire/fortress/init.lua'
--- tribes/buildings/militarysites/empire/fortress/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/empire/fortress/init.lua	2015-11-20 18:28:22 +0000
@@ -27,13 +27,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 90, 105 }
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 90, 105 },
       }
    },

=== modified file 'tribes/buildings/militarysites/empire/outpost/init.lua'
--- tribes/buildings/militarysites/empire/outpost/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/empire/outpost/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 77 }
       }
    },

=== modified file 'tribes/buildings/militarysites/empire/sentry/init.lua'
--- tribes/buildings/militarysites/empire/sentry/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/empire/sentry/init.lua	2015-11-20 18:28:22 +0000
@@ -28,8 +28,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 37, 60 }
       }
    },

=== modified file 'tribes/buildings/militarysites/empire/tower/init.lua'
--- tribes/buildings/militarysites/empire/tower/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/militarysites/empire/tower/init.lua	2015-11-20 18:28:22 +0000
@@ -24,13 +24,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 53, 81 }
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 53, 81 },
       }
    },

=== modified file 'tribes/buildings/partially_finished/constructionsite/init.lua'
--- tribes/buildings/partially_finished/constructionsite/init.lua	2015-11-02 17:19:44 +0000
+++ tribes/buildings/partially_finished/constructionsite/init.lua	2015-11-20 18:28:22 +0000
@@ -13,13 +13,11 @@
       -- The constructionsite is a mess. Not nice and clean, but rather some
       -- logs lying around on piles, maybe some tools.
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 5, 5 },
       },
       idle_with_worker = {
-         template = "idle_with_worker_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_with_worker_??.png"),
          hotspot = { 33, 36 },
       }
    },

=== modified file 'tribes/buildings/partially_finished/dismantlesite/init.lua'
--- tribes/buildings/partially_finished/dismantlesite/init.lua	2015-11-02 17:19:44 +0000
+++ tribes/buildings/partially_finished/dismantlesite/init.lua	2015-11-20 18:28:22 +0000
@@ -11,8 +11,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 5, 5 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/armorsmithy/init.lua'
--- tribes/buildings/productionsites/atlanteans/armorsmithy/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/armorsmithy/init.lua	2015-11-20 18:28:22 +0000
@@ -23,13 +23,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 53, 60 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 53, 60 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/bakery/init.lua'
--- tribes/buildings/productionsites/atlanteans/bakery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/bakery/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 52, 63 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 52, 75 },
          fps = 20
       }

=== modified file 'tribes/buildings/productionsites/atlanteans/blackroot_farm/init.lua'
--- tribes/buildings/productionsites/atlanteans/blackroot_farm/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/blackroot_farm/init.lua	2015-11-20 18:28:22 +0000
@@ -22,8 +22,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 74, 60 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/charcoal_kiln/init.lua'
--- tribes/buildings/productionsites/atlanteans/charcoal_kiln/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/charcoal_kiln/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 47, 57 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 47, 60 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/coalmine/init.lua'
--- tribes/buildings/productionsites/atlanteans/coalmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/coalmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,18 +21,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 56 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 50, 56 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 50, 56 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/crystalmine/init.lua'
--- tribes/buildings/productionsites/atlanteans/crystalmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/crystalmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,18 +21,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 56 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 50, 56 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 50, 56 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/farm/init.lua'
--- tribes/buildings/productionsites/atlanteans/farm/init.lua	2015-11-18 08:52:49 +0000
+++ tribes/buildings/productionsites/atlanteans/farm/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 74, 60 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/fishbreeders_house/init.lua'
--- tribes/buildings/productionsites/atlanteans/fishbreeders_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/fishbreeders_house/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 34, 42 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/fishers_house/init.lua'
--- tribes/buildings/productionsites/atlanteans/fishers_house/init.lua	2015-11-06 12:20:28 +0000
+++ tribes/buildings/productionsites/atlanteans/fishers_house/init.lua	2015-11-20 18:28:22 +0000
@@ -19,8 +19,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 34, 42 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/foresters_house/init.lua'
--- tribes/buildings/productionsites/atlanteans/foresters_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/foresters_house/init.lua	2015-11-20 18:28:22 +0000
@@ -21,8 +21,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 37, 44 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/gold_spinning_mill/init.lua'
--- tribes/buildings/productionsites/atlanteans/gold_spinning_mill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/gold_spinning_mill/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 33, 64 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 33, 64 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/goldmine/init.lua'
--- tribes/buildings/productionsites/atlanteans/goldmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/goldmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,18 +21,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 56 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 50, 56 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 50, 56 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/horsefarm/init.lua'
--- tribes/buildings/productionsites/atlanteans/horsefarm/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/horsefarm/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 81, 62 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 81, 62 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/hunters_house/init.lua'
--- tribes/buildings/productionsites/atlanteans/hunters_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/hunters_house/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 36, 44 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/ironmine/init.lua'
--- tribes/buildings/productionsites/atlanteans/ironmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/ironmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,18 +21,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 56 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 50, 56 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 50, 56 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/mill/init.lua'
--- tribes/buildings/productionsites/atlanteans/mill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/mill/init.lua	2015-11-20 18:28:22 +0000
@@ -22,13 +22,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 58, 61 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 58, 61 },
          fps = 25
       }

=== modified file 'tribes/buildings/productionsites/atlanteans/quarry/init.lua'
--- tribes/buildings/productionsites/atlanteans/quarry/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/quarry/init.lua	2015-11-20 18:28:22 +0000
@@ -19,8 +19,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 40, 45 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/sawmill/init.lua'
--- tribes/buildings/productionsites/atlanteans/sawmill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/sawmill/init.lua	2015-11-20 18:28:22 +0000
@@ -20,13 +20,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 53, 60 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 53, 60 },
          fps = 25
       }

=== modified file 'tribes/buildings/productionsites/atlanteans/scouts_house/init.lua'
--- tribes/buildings/productionsites/atlanteans/scouts_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/scouts_house/init.lua	2015-11-20 18:28:22 +0000
@@ -19,13 +19,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 41, 44 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 41, 44 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/shipyard/init.lua'
--- tribes/buildings/productionsites/atlanteans/shipyard/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/shipyard/init.lua	2015-11-20 18:28:22 +0000
@@ -24,23 +24,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 53, 66 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 53, 66 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 53, 66 },
       },
       unoccupied = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 53, 66 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/smelting_works/init.lua'
--- tribes/buildings/productionsites/atlanteans/smelting_works/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/smelting_works/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 72 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 57, 72 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/smokery/init.lua'
--- tribes/buildings/productionsites/atlanteans/smokery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/smokery/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 53, 58 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 53, 68 },
          fps = 20
       }

=== modified file 'tribes/buildings/productionsites/atlanteans/spiderfarm/init.lua'
--- tribes/buildings/productionsites/atlanteans/spiderfarm/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/spiderfarm/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 87, 75 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 87, 75 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/toolsmithy/init.lua'
--- tribes/buildings/productionsites/atlanteans/toolsmithy/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/toolsmithy/init.lua	2015-11-20 18:28:22 +0000
@@ -22,13 +22,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 53 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 50, 53 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/weaponsmithy/init.lua'
--- tribes/buildings/productionsites/atlanteans/weaponsmithy/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/weaponsmithy/init.lua	2015-11-20 18:28:22 +0000
@@ -24,13 +24,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 58 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 50, 58 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/weaving_mill/init.lua'
--- tribes/buildings/productionsites/atlanteans/weaving_mill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/weaving_mill/init.lua	2015-11-20 18:28:22 +0000
@@ -22,13 +22,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 65, 69 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 65, 69 },
       }
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/well/init.lua'
--- tribes/buildings/productionsites/atlanteans/well/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/well/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 31, 32 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 31, 32 },
       },
    },

=== modified file 'tribes/buildings/productionsites/atlanteans/woodcutters_house/init.lua'
--- tribes/buildings/productionsites/atlanteans/woodcutters_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/atlanteans/woodcutters_house/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 37, 44 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/ax_workshop/init.lua'
--- tribes/buildings/productionsites/barbarians/ax_workshop/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/ax_workshop/init.lua	2015-11-20 18:28:22 +0000
@@ -25,23 +25,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 76 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 57, 76 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 57, 76 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 57, 76 },
          fps = 10
       },

=== modified file 'tribes/buildings/productionsites/barbarians/bakery/init.lua'
--- tribes/buildings/productionsites/barbarians/bakery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/bakery/init.lua	2015-11-20 18:28:22 +0000
@@ -23,18 +23,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 41, 58 },
       },
       unoccupied = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 41, 58 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 41, 58 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/big_inn/init.lua'
--- tribes/buildings/productionsites/barbarians/big_inn/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/big_inn/init.lua	2015-11-20 18:28:22 +0000
@@ -20,18 +20,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 88 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 57, 88 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 57, 88 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/brewery/init.lua'
--- tribes/buildings/productionsites/barbarians/brewery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/brewery/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 60, 59 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 60, 59 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/cattlefarm/init.lua'
--- tribes/buildings/productionsites/barbarians/cattlefarm/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/cattlefarm/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 80 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 57, 80 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/charcoal_kiln/init.lua'
--- tribes/buildings/productionsites/barbarians/charcoal_kiln/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/charcoal_kiln/init.lua	2015-11-20 18:28:22 +0000
@@ -21,18 +21,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 71 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 50, 71 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 50, 71 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/coalmine/init.lua'
--- tribes/buildings/productionsites/barbarians/coalmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/coalmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,23 +21,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 21, 36 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 21, 36 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 21, 36 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 21, 36 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/coalmine_deep/init.lua'
--- tribes/buildings/productionsites/barbarians/coalmine_deep/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/coalmine_deep/init.lua	2015-11-20 18:28:22 +0000
@@ -21,23 +21,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 21, 37 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 21, 37 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 21, 37 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 21, 37 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/coalmine_deeper/init.lua'
--- tribes/buildings/productionsites/barbarians/coalmine_deeper/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/coalmine_deeper/init.lua	2015-11-20 18:28:22 +0000
@@ -20,23 +20,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 60, 37 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 60, 37 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 60, 37 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 60, 37 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/farm/init.lua'
--- tribes/buildings/productionsites/barbarians/farm/init.lua	2015-11-18 08:52:49 +0000
+++ tribes/buildings/productionsites/barbarians/farm/init.lua	2015-11-20 18:28:22 +0000
@@ -22,23 +22,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 69, 76 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 69, 76 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 69, 76 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 69, 76 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/fishers_hut/init.lua'
--- tribes/buildings/productionsites/barbarians/fishers_hut/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/fishers_hut/init.lua	2015-11-20 18:28:22 +0000
@@ -18,18 +18,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 39, 52 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 39, 52 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 39, 52 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/gamekeepers_hut/init.lua'
--- tribes/buildings/productionsites/barbarians/gamekeepers_hut/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/gamekeepers_hut/init.lua	2015-11-20 18:28:22 +0000
@@ -20,18 +20,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 44, 43 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 44, 43 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 44, 43 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/goldmine/init.lua'
--- tribes/buildings/productionsites/barbarians/goldmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/goldmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,23 +21,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 21, 36 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 21, 36 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 21, 36 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 21, 36 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/goldmine_deep/init.lua'
--- tribes/buildings/productionsites/barbarians/goldmine_deep/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/goldmine_deep/init.lua	2015-11-20 18:28:22 +0000
@@ -21,23 +21,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 21, 37 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 21, 37 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 21, 37 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 21, 37 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/goldmine_deeper/init.lua'
--- tribes/buildings/productionsites/barbarians/goldmine_deeper/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/goldmine_deeper/init.lua	2015-11-20 18:28:22 +0000
@@ -20,23 +20,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 60, 37 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 60, 37 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 60, 37 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 60, 37 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/granitemine/init.lua'
--- tribes/buildings/productionsites/barbarians/granitemine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/granitemine/init.lua	2015-11-20 18:28:22 +0000
@@ -20,23 +20,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 42, 35 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 42, 35 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 42, 35 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 42, 35 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/helmsmithy/init.lua'
--- tribes/buildings/productionsites/barbarians/helmsmithy/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/helmsmithy/init.lua	2015-11-20 18:28:22 +0000
@@ -25,23 +25,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 65, 83 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 65, 83 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 65, 83 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 65, 83 },
          fps = 20
       },

=== modified file 'tribes/buildings/productionsites/barbarians/hunters_hut/init.lua'
--- tribes/buildings/productionsites/barbarians/hunters_hut/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/hunters_hut/init.lua	2015-11-20 18:28:22 +0000
@@ -20,18 +20,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 44, 44 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 44, 44 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 44, 44 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/inn/init.lua'
--- tribes/buildings/productionsites/barbarians/inn/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/inn/init.lua	2015-11-20 18:28:22 +0000
@@ -22,18 +22,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 88 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 57, 88 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 57, 88 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/ironmine/init.lua'
--- tribes/buildings/productionsites/barbarians/ironmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/ironmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,23 +21,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 21, 36 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 21, 36 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 21, 36 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 21, 36 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/ironmine_deep/init.lua'
--- tribes/buildings/productionsites/barbarians/ironmine_deep/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/ironmine_deep/init.lua	2015-11-20 18:28:22 +0000
@@ -21,23 +21,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 21, 37 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 21, 37 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 21, 37 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 21, 37 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/ironmine_deeper/init.lua'
--- tribes/buildings/productionsites/barbarians/ironmine_deeper/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/ironmine_deeper/init.lua	2015-11-20 18:28:22 +0000
@@ -20,23 +20,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 60, 37 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 60, 37 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 60, 37 },
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 60, 37 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/lime_kiln/init.lua'
--- tribes/buildings/productionsites/barbarians/lime_kiln/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/lime_kiln/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 45, 53 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 45, 53 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/lumberjacks_hut/init.lua'
--- tribes/buildings/productionsites/barbarians/lumberjacks_hut/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/lumberjacks_hut/init.lua	2015-11-20 18:28:22 +0000
@@ -18,18 +18,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 43, 45 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 43, 45 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 43, 45 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/metal_workshop/init.lua'
--- tribes/buildings/productionsites/barbarians/metal_workshop/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/metal_workshop/init.lua	2015-11-20 18:28:22 +0000
@@ -25,23 +25,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 76 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 57, 76 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 57, 76 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 57, 76 },
          fps = 10
       },

=== modified file 'tribes/buildings/productionsites/barbarians/micro_brewery/init.lua'
--- tribes/buildings/productionsites/barbarians/micro_brewery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/micro_brewery/init.lua	2015-11-20 18:28:22 +0000
@@ -24,13 +24,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 42, 50 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 42, 50 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/quarry/init.lua'
--- tribes/buildings/productionsites/barbarians/quarry/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/quarry/init.lua	2015-11-20 18:28:22 +0000
@@ -18,18 +18,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 45, 48 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 45, 48 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 45, 48 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/rangers_hut/init.lua'
--- tribes/buildings/productionsites/barbarians/rangers_hut/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/rangers_hut/init.lua	2015-11-20 18:28:22 +0000
@@ -18,18 +18,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 45, 49 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 45, 49 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 45, 49 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/reed_yard/init.lua'
--- tribes/buildings/productionsites/barbarians/reed_yard/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/reed_yard/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 46, 44 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/scouts_hut/init.lua'
--- tribes/buildings/productionsites/barbarians/scouts_hut/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/scouts_hut/init.lua	2015-11-20 18:28:22 +0000
@@ -20,18 +20,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 45, 92 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 45, 92 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 45, 92 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/shipyard/init.lua'
--- tribes/buildings/productionsites/barbarians/shipyard/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/shipyard/init.lua	2015-11-20 18:28:22 +0000
@@ -23,23 +23,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 62, 48 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 62, 48 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 62, 48 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 62, 48 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/smelting_works/init.lua'
--- tribes/buildings/productionsites/barbarians/smelting_works/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/smelting_works/init.lua	2015-11-20 18:28:22 +0000
@@ -24,13 +24,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 44, 58 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 44, 58 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/tavern/init.lua'
--- tribes/buildings/productionsites/barbarians/tavern/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/tavern/init.lua	2015-11-20 18:28:22 +0000
@@ -24,18 +24,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 88 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 57, 88 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 57, 88 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/warmill/init.lua'
--- tribes/buildings/productionsites/barbarians/warmill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/warmill/init.lua	2015-11-20 18:28:22 +0000
@@ -24,23 +24,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 57, 76 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 57, 76 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 57, 76 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 57, 76 },
          fps = 10
       },

=== modified file 'tribes/buildings/productionsites/barbarians/weaving_mill/init.lua'
--- tribes/buildings/productionsites/barbarians/weaving_mill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/weaving_mill/init.lua	2015-11-20 18:28:22 +0000
@@ -21,18 +21,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 36, 74 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 36, 74 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 36, 74 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/well/init.lua'
--- tribes/buildings/productionsites/barbarians/well/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/well/init.lua	2015-11-20 18:28:22 +0000
@@ -18,18 +18,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 19, 33 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 19, 33 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 19, 33 },
       },
    },

=== modified file 'tribes/buildings/productionsites/barbarians/wood_hardener/init.lua'
--- tribes/buildings/productionsites/barbarians/wood_hardener/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/barbarians/wood_hardener/init.lua	2015-11-20 18:28:22 +0000
@@ -20,23 +20,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 52, 64 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 52, 64 },
       },
       working = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 52, 64 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 52, 64 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/armorsmithy/init.lua'
--- tribes/buildings/productionsites/empire/armorsmithy/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/armorsmithy/init.lua	2015-11-20 18:28:22 +0000
@@ -23,23 +23,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 62 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 50, 62 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 50, 62 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 50, 62 },
          fps = 5
       },

=== modified file 'tribes/buildings/productionsites/empire/bakery/init.lua'
--- tribes/buildings/productionsites/empire/bakery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/bakery/init.lua	2015-11-20 18:28:22 +0000
@@ -21,18 +21,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 42, 65 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 42, 65 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 43, 65 },
          fps = 2
       },

=== modified file 'tribes/buildings/productionsites/empire/brewery/init.lua'
--- tribes/buildings/productionsites/empire/brewery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/brewery/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 39, 62 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 39, 62 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/charcoal_kiln/init.lua'
--- tribes/buildings/productionsites/empire/charcoal_kiln/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/charcoal_kiln/init.lua	2015-11-20 18:28:22 +0000
@@ -22,13 +22,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 51, 48 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 51, 48 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/coalmine/init.lua'
--- tribes/buildings/productionsites/empire/coalmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/coalmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,19 +21,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 49 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 49, 49 },
          fps = 10
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 49, 49 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/coalmine_deep/init.lua'
--- tribes/buildings/productionsites/empire/coalmine_deep/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/coalmine_deep/init.lua	2015-11-20 18:28:22 +0000
@@ -20,19 +20,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 61 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 49, 61 },
          fps = 10
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 49, 61 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/donkeyfarm/init.lua'
--- tribes/buildings/productionsites/empire/donkeyfarm/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/donkeyfarm/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 85, 78 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 85, 78 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/farm/init.lua'
--- tribes/buildings/productionsites/empire/farm/init.lua	2015-11-18 08:52:49 +0000
+++ tribes/buildings/productionsites/empire/farm/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 82, 74 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/fishers_house/init.lua'
--- tribes/buildings/productionsites/empire/fishers_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/fishers_house/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 42, 60 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/foresters_house/init.lua'
--- tribes/buildings/productionsites/empire/foresters_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/foresters_house/init.lua	2015-11-20 18:28:22 +0000
@@ -21,8 +21,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 52, 54 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/goldmine/init.lua'
--- tribes/buildings/productionsites/empire/goldmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/goldmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,19 +21,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 49 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 49, 49 },
          fps = 10
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 49, 49 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/goldmine_deep/init.lua'
--- tribes/buildings/productionsites/empire/goldmine_deep/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/goldmine_deep/init.lua	2015-11-20 18:28:22 +0000
@@ -20,19 +20,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 61 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 49, 61 },
          fps = 10
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 49, 61 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/hunters_house/init.lua'
--- tribes/buildings/productionsites/empire/hunters_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/hunters_house/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 54, 55 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/inn/init.lua'
--- tribes/buildings/productionsites/empire/inn/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/inn/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 52, 75 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 52, 75 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/ironmine/init.lua'
--- tribes/buildings/productionsites/empire/ironmine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/ironmine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,19 +21,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 49 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 49, 49 },
          fps = 10
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 49, 49 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/ironmine_deep/init.lua'
--- tribes/buildings/productionsites/empire/ironmine_deep/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/ironmine_deep/init.lua	2015-11-20 18:28:22 +0000
@@ -20,19 +20,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 61 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 49, 61 },
          fps = 10
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 49, 61 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/lumberjacks_house/init.lua'
--- tribes/buildings/productionsites/empire/lumberjacks_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/lumberjacks_house/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 40, 59 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/marblemine/init.lua'
--- tribes/buildings/productionsites/empire/marblemine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/marblemine/init.lua	2015-11-20 18:28:22 +0000
@@ -21,19 +21,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 49 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 49, 49 },
          fps = 10
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 49, 49 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/marblemine_deep/init.lua'
--- tribes/buildings/productionsites/empire/marblemine_deep/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/marblemine_deep/init.lua	2015-11-20 18:28:22 +0000
@@ -20,19 +20,16 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 49, 61 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 49, 61 },
          fps = 10
       },
       empty = {
-         template = "empty_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "empty_??.png"),
          hotspot = { 49, 61 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/mill/init.lua'
--- tribes/buildings/productionsites/empire/mill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/mill/init.lua	2015-11-20 18:28:22 +0000
@@ -22,13 +22,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 41, 87 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 41, 87 },
          fps = 25
       },

=== modified file 'tribes/buildings/productionsites/empire/piggery/init.lua'
--- tribes/buildings/productionsites/empire/piggery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/piggery/init.lua	2015-11-20 18:28:22 +0000
@@ -23,13 +23,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 82, 74 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 82, 74 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/quarry/init.lua'
--- tribes/buildings/productionsites/empire/quarry/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/quarry/init.lua	2015-11-20 18:28:22 +0000
@@ -19,8 +19,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 42, 57 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/sawmill/init.lua'
--- tribes/buildings/productionsites/empire/sawmill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/sawmill/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 54, 70 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 54, 70 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/scouts_house/init.lua'
--- tribes/buildings/productionsites/empire/scouts_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/scouts_house/init.lua	2015-11-20 18:28:22 +0000
@@ -19,14 +19,12 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 53 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 50, 53 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/sheepfarm/init.lua'
--- tribes/buildings/productionsites/empire/sheepfarm/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/sheepfarm/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 73, 60 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 73, 60 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/shipyard/init.lua'
--- tribes/buildings/productionsites/empire/shipyard/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/shipyard/init.lua	2015-11-20 18:28:22 +0000
@@ -23,23 +23,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 50, 63 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 50, 63 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 50, 63 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 50, 63 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/smelting_works/init.lua'
--- tribes/buildings/productionsites/empire/smelting_works/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/smelting_works/init.lua	2015-11-20 18:28:22 +0000
@@ -21,18 +21,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 39, 53 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 39, 53 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 39, 53 },
          fps = 5
       },

=== modified file 'tribes/buildings/productionsites/empire/stonemasons_house/init.lua'
--- tribes/buildings/productionsites/empire/stonemasons_house/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/stonemasons_house/init.lua	2015-11-20 18:28:22 +0000
@@ -22,13 +22,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 58, 61 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 58, 61 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/tavern/init.lua'
--- tribes/buildings/productionsites/empire/tavern/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/tavern/init.lua	2015-11-20 18:28:22 +0000
@@ -23,13 +23,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 52, 58 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 52, 58 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/toolsmithy/init.lua'
--- tribes/buildings/productionsites/empire/toolsmithy/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/toolsmithy/init.lua	2015-11-20 18:28:22 +0000
@@ -22,13 +22,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 58, 61 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 58, 61 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/vineyard/init.lua'
--- tribes/buildings/productionsites/empire/vineyard/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/vineyard/init.lua	2015-11-20 18:28:22 +0000
@@ -22,8 +22,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 53, 53 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/weaponsmithy/init.lua'
--- tribes/buildings/productionsites/empire/weaponsmithy/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/weaponsmithy/init.lua	2015-11-20 18:28:22 +0000
@@ -24,18 +24,15 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 44, 61 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 44, 61 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 44, 61 },
          fps = 2
       },

=== modified file 'tribes/buildings/productionsites/empire/weaving_mill/init.lua'
--- tribes/buildings/productionsites/empire/weaving_mill/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/weaving_mill/init.lua	2015-11-20 18:28:22 +0000
@@ -21,23 +21,19 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 65, 62 },
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 65, 62 },
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 65, 62 },
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 65, 62 },
          fps = 5
       },

=== modified file 'tribes/buildings/productionsites/empire/well/init.lua'
--- tribes/buildings/productionsites/empire/well/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/well/init.lua	2015-11-20 18:28:22 +0000
@@ -21,13 +21,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 43, 43 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 43, 43 },
       },
    },

=== modified file 'tribes/buildings/productionsites/empire/winery/init.lua'
--- tribes/buildings/productionsites/empire/winery/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/productionsites/empire/winery/init.lua	2015-11-20 18:28:22 +0000
@@ -23,13 +23,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 39, 62 },
       },
       working = {
-         template = "idle_??", -- TODO(GunChleoc): No animation yet.
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"), -- TODO(GunChleoc): No animation yet.
          hotspot = { 39, 62 },
       },
    },

=== modified file 'tribes/buildings/trainingsites/atlanteans/dungeon/init.lua'
--- tribes/buildings/trainingsites/atlanteans/dungeon/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/trainingsites/atlanteans/dungeon/init.lua	2015-11-20 18:28:22 +0000
@@ -29,8 +29,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 47, 47 },
       }
    },

=== modified file 'tribes/buildings/trainingsites/atlanteans/labyrinth/init.lua'
--- tribes/buildings/trainingsites/atlanteans/labyrinth/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/trainingsites/atlanteans/labyrinth/init.lua	2015-11-20 18:28:22 +0000
@@ -28,8 +28,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 80, 88 },
       }
    },

=== modified file 'tribes/buildings/trainingsites/barbarians/battlearena/init.lua'
--- tribes/buildings/trainingsites/barbarians/battlearena/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/trainingsites/barbarians/battlearena/init.lua	2015-11-20 18:28:22 +0000
@@ -26,25 +26,21 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 110, 72 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 110, 72 },
          fps = 1
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 110, 72 }
       },
       working = {
-         template = "working_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "working_??.png"),
          hotspot = { 110, 72 },
          fps = 1
       }

=== modified file 'tribes/buildings/trainingsites/barbarians/trainingcamp/init.lua'
--- tribes/buildings/trainingsites/barbarians/trainingcamp/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/trainingsites/barbarians/trainingcamp/init.lua	2015-11-20 18:28:22 +0000
@@ -25,20 +25,17 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 110, 75 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 110, 77 },
          fps = 1
       },
       unoccupied = {
-         template = "unoccupied_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "unoccupied_??.png"),
          hotspot = { 110, 75 }
       }
    },

=== modified file 'tribes/buildings/trainingsites/empire/arena/init.lua'
--- tribes/buildings/trainingsites/empire/arena/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/trainingsites/empire/arena/init.lua	2015-11-20 18:28:22 +0000
@@ -27,13 +27,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 81, 82 }
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 82, 83 },
          fps = 1
       }

=== modified file 'tribes/buildings/trainingsites/empire/colosseum/init.lua'
--- tribes/buildings/trainingsites/empire/colosseum/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/trainingsites/empire/colosseum/init.lua	2015-11-20 18:28:22 +0000
@@ -27,8 +27,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 81, 106 }
       }
    },

=== modified file 'tribes/buildings/trainingsites/empire/trainingcamp/init.lua'
--- tribes/buildings/trainingsites/empire/trainingcamp/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/trainingsites/empire/trainingcamp/init.lua	2015-11-20 18:28:22 +0000
@@ -28,8 +28,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 82, 105 }
       }
    },

=== modified file 'tribes/buildings/warehouses/atlanteans/headquarters/init.lua'
--- tribes/buildings/warehouses/atlanteans/headquarters/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/atlanteans/headquarters/init.lua	2015-11-20 18:28:22 +0000
@@ -12,8 +12,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 81, 110 },
       },
    },

=== modified file 'tribes/buildings/warehouses/atlanteans/port/init.lua'
--- tribes/buildings/warehouses/atlanteans/port/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/atlanteans/port/init.lua	2015-11-20 18:28:22 +0000
@@ -28,14 +28,12 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 74, 70 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 74, 70 },
          fps = 1
       }

=== modified file 'tribes/buildings/warehouses/atlanteans/warehouse/init.lua'
--- tribes/buildings/warehouses/atlanteans/warehouse/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/atlanteans/warehouse/init.lua	2015-11-20 18:28:22 +0000
@@ -25,8 +25,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 58, 62 }
       }
    },

=== modified file 'tribes/buildings/warehouses/barbarians/headquarters/init.lua'
--- tribes/buildings/warehouses/barbarians/headquarters/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/barbarians/headquarters/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
    -- in the player colors may be present
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 90, 96 },
          fps = 10
       },

=== modified file 'tribes/buildings/warehouses/barbarians/headquarters_interim/init.lua'
--- tribes/buildings/warehouses/barbarians/headquarters_interim/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/barbarians/headquarters_interim/init.lua	2015-11-20 18:28:22 +0000
@@ -14,8 +14,7 @@
    -- with reed and coated with many different wares.
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 64, 106 }
       },
    },

=== modified file 'tribes/buildings/warehouses/barbarians/port/init.lua'
--- tribes/buildings/warehouses/barbarians/port/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/barbarians/port/init.lua	2015-11-20 18:28:22 +0000
@@ -30,14 +30,12 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 67, 80 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 67, 80 },
          fps = 1
       }

=== modified file 'tribes/buildings/warehouses/barbarians/warehouse/init.lua'
--- tribes/buildings/warehouses/barbarians/warehouse/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/barbarians/warehouse/init.lua	2015-11-20 18:28:22 +0000
@@ -25,13 +25,11 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 60, 78 }
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 60, 78 },
          fps = 1
       }

=== modified file 'tribes/buildings/warehouses/empire/headquarters/init.lua'
--- tribes/buildings/warehouses/empire/headquarters/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/empire/headquarters/init.lua	2015-11-20 18:28:22 +0000
@@ -12,8 +12,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 95, 109 },
       },
    },

=== modified file 'tribes/buildings/warehouses/empire/headquarters_shipwreck/init.lua'
--- tribes/buildings/warehouses/empire/headquarters_shipwreck/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/empire/headquarters_shipwreck/init.lua	2015-11-20 18:28:22 +0000
@@ -12,8 +12,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 93, 40 },
       },
    },

=== modified file 'tribes/buildings/warehouses/empire/port/init.lua'
--- tribes/buildings/warehouses/empire/port/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/empire/port/init.lua	2015-11-20 18:28:22 +0000
@@ -29,14 +29,12 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 74, 96 },
          fps = 10
       },
       build = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 74, 96 },
          fps = 1
       }

=== modified file 'tribes/buildings/warehouses/empire/warehouse/init.lua'
--- tribes/buildings/warehouses/empire/warehouse/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/buildings/warehouses/empire/warehouse/init.lua	2015-11-20 18:28:22 +0000
@@ -25,8 +25,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 58, 55 }
       }
    },

=== modified file 'tribes/empire.lua'
--- tribes/empire.lua	2015-10-31 12:11:44 +0000
+++ tribes/empire.lua	2015-11-20 18:28:22 +0000
@@ -6,14 +6,12 @@
    animations = {
       -- No idea for the frontier. Maybe some javelins?
       frontier = {
-         template = "frontier_??",
-         directory = dirname .. "images/empire/",
+         pictures = path.list_files(dirname .. "images/empire/frontier_??.png"),
          hotspot = { 1, 19 },
       },
       -- Not just a plain color, maybe a cross or some stripes
       flag = {
-         template = "flag_??",
-         directory = dirname .. "images/empire/",
+         pictures = path.list_files(dirname .. "images/empire/flag_??.png"),
          hotspot = { 14, 38 },
          fps = 10
       }

=== modified file 'tribes/immovables/ashes/init.lua'
--- tribes/immovables/ashes/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/ashes/init.lua	2015-11-20 18:28:22 +0000
@@ -14,8 +14,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 40, 39 },
       },
    }

=== modified file 'tribes/immovables/blackrootfield_harvested/init.lua'
--- tribes/immovables/blackrootfield_harvested/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/blackrootfield_harvested/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 26, 16 },
       },
    }

=== modified file 'tribes/immovables/blackrootfield_medium/init.lua'
--- tribes/immovables/blackrootfield_medium/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/blackrootfield_medium/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 26, 30 },
       },
    }

=== modified file 'tribes/immovables/blackrootfield_ripe/init.lua'
--- tribes/immovables/blackrootfield_ripe/init.lua	2015-11-17 15:03:29 +0000
+++ tribes/immovables/blackrootfield_ripe/init.lua	2015-11-20 18:28:22 +0000
@@ -19,8 +19,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 28, 45 },
       },
    }

=== modified file 'tribes/immovables/blackrootfield_small/init.lua'
--- tribes/immovables/blackrootfield_small/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/blackrootfield_small/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 26, 16 },
       },
    }

=== modified file 'tribes/immovables/blackrootfield_tiny/init.lua'
--- tribes/immovables/blackrootfield_tiny/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/blackrootfield_tiny/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 26, 16 },
       },
    }

=== modified file 'tribes/immovables/cornfield_harvested/init.lua'
--- tribes/immovables/cornfield_harvested/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/cornfield_harvested/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 31, 30 },
       },
    }

=== modified file 'tribes/immovables/cornfield_medium/init.lua'
--- tribes/immovables/cornfield_medium/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/cornfield_medium/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 31, 35 },
       },
    }

=== modified file 'tribes/immovables/cornfield_ripe/init.lua'
--- tribes/immovables/cornfield_ripe/init.lua	2015-11-17 15:03:29 +0000
+++ tribes/immovables/cornfield_ripe/init.lua	2015-11-20 18:28:22 +0000
@@ -19,8 +19,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 31, 41 },
       },
    }

=== modified file 'tribes/immovables/cornfield_small/init.lua'
--- tribes/immovables/cornfield_small/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/cornfield_small/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 35, 34 },
       },
    }

=== modified file 'tribes/immovables/cornfield_tiny/init.lua'
--- tribes/immovables/cornfield_tiny/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/cornfield_tiny/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 35, 34 },
       },
    }

=== modified file 'tribes/immovables/destroyed_building/init.lua'
--- tribes/immovables/destroyed_building/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/destroyed_building/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "burn_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "burn_??.png"),
          hotspot = { 40, 57 },
          fps = 10,
       },

=== modified file 'tribes/immovables/field_harvested/init.lua'
--- tribes/immovables/field_harvested/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/field_harvested/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 15, 18 },
       },
    }

=== modified file 'tribes/immovables/field_medium/init.lua'
--- tribes/immovables/field_medium/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/field_medium/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 15, 12 },
       },
    }

=== modified file 'tribes/immovables/field_ripe/init.lua'
--- tribes/immovables/field_ripe/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/field_ripe/init.lua	2015-11-20 18:28:22 +0000
@@ -19,8 +19,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 15, 18 },
       },
    }

=== modified file 'tribes/immovables/field_small/init.lua'
--- tribes/immovables/field_small/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/field_small/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 15, 9 },
       },
    }

=== modified file 'tribes/immovables/field_tiny/init.lua'
--- tribes/immovables/field_tiny/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/field_tiny/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 11, 5 },
       },
    }

=== modified file 'tribes/immovables/grapevine_medium/init.lua'
--- tribes/immovables/grapevine_medium/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/grapevine_medium/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 15, 18 },
       },
    }

=== modified file 'tribes/immovables/grapevine_ripe/init.lua'
--- tribes/immovables/grapevine_ripe/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/grapevine_ripe/init.lua	2015-11-20 18:28:22 +0000
@@ -19,8 +19,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 15, 18 },
       },
    }

=== modified file 'tribes/immovables/grapevine_small/init.lua'
--- tribes/immovables/grapevine_small/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/grapevine_small/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 15, 18 },
       },
    }

=== modified file 'tribes/immovables/grapevine_tiny/init.lua'
--- tribes/immovables/grapevine_tiny/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/grapevine_tiny/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 15, 18 },
       },
    }

=== modified file 'tribes/immovables/reed_medium/init.lua'
--- tribes/immovables/reed_medium/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/reed_medium/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 13, 14 },
       },
    }

=== modified file 'tribes/immovables/reed_ripe/init.lua'
--- tribes/immovables/reed_ripe/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/reed_ripe/init.lua	2015-11-20 18:28:22 +0000
@@ -19,8 +19,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 13, 18 },
       },
    }

=== modified file 'tribes/immovables/reed_small/init.lua'
--- tribes/immovables/reed_small/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/reed_small/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 13, 12 },
       },
    }

=== modified file 'tribes/immovables/reed_tiny/init.lua'
--- tribes/immovables/reed_tiny/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/reed_tiny/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 12, 8 },
       },
    }

=== modified file 'tribes/immovables/resi_coal1/init.lua'
--- tribes/immovables/resi_coal1/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_coal1/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_coal2/init.lua'
--- tribes/immovables/resi_coal2/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_coal2/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_gold1/init.lua'
--- tribes/immovables/resi_gold1/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_gold1/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_gold2/init.lua'
--- tribes/immovables/resi_gold2/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_gold2/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_iron1/init.lua'
--- tribes/immovables/resi_iron1/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_iron1/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_iron2/init.lua'
--- tribes/immovables/resi_iron2/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_iron2/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_none/init.lua'
--- tribes/immovables/resi_none/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_none/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_stones1/init.lua'
--- tribes/immovables/resi_stones1/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_stones1/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_stones2/init.lua'
--- tribes/immovables/resi_stones2/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_stones2/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/resi_water1/init.lua'
--- tribes/immovables/resi_water1/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/resi_water1/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
 
    animations = {
       idle = {
-         template = "idle_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle_??.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/immovables/shipconstruction_atlanteans/init.lua'
--- tribes/immovables/shipconstruction_atlanteans/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/shipconstruction_atlanteans/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 118, 94 },
          fps = 1
       },

=== modified file 'tribes/immovables/shipconstruction_barbarians/init.lua'
--- tribes/immovables/shipconstruction_barbarians/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/shipconstruction_barbarians/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 115, 82 },
          fps = 1
       },

=== modified file 'tribes/immovables/shipconstruction_empire/init.lua'
--- tribes/immovables/shipconstruction_empire/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/immovables/shipconstruction_empire/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "build_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "build_??.png"),
          hotspot = { 115, 78 },
          fps = 1
       },

=== modified file 'tribes/init.lua'
--- tribes/init.lua	2015-11-02 19:29:03 +0000
+++ tribes/init.lua	2015-11-20 18:28:22 +0000
@@ -25,16 +25,7 @@
    if (fps ~= nil) then
       for idx, dir in ipairs{ "ne", "e", "se", "sw", "w", "nw" } do
          table[animationname .. "_" .. dir] = {
-            -- TODO(SirVer): get rid of template and directory, instead
-            -- use 'path.list_directory'. See world/ for examples. No globbing
-            -- code should be necessary in c++. Update: I just realized that
-            -- you went the other way in the world too. We should discuss that,
-            -- I think it should be done in Lua, not in c++. My reasoning is
-            -- that the engine should get passed in hard data as much as
-            -- possible and not needing to dig around in directories for the
-            -- correct files.
-            template = basename .. "_" .. dir ..  "_??",
-            directory = dirname,
+            pictures = path.list_files(dirname .. basename .. "_" .. dir ..  "_??.png"),
             hotspot = hotspot,
             fps = fps,
          }
@@ -42,8 +33,7 @@
    else
       for idx, dir in ipairs{ "ne", "e", "se", "sw", "w", "nw" } do
          table[animationname .. "_" .. dir] = {
-            template = basename .. "_" .. dir ..  "_??",
-            directory = dirname,
+            pictures = path.list_files(dirname .. basename .. "_" .. dir ..  "_??.png"),
             hotspot = hotspot,
          }
       end

=== modified file 'tribes/ships/atlanteans/init.lua'
--- tribes/ships/atlanteans/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/ships/atlanteans/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 89, 86 },
       fps = 10
    },
    sinking = {
-      template = "sinking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "sinking_??.png"),
       hotspot = { 89, 86 },
       fps = 7
    }

=== modified file 'tribes/ships/barbarians/init.lua'
--- tribes/ships/barbarians/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/ships/barbarians/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 115, 76 },
       fps = 10
    }

=== modified file 'tribes/ships/empire/init.lua'
--- tribes/ships/empire/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/ships/empire/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 115, 100 },
       fps = 10
    }

=== modified file 'tribes/wares/armor/init.lua'
--- tribes/wares/armor/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/armor/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 3, 11 },
       },
    }

=== modified file 'tribes/wares/armor_chain/init.lua'
--- tribes/wares/armor_chain/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/armor_chain/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 3, 11 },
       },
    }

=== modified file 'tribes/wares/armor_gilded/init.lua'
--- tribes/wares/armor_gilded/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/armor_gilded/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 11 },
       },
    }

=== modified file 'tribes/wares/armor_helmet/init.lua'
--- tribes/wares/armor_helmet/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/armor_helmet/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 10 },
       },
    }

=== modified file 'tribes/wares/ax/init.lua'
--- tribes/wares/ax/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/ax/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 7 },
       },
    }

=== modified file 'tribes/wares/ax_battle/init.lua'
--- tribes/wares/ax_battle/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/ax_battle/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 7 },
       },
    }

=== modified file 'tribes/wares/ax_broad/init.lua'
--- tribes/wares/ax_broad/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/ax_broad/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 6 },
       },
    }

=== modified file 'tribes/wares/ax_bronze/init.lua'
--- tribes/wares/ax_bronze/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/ax_bronze/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 7 },
       },
    }

=== modified file 'tribes/wares/ax_sharp/init.lua'
--- tribes/wares/ax_sharp/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/ax_sharp/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 7 },
       },
    }

=== modified file 'tribes/wares/ax_warriors/init.lua'
--- tribes/wares/ax_warriors/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/ax_warriors/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 7 },
       },
    }

=== modified file 'tribes/wares/basket/init.lua'
--- tribes/wares/basket/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/basket/init.lua	2015-11-20 18:28:22 +0000
@@ -15,8 +15,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 8, 11 },
       },
    }

=== modified file 'tribes/wares/beer/init.lua'
--- tribes/wares/beer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/beer/init.lua	2015-11-20 18:28:22 +0000
@@ -17,8 +17,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 9 },
       },
    }

=== modified file 'tribes/wares/beer_strong/init.lua'
--- tribes/wares/beer_strong/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/beer_strong/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 8 },
       },
    }

=== modified file 'tribes/wares/blackroot/init.lua'
--- tribes/wares/blackroot/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/blackroot/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 15 },
       },
    }

=== modified file 'tribes/wares/blackroot_flour/init.lua'
--- tribes/wares/blackroot_flour/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/blackroot_flour/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 15 },
       },
    }

=== modified file 'tribes/wares/blackwood/init.lua'
--- tribes/wares/blackwood/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/blackwood/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 10 },
       },
    }

=== modified file 'tribes/wares/bread_atlanteans/init.lua'
--- tribes/wares/bread_atlanteans/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/bread_atlanteans/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 13 },
       },
    }

=== modified file 'tribes/wares/bread_barbarians/init.lua'
--- tribes/wares/bread_barbarians/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/bread_barbarians/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 6 },
       },
    }

=== modified file 'tribes/wares/bread_empire/init.lua'
--- tribes/wares/bread_empire/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/bread_empire/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 6 },
       },
    }

=== modified file 'tribes/wares/bread_paddle/init.lua'
--- tribes/wares/bread_paddle/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/bread_paddle/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 6 },
       },
    }

=== modified file 'tribes/wares/buckets/init.lua'
--- tribes/wares/buckets/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/buckets/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/cloth/init.lua'
--- tribes/wares/cloth/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/cloth/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 9 },
       },
    }

=== modified file 'tribes/wares/coal/init.lua'
--- tribes/wares/coal/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/coal/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 6 },
       },
    }

=== modified file 'tribes/wares/corn/init.lua'
--- tribes/wares/corn/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/corn/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 11 },
       },
    }

=== modified file 'tribes/wares/cornmeal/init.lua'
--- tribes/wares/cornmeal/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/cornmeal/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 15 },
       },
    }

=== modified file 'tribes/wares/diamond/init.lua'
--- tribes/wares/diamond/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/diamond/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 7 },
       },
    }

=== modified file 'tribes/wares/felling_ax/init.lua'
--- tribes/wares/felling_ax/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/felling_ax/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 7 },
       },
    }

=== modified file 'tribes/wares/fire_tongs/init.lua'
--- tribes/wares/fire_tongs/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/fire_tongs/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 5 },
       },
    }

=== modified file 'tribes/wares/fish/init.lua'
--- tribes/wares/fish/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/fish/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 8, 6 },
       },
    }

=== modified file 'tribes/wares/fishing_net/init.lua'
--- tribes/wares/fishing_net/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/fishing_net/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/fishing_rod/init.lua'
--- tribes/wares/fishing_rod/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/fishing_rod/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 5 },
       },
    }

=== modified file 'tribes/wares/flour/init.lua'
--- tribes/wares/flour/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/flour/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 15 },
       },
    }

=== modified file 'tribes/wares/gold/init.lua'
--- tribes/wares/gold/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/gold/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 10 },
       },
    }

=== modified file 'tribes/wares/gold_ore/init.lua'
--- tribes/wares/gold_ore/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/gold_ore/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 4 },
       },
    }

=== modified file 'tribes/wares/gold_thread/init.lua'
--- tribes/wares/gold_thread/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/gold_thread/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 16 },
       },
    }

=== modified file 'tribes/wares/granite/init.lua'
--- tribes/wares/granite/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/granite/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 8 },
       },
    }

=== modified file 'tribes/wares/grape/init.lua'
--- tribes/wares/grape/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/grape/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 15 },
       },
    }

=== modified file 'tribes/wares/grout/init.lua'
--- tribes/wares/grout/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/grout/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 12 },
       },
    }

=== modified file 'tribes/wares/hammer/init.lua'
--- tribes/wares/hammer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/hammer/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 3, 4 },
       },
    }

=== modified file 'tribes/wares/helmet/init.lua'
--- tribes/wares/helmet/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/helmet/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 8 },
       },
    }

=== modified file 'tribes/wares/helmet_mask/init.lua'
--- tribes/wares/helmet_mask/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/helmet_mask/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/wares/helmet_warhelm/init.lua'
--- tribes/wares/helmet_warhelm/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/helmet_warhelm/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 12 },
       },
    }

=== modified file 'tribes/wares/hook_pole/init.lua'
--- tribes/wares/hook_pole/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/hook_pole/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 14 },
       },
    }

=== modified file 'tribes/wares/hunting_bow/init.lua'
--- tribes/wares/hunting_bow/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/hunting_bow/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 16 },
       },
    }

=== modified file 'tribes/wares/hunting_spear/init.lua'
--- tribes/wares/hunting_spear/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/hunting_spear/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 5 },
       },
    }

=== modified file 'tribes/wares/iron/init.lua'
--- tribes/wares/iron/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/iron/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 9 },
       },
    }

=== modified file 'tribes/wares/iron_ore/init.lua'
--- tribes/wares/iron_ore/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/iron_ore/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 4 },
       },
    }

=== modified file 'tribes/wares/kitchen_tools/init.lua'
--- tribes/wares/kitchen_tools/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/kitchen_tools/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 8, 8 },
       },
    }

=== modified file 'tribes/wares/log/init.lua'
--- tribes/wares/log/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/log/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 7 },
       },
    }

=== modified file 'tribes/wares/marble/init.lua'
--- tribes/wares/marble/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/marble/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 18 },
       },
    }

=== modified file 'tribes/wares/marble_column/init.lua'
--- tribes/wares/marble_column/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/marble_column/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 3, 9 },
       },
    }

=== modified file 'tribes/wares/meal/init.lua'
--- tribes/wares/meal/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/meal/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 6 },
       },
    }

=== modified file 'tribes/wares/meat/init.lua'
--- tribes/wares/meat/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/meat/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 6 },
       },
    }

=== modified file 'tribes/wares/milking_tongs/init.lua'
--- tribes/wares/milking_tongs/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/milking_tongs/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 9 },
       },
    }

=== modified file 'tribes/wares/pick/init.lua'
--- tribes/wares/pick/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/pick/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 4 },
       },
    }

=== modified file 'tribes/wares/planks/helptexts.lua'
--- tribes/wares/planks/helptexts.lua	2015-11-17 09:01:38 +0000
+++ tribes/wares/planks/helptexts.lua	2015-11-20 18:28:22 +0000
@@ -4,12 +4,12 @@
       default = pgettext("ware", "Planks are an important building material."),
       -- TRANSLATORS: Helptext for a ware: Planks
       atlanteans =
-			pgettext("atlanteans_ware_planks", "They are produced out of logs by the sawmill.") .. " " ..
-			pgettext("atlanteans_ware", "The weapon smithy and the shipyard also use planks to produce the different tridents and mighty ships."),
+         pgettext("atlanteans_ware_planks", "They are produced out of logs by the sawmill.") .. " " ..
+         pgettext("atlanteans_ware", "The weapon smithy and the shipyard also use planks to produce the different tridents and mighty ships."),
       -- TRANSLATORS: Helptext for a ware: Planks
       empire =
-			pgettext("empire_ware_planks", "They are produced out of logs by the sawmill.") .. " " ..
-			pgettext("empire_ware", "They are also used by the weapon smithy.")
+         pgettext("empire_ware_planks", "They are produced out of logs by the sawmill.") .. " " ..
+         pgettext("empire_ware", "They are also used by the weapon smithy.")
    }
    local result = ""
    if tribe then

=== modified file 'tribes/wares/planks/init.lua'
--- tribes/wares/planks/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/planks/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 12, 17 },
       },
    }

=== modified file 'tribes/wares/quartz/init.lua'
--- tribes/wares/quartz/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/quartz/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 13 },
       },
    }

=== modified file 'tribes/wares/ration/init.lua'
--- tribes/wares/ration/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/ration/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 3, 5 },
       },
    }

=== modified file 'tribes/wares/saw/init.lua'
--- tribes/wares/saw/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/saw/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 5 },
       },
    }

=== modified file 'tribes/wares/scythe/init.lua'
--- tribes/wares/scythe/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/scythe/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 2 },
       },
    }

=== modified file 'tribes/wares/shield_advanced/init.lua'
--- tribes/wares/shield_advanced/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/shield_advanced/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/shield_steel/init.lua'
--- tribes/wares/shield_steel/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/shield_steel/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/shovel/init.lua'
--- tribes/wares/shovel/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/shovel/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 5 },
       },
    }

=== modified file 'tribes/wares/smoked_fish/init.lua'
--- tribes/wares/smoked_fish/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/smoked_fish/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 16 },
       },
    }

=== modified file 'tribes/wares/smoked_meat/init.lua'
--- tribes/wares/smoked_meat/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/smoked_meat/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 16 },
       },
    }

=== modified file 'tribes/wares/snack/init.lua'
--- tribes/wares/snack/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/snack/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 5 },
       },
    }

=== modified file 'tribes/wares/spear/init.lua'
--- tribes/wares/spear/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/spear/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/wares/spear_advanced/init.lua'
--- tribes/wares/spear_advanced/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/spear_advanced/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 10 },
       },
    }

=== modified file 'tribes/wares/spear_heavy/init.lua'
--- tribes/wares/spear_heavy/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/spear_heavy/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 8, 11 },
       },
    }

=== modified file 'tribes/wares/spear_war/init.lua'
--- tribes/wares/spear_war/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/spear_war/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 3 },
       },
    }

=== modified file 'tribes/wares/spear_wooden/init.lua'
--- tribes/wares/spear_wooden/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/spear_wooden/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 11 },
       },
    }

=== modified file 'tribes/wares/spider_silk/init.lua'
--- tribes/wares/spider_silk/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/spider_silk/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 16 },
       },
    }

=== modified file 'tribes/wares/spidercloth/init.lua'
--- tribes/wares/spidercloth/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/spidercloth/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 9 },
       },
    }

=== modified file 'tribes/wares/tabard/init.lua'
--- tribes/wares/tabard/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/tabard/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 10 },
       },
    }

=== modified file 'tribes/wares/tabard_golden/init.lua'
--- tribes/wares/tabard_golden/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/tabard_golden/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 10 },
       },
    }

=== modified file 'tribes/wares/thatch_reed/init.lua'
--- tribes/wares/thatch_reed/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/thatch_reed/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 3, 12 },
       },
    }

=== modified file 'tribes/wares/trident_double/init.lua'
--- tribes/wares/trident_double/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/trident_double/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/trident_heavy_double/init.lua'
--- tribes/wares/trident_heavy_double/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/trident_heavy_double/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/trident_light/init.lua'
--- tribes/wares/trident_light/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/trident_light/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/trident_long/init.lua'
--- tribes/wares/trident_long/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/trident_long/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/trident_steel/init.lua'
--- tribes/wares/trident_steel/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/trident_steel/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 17 },
       },
    }

=== modified file 'tribes/wares/water/init.lua'
--- tribes/wares/water/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/water/init.lua	2015-11-20 18:28:22 +0000
@@ -20,8 +20,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 8 },
       },
    }

=== modified file 'tribes/wares/wheat/init.lua'
--- tribes/wares/wheat/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/wheat/init.lua	2015-11-20 18:28:22 +0000
@@ -18,8 +18,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { -1, 6 },
       },
    }

=== modified file 'tribes/wares/wine/init.lua'
--- tribes/wares/wine/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/wine/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 4, 14 },
       },
    }

=== modified file 'tribes/wares/wool/init.lua'
--- tribes/wares/wool/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/wares/wool/init.lua	2015-11-20 18:28:22 +0000
@@ -16,8 +16,7 @@
 
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 8, 18 },
       },
    }

=== modified file 'tribes/workers/atlanteans/armorsmith/init.lua'
--- tribes/workers/atlanteans/armorsmith/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/armorsmith/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 21 },
    }
 }

=== modified file 'tribes/workers/atlanteans/baker/init.lua'
--- tribes/workers/atlanteans/baker/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/baker/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 5, 23 },
    }
 }

=== modified file 'tribes/workers/atlanteans/blackroot_farmer/init.lua'
--- tribes/workers/atlanteans/blackroot_farmer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/blackroot_farmer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,25 +2,21 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 9, 24 },
    },
    planting = {
-      template = "plant_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plant_??.png"),
       hotspot = { 13, 32 },
       fps = 10
    },
    harvesting = {
-      template = "harvest_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "harvest_??.png"),
       hotspot = { 13, 32 },
       fps = 10
    },
    gathering = {
-      template = "gather_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "gather_??.png"),
       hotspot = { 13, 32 },
       fps = 10
    }

=== modified file 'tribes/workers/atlanteans/builder/init.lua'
--- tribes/workers/atlanteans/builder/init.lua	2015-11-12 16:57:10 +0000
+++ tribes/workers/atlanteans/builder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "waiting_???",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "waiting_???.png"),
       hotspot = { 16, 23 },
       fps=10,
    },
    work = {
-      template = "work_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "work_??.png"),
       sound_effect = {
             directory = "sound/hammering",
             name = "hammering",

=== modified file 'tribes/workers/atlanteans/carrier/init.lua'
--- tribes/workers/atlanteans/carrier/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/carrier/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 13, 24 },
       fps=10,
    }

=== modified file 'tribes/workers/atlanteans/charcoal_burner/init.lua'
--- tribes/workers/atlanteans/charcoal_burner/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/charcoal_burner/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 22 }
    }
 }

=== modified file 'tribes/workers/atlanteans/farmer/init.lua'
--- tribes/workers/atlanteans/farmer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/farmer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,25 +2,21 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 23 },
    },
    planting = {
-      template = "plant_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plant_??.png"),
       hotspot = { 13, 32 },
       fps = 10
    },
    harvesting = {
-      template = "harvest_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "harvest_??.png"),
       hotspot = { 18, 32 },
       fps = 10
    },
    gathering = {
-      template = "gather_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "gather_??.png"),
       hotspot = { 10, 34 },
       fps = 5
    }

=== modified file 'tribes/workers/atlanteans/fishbreeder/init.lua'
--- tribes/workers/atlanteans/fishbreeder/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/fishbreeder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,13 +2,11 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 22 }
    },
    freeing = {
-      template = "freeing_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "freeing_??.png"),
       hotspot = { 10, 19 },
       fps = 10
    }

=== modified file 'tribes/workers/atlanteans/fisher/init.lua'
--- tribes/workers/atlanteans/fisher/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/fisher/init.lua	2015-11-20 18:28:22 +0000
@@ -2,13 +2,11 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 2, 20 },
    },
    fishing = {
-      template = "fishing_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "fishing_??.png"),
       hotspot = { 10, 21 },
       fps = 10
    }

=== modified file 'tribes/workers/atlanteans/forester/init.lua'
--- tribes/workers/atlanteans/forester/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/forester/init.lua	2015-11-20 18:28:22 +0000
@@ -2,25 +2,21 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 23 },
    },
    dig = {
-      template = "dig_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "dig_??.png"),
       hotspot = { 5, 23 },
       fps = 5
    },
    crop = {
-      template = "plant_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plant_??.png"),
       hotspot = { 17, 21 },
       fps = 10
    },
    water = {
-      template = "water_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "water_??.png"),
       hotspot = { 18, 25 },
       fps = 5
    }

=== modified file 'tribes/workers/atlanteans/geologist/init.lua'
--- tribes/workers/atlanteans/geologist/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/geologist/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 23 },
       fps = 10
    },
    hacking = {
-      template = "hacking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "hacking_??.png"),
       hotspot = { 12, 20 },
       fps = 10
    }

=== modified file 'tribes/workers/atlanteans/horse/init.lua'
--- tribes/workers/atlanteans/horse/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/horse/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 18, 23 },
       fps = 10
    }

=== modified file 'tribes/workers/atlanteans/horsebreeder/init.lua'
--- tribes/workers/atlanteans/horsebreeder/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/horsebreeder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 23 },
    }
 }

=== modified file 'tribes/workers/atlanteans/hunter/init.lua'
--- tribes/workers/atlanteans/hunter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/hunter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "shooting_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "shooting_??.png"),
       hotspot = { 6, 29 },
       fps = 10
    }

=== modified file 'tribes/workers/atlanteans/miller/init.lua'
--- tribes/workers/atlanteans/miller/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/miller/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 22 }
    }
 }

=== modified file 'tribes/workers/atlanteans/miner/init.lua'
--- tribes/workers/atlanteans/miner/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/miner/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 3, 23 }
    }
 }

=== modified file 'tribes/workers/atlanteans/sawyer/init.lua'
--- tribes/workers/atlanteans/sawyer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/sawyer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 5, 31 }
    }
 }

=== modified file 'tribes/workers/atlanteans/scout/init.lua'
--- tribes/workers/atlanteans/scout/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/scout/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 22 },
    }
 }

=== modified file 'tribes/workers/atlanteans/shipwright/init.lua'
--- tribes/workers/atlanteans/shipwright/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/shipwright/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       sound_effect = {
             directory = "sound/hammering",
             name = "hammering",

=== modified file 'tribes/workers/atlanteans/smelter/init.lua'
--- tribes/workers/atlanteans/smelter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/smelter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 22 }
    }
 }

=== modified file 'tribes/workers/atlanteans/smoker/init.lua'
--- tribes/workers/atlanteans/smoker/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/smoker/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 17, 22 }
    }
 }

=== modified file 'tribes/workers/atlanteans/soldier/init.lua'
--- tribes/workers/atlanteans/soldier/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/soldier/init.lua	2015-11-20 18:28:22 +0000
@@ -2,68 +2,57 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 36 },
       fps = 5
    },
    atk_ok_e = {
-      template = "atk_ok_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_ok_e_??.png"),
       hotspot = { 36, 40 },
       fps = 10
    },
    atk_fail_e = {
-      template = "atk_fail_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_fail_e_??.png"),
       hotspot = { 36, 40 },
       fps = 10
    },
    eva_ok_e = {
-      template = "eva_ok_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_ok_e_??.png"),
       hotspot = { 36, 40 },
       fps = 20
    },
    eva_fail_e = {
-      template = "eva_fail_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_fail_e_??.png"),
       hotspot = { 36, 40 },
       fps = 10
    },
    atk_ok_w = {
-      template = "atk_ok_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_ok_w_??.png"),
       hotspot = { 36, 40 },
       fps = 10
    },
    atk_fail_w = {
-      template = "atk_fail_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_fail_w_??.png"),
       hotspot = { 36, 40 },
       fps = 10
    },
    eva_ok_w = {
-      template = "eva_ok_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_ok_w_??.png"),
       hotspot = { 36, 40 },
       fps = 20
    },
    eva_fail_w = {
-      template = "eva_fail_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_fail_w_??.png"),
       hotspot = { 36, 40 },
       fps = 10
    },
    die_w = {
-      template = "die_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "die_??.png"),
       hotspot = { 10, 36 },
       fps = 10
    },
    die_e = {
-      template = "die_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "die_??.png"),
       hotspot = { 10, 36 },
       fps = 10
    }

=== modified file 'tribes/workers/atlanteans/spiderbreeder/init.lua'
--- tribes/workers/atlanteans/spiderbreeder/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/spiderbreeder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 22 }
    }
 }

=== modified file 'tribes/workers/atlanteans/stonecutter/init.lua'
--- tribes/workers/atlanteans/stonecutter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/stonecutter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,13 +2,11 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 7, 20 }
    },
    hacking = {
-      template = "hacking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "hacking_??.png"),
       hotspot = { 10, 19 },
       fps = 10
    }

=== modified file 'tribes/workers/atlanteans/toolsmith/init.lua'
--- tribes/workers/atlanteans/toolsmith/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/toolsmith/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 21 }
    }
 }

=== modified file 'tribes/workers/atlanteans/trainer/init.lua'
--- tribes/workers/atlanteans/trainer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/trainer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 11, 21 }
    }
 }

=== modified file 'tribes/workers/atlanteans/weaponsmith/init.lua'
--- tribes/workers/atlanteans/weaponsmith/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/weaponsmith/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 21 }
    }
 }

=== modified file 'tribes/workers/atlanteans/weaver/init.lua'
--- tribes/workers/atlanteans/weaver/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/weaver/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 2, 22 }
    }
 }

=== modified file 'tribes/workers/atlanteans/woodcutter/init.lua'
--- tribes/workers/atlanteans/woodcutter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/atlanteans/woodcutter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,13 +2,11 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 22 }
    },
    sawing = {
-      template = "sawing_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "sawing_??.png"),
       hotspot = { 22, 19 },
       fps = 10
    }

=== modified file 'tribes/workers/barbarians/baker/init.lua'
--- tribes/workers/barbarians/baker/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/baker/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 5, 23 },
    }
 }

=== modified file 'tribes/workers/barbarians/blacksmith/init.lua'
--- tribes/workers/barbarians/blacksmith/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/blacksmith/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 6, 28 },
    }
 }

=== modified file 'tribes/workers/barbarians/blacksmith_master/init.lua'
--- tribes/workers/barbarians/blacksmith_master/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/blacksmith_master/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 3, 22 },
    }
 }

=== modified file 'tribes/workers/barbarians/brewer/init.lua'
--- tribes/workers/barbarians/brewer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/brewer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 7, 22 },
    }
 }

=== modified file 'tribes/workers/barbarians/brewer_master/init.lua'
--- tribes/workers/barbarians/brewer_master/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/brewer_master/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 26 },
    }
 }

=== modified file 'tribes/workers/barbarians/builder/init.lua'
--- tribes/workers/barbarians/builder/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/builder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "waiting_???",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "waiting_???.png"),
       hotspot = { 11, 22 },
       fps = 10
    },
    work = {
-      template = "work_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "work_??.png"),
       sound_effect = {
             directory = "sound/hammering",
             name = "hammering",

=== modified file 'tribes/workers/barbarians/carrier/init.lua'
--- tribes/workers/barbarians/carrier/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/carrier/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 14, 21 },
       fps = 5
    }

=== modified file 'tribes/workers/barbarians/cattlebreeder/init.lua'
--- tribes/workers/barbarians/cattlebreeder/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/cattlebreeder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 3, 21 },
    }
 }

=== modified file 'tribes/workers/barbarians/charcoal_burner/init.lua'
--- tribes/workers/barbarians/charcoal_burner/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/charcoal_burner/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 6, 22 },
    }
 }

=== modified file 'tribes/workers/barbarians/farmer/init.lua'
--- tribes/workers/barbarians/farmer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/farmer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,25 +2,21 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 23 },
    },
    planting = {
-      template = "plant_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plant_??.png"),
       hotspot = { 14, 25 },
       fps = 10
    },
    harvesting = {
-      template = "harvest_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "harvest_??.png"),
       hotspot = { 19, 23 },
       fps = 10
    },
    gathering = {
-      template = "gather_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "gather_??.png"),
       hotspot = { 9, 23 },
       fps = 5
    }

=== modified file 'tribes/workers/barbarians/fisher/init.lua'
--- tribes/workers/barbarians/fisher/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/fisher/init.lua	2015-11-20 18:28:22 +0000
@@ -2,13 +2,11 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 9, 39 },
    },
    fishing = {
-      template = "fishing_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "fishing_??.png"),
       hotspot = { 9, 39 },
       fps = 10
    }

=== modified file 'tribes/workers/barbarians/gamekeeper/init.lua'
--- tribes/workers/barbarians/gamekeeper/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/gamekeeper/init.lua	2015-11-20 18:28:22 +0000
@@ -2,19 +2,16 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 14, 22 }
    },
    releasein = {
-      template = "releasein_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "releasein_??.png"),
       hotspot = { 15, 22 },
       fps = 5
    },
    releaseout = {
-      template = "releaseout_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "releaseout_??.png"),
       hotspot = { 15, 22 },
       fps = 5
    }

=== modified file 'tribes/workers/barbarians/gardener/init.lua'
--- tribes/workers/barbarians/gardener/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/gardener/init.lua	2015-11-20 18:28:22 +0000
@@ -2,19 +2,16 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { -4, 11 }
    },
    planting = {
-      template = "plantreed_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plantreed_??.png"),
       hotspot = { 10, 21 },
       fps = 10
    },
    harvesting = {
-      template = "harvest_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "harvest_??.png"),
       hotspot = { 10, 22 },
       fps = 5
    }

=== modified file 'tribes/workers/barbarians/geologist/init.lua'
--- tribes/workers/barbarians/geologist/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/geologist/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 9, 21 },
       fps = 10
    },
    hacking = {
-      template = "hacking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "hacking_??.png"),
       hotspot = { 11, 18 },
       fps = 10
    }

=== modified file 'tribes/workers/barbarians/helmsmith/init.lua'
--- tribes/workers/barbarians/helmsmith/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/helmsmith/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 21 }
    }
 }

=== modified file 'tribes/workers/barbarians/hunter/init.lua'
--- tribes/workers/barbarians/hunter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/hunter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 13, 26 },
       fps = 10
    }

=== modified file 'tribes/workers/barbarians/innkeeper/init.lua'
--- tribes/workers/barbarians/innkeeper/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/innkeeper/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 9, 24 }
    }
 }

=== modified file 'tribes/workers/barbarians/lime_burner/init.lua'
--- tribes/workers/barbarians/lime_burner/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/lime_burner/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 23 },
    }
 }

=== modified file 'tribes/workers/barbarians/lumberjack/init.lua'
--- tribes/workers/barbarians/lumberjack/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/lumberjack/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 5, 23 },
       fps = 10
    },
    hacking = {
-      template = "hacking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "hacking_??.png"),
       hotspot = { 19, 17 },
       fps = 10
    }

=== modified file 'tribes/workers/barbarians/miner/init.lua'
--- tribes/workers/barbarians/miner/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/miner/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 3, 24 }
    }
 }

=== modified file 'tribes/workers/barbarians/miner_chief/init.lua'
--- tribes/workers/barbarians/miner_chief/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/miner_chief/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 3, 24 }
    }
 }

=== modified file 'tribes/workers/barbarians/miner_master/init.lua'
--- tribes/workers/barbarians/miner_master/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/miner_master/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 2, 24 }
    }
 }

=== modified file 'tribes/workers/barbarians/ox/init.lua'
--- tribes/workers/barbarians/ox/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/ox/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 25 },
       fps = 20
    }

=== modified file 'tribes/workers/barbarians/ranger/init.lua'
--- tribes/workers/barbarians/ranger/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/ranger/init.lua	2015-11-20 18:28:22 +0000
@@ -2,25 +2,21 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 11, 23 }
    },
    dig = {
-      template = "dig_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "dig_??.png"),
       hotspot = { 12, 24 },
       fps = 5
    },
    crop = {
-      template = "plant_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plant_??.png"),
       hotspot = { 18, 24 },
       fps = 10
    },
    water = {
-      template = "water_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "water_??.png"),
       hotspot = { 19, 25 },
       fps = 5
    }

=== modified file 'tribes/workers/barbarians/scout/init.lua'
--- tribes/workers/barbarians/scout/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/scout/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 23 },
    }
 }

=== modified file 'tribes/workers/barbarians/shipwright/init.lua'
--- tribes/workers/barbarians/shipwright/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/shipwright/init.lua	2015-11-20 18:28:22 +0000
@@ -2,13 +2,11 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 11, 23 },
    },
    work = {
-      template = "work_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "work_??.png"),
       sound_effect = {
             directory = "sound/hammering",
             name = "hammering",

=== modified file 'tribes/workers/barbarians/smelter/init.lua'
--- tribes/workers/barbarians/smelter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/smelter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 7, 21 }
    }
 }

=== modified file 'tribes/workers/barbarians/soldier/init.lua'
--- tribes/workers/barbarians/soldier/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/soldier/init.lua	2015-11-20 18:28:22 +0000
@@ -2,68 +2,57 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 16, 31 },
       fps = 5
    },
    atk_ok_e = {
-      template = "atk_ok_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_ok_e_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    atk_fail_e = {
-      template = "atk_fail_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_fail_e_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    eva_ok_e = {
-      template = "eva_ok_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_ok_e_??.png"),
       hotspot = { 18, 34 },
       fps = 20
    },
    eva_fail_e = {
-      template = "eva_fail_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_fail_e_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    atk_ok_w = {
-      template = "atk_ok_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_ok_w_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    atk_fail_w = {
-      template = "atk_fail_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_fail_w_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    eva_ok_w = {
-      template = "eva_ok_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_ok_w_??.png"),
       hotspot = { 18, 34 },
       fps = 20
    },
    eva_fail_w = {
-      template = "eva_fail_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_fail_w_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    die_w = {
-      template = "die_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "die_??.png"),
       hotspot = { 16, 31 },
       fps = 20
    },
    die_e = {
-      template = "die_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "die_??.png"),
       hotspot = { 16, 31 },
       fps = 20
    },

=== modified file 'tribes/workers/barbarians/stonemason/init.lua'
--- tribes/workers/barbarians/stonemason/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/stonemason/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 21 },
       fps = 10
    },
    hacking = {
-      template = "hacking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "hacking_??.png"),
       hotspot = { 8, 21 },
       fps = 10
    }

=== modified file 'tribes/workers/barbarians/trainer/init.lua'
--- tribes/workers/barbarians/trainer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/trainer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 23 }
    }
 }

=== modified file 'tribes/workers/barbarians/weaver/init.lua'
--- tribes/workers/barbarians/weaver/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/barbarians/weaver/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 5, 22 }
    }
 }

=== modified file 'tribes/workers/empire/armorsmith/init.lua'
--- tribes/workers/empire/armorsmith/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/armorsmith/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 24 }
    }
 }

=== modified file 'tribes/workers/empire/baker/init.lua'
--- tribes/workers/empire/baker/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/baker/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 5, 26 }
    }
 }

=== modified file 'tribes/workers/empire/brewer/init.lua'
--- tribes/workers/empire/brewer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/brewer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 24 }
    }
 }

=== modified file 'tribes/workers/empire/builder/init.lua'
--- tribes/workers/empire/builder/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/builder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "waiting_???",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "waiting_???.png"),
       hotspot = { 13, 21 },
       fps = 10
    },
    work = {
-      template = "work_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "work_??.png"),
       sound_effect = {
             directory = "sound/hammering",
             name = "hammering",

=== modified file 'tribes/workers/empire/carpenter/init.lua'
--- tribes/workers/empire/carpenter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/carpenter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 7, 29 }
    }
 }

=== modified file 'tribes/workers/empire/carrier/init.lua'
--- tribes/workers/empire/carrier/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/carrier/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 7, 22 },
       fps = 10
    }

=== modified file 'tribes/workers/empire/charcoal_burner/init.lua'
--- tribes/workers/empire/charcoal_burner/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/charcoal_burner/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 11, 23 }
    }
 }

=== modified file 'tribes/workers/empire/donkey/init.lua'
--- tribes/workers/empire/donkey/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/donkey/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 14, 20 },
       fps = 10
    }

=== modified file 'tribes/workers/empire/donkeybreeder/init.lua'
--- tribes/workers/empire/donkeybreeder/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/donkeybreeder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 19, 23 },
    }
 }

=== modified file 'tribes/workers/empire/farmer/init.lua'
--- tribes/workers/empire/farmer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/farmer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,25 +2,21 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 23 }
    },
    planting = {
-      template = "plant_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plant_??.png"),
       hotspot = { 14, 25 },
       fps = 10
    },
    harvesting = {
-      template = "harvest_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "harvest_??.png"),
       hotspot = { 19, 24 },
       fps = 10
    },
    gathering = {
-      template = "gather_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "gather_??.png"),
       hotspot = { 10, 23 },
       fps = 5
    }

=== modified file 'tribes/workers/empire/fisher/init.lua'
--- tribes/workers/empire/fisher/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/fisher/init.lua	2015-11-20 18:28:22 +0000
@@ -2,13 +2,11 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 7, 38 },
    },
    fishing = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "fishing_??.png"),
       hotspot = { 9, 39 },
    }
 }

=== modified file 'tribes/workers/empire/forester/init.lua'
--- tribes/workers/empire/forester/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/forester/init.lua	2015-11-20 18:28:22 +0000
@@ -2,25 +2,21 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 3, 23 }
    },
    dig = {
-      template = "dig_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "dig_??.png"),
       hotspot = { 5, 22 },
       fps = 5
    },
    crop = {
-      template = "plant_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plant_??.png"),
       hotspot = { 18, 23 },
       fps = 10
    },
    water = {
-      template = "water_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "water_??.png"),
       hotspot = { 18, 26 },
       fps = 5
    }

=== modified file 'tribes/workers/empire/geologist/init.lua'
--- tribes/workers/empire/geologist/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/geologist/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 9, 21 },
       fps = 10
    },
    hacking = {
-      template = "hacking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "hacking_??.png"),
       hotspot = { 11, 18 },
       fps = 10
    }

=== modified file 'tribes/workers/empire/hunter/init.lua'
--- tribes/workers/empire/hunter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/hunter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 21 },
       fps = 10
    }

=== modified file 'tribes/workers/empire/innkeeper/init.lua'
--- tribes/workers/empire/innkeeper/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/innkeeper/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 26 },
    }
 }

=== modified file 'tribes/workers/empire/lumberjack/init.lua'
--- tribes/workers/empire/lumberjack/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/lumberjack/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 6, 24 },
       fps = 10
    },
    hacking = {
-      template = "hacking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "hacking_??.png"),
       hotspot = { 23, 23 },
       fps = 10
    }

=== modified file 'tribes/workers/empire/miller/init.lua'
--- tribes/workers/empire/miller/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/miller/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 5, 23 }
    }
 }

=== modified file 'tribes/workers/empire/miner/init.lua'
--- tribes/workers/empire/miner/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/miner/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 3, 23 }
    }
 }

=== modified file 'tribes/workers/empire/miner_master/init.lua'
--- tribes/workers/empire/miner_master/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/miner_master/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 7, 22 }
    }
 }

=== modified file 'tribes/workers/empire/pigbreeder/init.lua'
--- tribes/workers/empire/pigbreeder/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/pigbreeder/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 16, 29 },
    }
 }

=== modified file 'tribes/workers/empire/scout/init.lua'
--- tribes/workers/empire/scout/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/scout/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 22 },
    }
 }

=== modified file 'tribes/workers/empire/shepherd/init.lua'
--- tribes/workers/empire/shepherd/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/shepherd/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 16, 29 },
    }
 }

=== modified file 'tribes/workers/empire/shipwright/init.lua'
--- tribes/workers/empire/shipwright/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/shipwright/init.lua	2015-11-20 18:28:22 +0000
@@ -2,13 +2,11 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 13, 24 },
    },
    work = {
-      template = "work_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "work_??.png"),
       sound_effect = {
             directory = "sound/hammering",
             name = "hammering",

=== modified file 'tribes/workers/empire/smelter/init.lua'
--- tribes/workers/empire/smelter/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/smelter/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 23 }
    }
 }

=== modified file 'tribes/workers/empire/soldier/init.lua'
--- tribes/workers/empire/soldier/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/soldier/init.lua	2015-11-20 18:28:22 +0000
@@ -2,68 +2,57 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 10, 36 },
       fps = 5
    },
    atk_ok_e = {
-      template = "atk_ok_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_ok_e_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    atk_fail_e = {
-      template = "atk_fail_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_fail_e_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    eva_ok_e = {
-      template = "eva_ok_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_ok_e_??.png"),
       hotspot = { 30, 36 },
       fps = 20
    },
    eva_fail_e = {
-      template = "eva_fail_e_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_fail_e_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    atk_ok_w = {
-      template = "atk_ok_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_ok_w_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    atk_fail_w = {
-      template = "atk_fail_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "atk_fail_w_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    eva_ok_w = {
-      template = "eva_ok_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_ok_w_??.png"),
       hotspot = { 30, 36 },
       fps = 20
    },
    eva_fail_w = {
-      template = "eva_fail_w_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "eva_fail_w_??.png"),
       hotspot = { 30, 36 },
       fps = 10
    },
    die_w = {
-      template = "die_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "die_??.png"),
       hotspot = { 10, 36 },
       fps = 10
    },
    die_e = {
-      template = "die_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "die_??.png"),
       hotspot = { 10, 36 },
       fps = 10
    }

=== modified file 'tribes/workers/empire/stonemason/init.lua'
--- tribes/workers/empire/stonemason/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/stonemason/init.lua	2015-11-20 18:28:22 +0000
@@ -2,14 +2,12 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 9, 23 },
       fps = 10
    },
    hacking = {
-      template = "hacking_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "hacking_??.png"),
       hotspot = { 8, 23 },
       fps = 10
    }

=== modified file 'tribes/workers/empire/toolsmith/init.lua'
--- tribes/workers/empire/toolsmith/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/toolsmith/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 24 }
    }
 }

=== modified file 'tribes/workers/empire/trainer/init.lua'
--- tribes/workers/empire/trainer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/trainer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 6, 23 }
    }
 }

=== modified file 'tribes/workers/empire/vinefarmer/init.lua'
--- tribes/workers/empire/vinefarmer/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/vinefarmer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,25 +2,21 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 23 }
    },
    dig = {
-      template = "dig_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "dig_??.png"),
       hotspot = { 8, 24 },
       fps = 10
    },
    plant = {
-      template = "plant_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "plant_??.png"),
       hotspot = { 15, 23 },
       fps = 10
    },
    gather = {
-      template = "gather_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "gather_??.png"),
       hotspot = { 9, 22 },
       fps = 10
    }

=== modified file 'tribes/workers/empire/vintner/init.lua'
--- tribes/workers/empire/vintner/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/vintner/init.lua	2015-11-20 18:28:22 +0000
@@ -3,8 +3,7 @@
 -- TODO(GunChleoc): The animations were taken from the brewer.
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 24 }
    }
 }

=== modified file 'tribes/workers/empire/weaponsmith/init.lua'
--- tribes/workers/empire/weaponsmith/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/weaponsmith/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 8, 24 }
    }
 }

=== modified file 'tribes/workers/empire/weaver/init.lua'
--- tribes/workers/empire/weaver/init.lua	2015-10-31 12:11:44 +0000
+++ tribes/workers/empire/weaver/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle_??.png"),
       hotspot = { 4, 24 },
    }
 }

=== modified file 'txts/developers.lua'
--- txts/developers.lua	2015-11-10 08:56:00 +0000
+++ txts/developers.lua	2015-11-20 18:28:22 +0000
@@ -1,3 +1,3 @@
 -- Do not edit this file - it is automatically generated
 -- by utils/update_authors.py from developers.json.
-function developers() return {{heading = _"Chieftain",image = "pics/genstats_enable_plr_01.png",entries = {{members = {"Holger Rapp (SirVer)",},},},},{heading = _"Elders",image = "pics/genstats_enable_plr_04.png",entries = {{subheading = _"Graphics",members = {"Chuck Wilder (chuckw)",},},{subheading = _"Homepage",members = {"Markus Pfitzner (janus)",},},{subheading = _"Sound",members = {"Jan Bruns (solatis)",},},{subheading = _"Tongues",members = {"GunChleoc",},},},},{heading = _"Coders",image = "pics/genstats_nrwares.png",entries = {{members = {"Holger Rapp (SirVer)","Nicolai Hähnle (ixprefect)","Florian Bluemel","Florian Falkner (foldrian)","Florian Weber (Bedouin)","Philipp Engelhard","Stefan Boettner","Tron","Martin Quinson","Raul Ferriz","Willem Jan Palenstijn","Josef Spillner","Christof Petig","Erik Sigra (sigra)","Nanne Wams","Surgery","Andrius R. (knutux)","Jari Hautio (jarih)","Peter Schwanemann (Nasenbaer)","Victor Pelt (Dwarik)","Axel Gehlert (dunkelbrauer)","András Eisenberger (Kiscsirke)","Andi","Timo","Hannes","TimoW","Jens Beyer (Qcumber-some)","Andreas Breitschopp (ab-tools)","Joachim Breitner (nomeata)","Nizamov Shawkat","Carl-Philip Hänsch (carli)","Martin Prussak (martin)","David Allwicher (aber)","Nathan Peters (nathanpeters)","Leif Sandstede (lcsand)","Matthias Horne (shevonar)","Borim (borim)","Angelo Locritani (alocritani)","Gabriel Margiani (gamag)","Anthony J. Bentley (anthonyjbentley)","Peter Waller (iri)","Johannes Ebke (sirius-in4matiker)","Andreas Eriksson","Mark Scott","Teppo Mäenpää","Steven De Herdt","Charly Ghislain (cghislai)","Tino Miegel (TinoM)","Tibor Bamhor (tiborb95)","Ferdinand Thiessen (f-thiessen)","Willy Scheibel (willyscheibel)","Martin Schmidt (mars)","Simon Eilting","Alexander Kartzow (daAlx1)","Łukasz Majcher","Paul Mehrer (meitis)",},},},},{heading = _"Graphicians",image = "pics/genstats_nrbuildings.png",entries = {{members = {"Albert Jasiowka","Holger Rapp (SirVer)","Marz","Philipp Engelhard","Yannick Warnier","Delia","Florian Neuerburg","Jerome Rosinski","Mats Olsson","Odin Omdal","Wolfgang Weidner","Andreas Baier","Juri Chomé","Toralf Bethke (bithunter32)","Peter Schwanemann (Nasenbaer)","Alexia Death","Repsa Jih","Geoffroy Schmitlin (Trimard)","Benedikt Freisen (Objpaswriter)","Stefano Guidoni (Ilguido)","Samith Sandanayake (samithdisal)","Chuck Wilder (chuckw)","Astuur","Gerrit Familiegrosskopf (kingcreole)","Florian Angermeier (fraang)",},},},},{heading = _"Musicians",image = "pics/workarea123.png",entries = {{members = {"Kristian","MiddleFinger","Valerio Orlandini (Symbiosis)","Barry van Oudtshoorn (barryvan)","Jan Bruns (Solatis)","Nikola Whallon (Saturn)","Joshua O'Leary (Joshun)",},},},},{heading = _"Sound Effects",image = "pics/workarea123.png",entries = {{members = {"Stefan de Konik","Peter Schwanemann (Nasenbaer)","Stephan","Adam Piggott (_aD)","Stanisław Gackowski (Soeb)",},},},},{heading = _"Maps and Missions",image = "pics/genstats_landsize.png",entries = {{members = {"Michal Szopa (Winterwind)","Jan-Henrik Kluth (Isch)","Peter Schwanemann (Nasenbaer)","Sven (deviant)","Tuxlands","Kamil Wilczek (Another Barbarian)","Tarvo Reim (Tarrei)","Manuel Holzmeier (Quappo)","ivh","Hanna Podewski (kristin)","Teppo Mäenpää","fk","Einstein13","Jenia","Robnick","wl-zocker",},},},},{heading = _"Campaign Story",image = "pics/ls_wlmap.png",entries = {{subheading = _"Barbarian",members = {"Bastian Rapp","Alexander Kahl (wolfpac)","Peter Schwanemann (Nasenbaer)",},},{subheading = _"Empire",members = {"Peter Schwanemann (Nasenbaer)",},},{subheading = _"Atlantean",members = {"Holger Rapp (SirVer)","Peter Schwanemann (Nasenbaer)",},},},},{heading = _"Translators",image = "pics/fsel_editor_set_height.png",entries = {{subheading = "العربية (Arabic)",members = {"abdXelrhman","m-abudrais","someone",},},{subheading = "Asturianu (Asturian)",members = {"Xuacu Saturio",},},{subheading = "Български (Bulgarian)",members = {"А. Ташев","Любомир Василев",},},{subheading = "Català (Catalan)",members = {"Guybrush88","Joan Josep","Oriol",},},{subheading = "Čeština (Czech)",members = {"Adam Matoušek","David Spanel","Jens Beyer","Jezevec","Jiří Locker","Konki","Marek Donar (Markus7cz)","Martin Volf","Martin Vecera (Marvec)","MaSo_CZ","Matej Svrcek (prometheus)","Milan Fašina","prom","Vit Hrachovy","Zbyněk Schwarz",},},{subheading = "Dansk (Danish)",members = {"Ask Hjorth Larsen","beer","Daniel Ejsing-Duun","David Lamhauge","Erik Soe Sorensen","Esben Aaberg","hulagutten","Joe Hansen (joedalton)","larsch","Nikolaj Sejergaard","silentStatic","Simon Stubben","Ville Witt",},},{subheading = "Deutsch (German)",members = {"Andreas Breitschopp","Astuur","Benedikt Tröster","Bob Johns","Borim","Clemens Dinkel","Daniel Kutrowatz","Daniel Winzen","Das MC","David Allwicher","DelphiMarkus","Dirk Stöcker","Fenris Wolf","Ferdinand T.","FetteNase","Flames_in_Paradise","fraang","Frank Kubitschek","Gabriel Margiani","Hagen","Hanna Podewski (kristin)","herbert","hurz","Johannes (nuefke)","Johannes Haupt","Kaste","Klappstuhl","Koneu","kraileth","LAZA","LennStar","Macedon","Marc Wischnowsky","Markus Pfitzner (janus)","Martin","Matthias Krüger","Max","meru","Mirian Margiani","MirkoWodtke","Mister Pi","Mr. Anderson","Ole","Peter Schwanemann (Nasenbaer)","Philipp Niemann (Azagtoth)","Provetin","Ralf-J. Block","raymond","ronny","Shevonar","SirVer","Sonnrain","Thomas","Tim O.","Timowi","Tino Miegel (TinoM)","Tobias Margiani","Venatrix","wl-zocker","Wolfgang Kurz","Wolfs","Wuzzy",},},{subheading = "Ελληνικά (Greek)",members = {"ptr","Γιάννης Ανθυμίδης",},},{subheading = "Canadian English",members = {"Ne-1",},},{subheading = "British English",members = {"_aD","Alex Denvir","Andi Chandler","Anthony Harrington","Biffaboy","Heber","Jackson Doak","James Thorrold","Jon Senior","LiSrt","Luis Miguel D.P.","mrx5682","Terry Jones","Tinker","UndiFineD","Vladimir Oka",},},{subheading = "US American English",members = {"DragonAtma",},},{subheading = "Esperanto",members = {"alms21","Fenris Wolf","Ivan Camilo Quintero Santacruz","Jens Beyer","Kristjan SCHMIDT","LaPingvino","Manuel Berkemeier","Michael Moroni",},},{subheading = "Español (Spanish)",members = {"Adolfo Jayme","Agustín Vela","Alberto D.V.","Alejandro Pérez","Antonio Trueba (Fasser)","David Mitos","David Pérez","DiegoJ","Dishito","Eduardo Alberto Calvo","Gerardb","ironfisher","Ivan","Ivan Camilo Quintero Santacruz","Javi Sol","Jonay","Joseph Molina","JoseRoberto","Juan Eduardo Riva","Kiibakun","Luis Miguel D.P.","MadkaT","Martín V.","Miguel adre","Miguel de Dios","Monkey","Pablo Frigerio","Paco Molinero","Paulomorales","pescamillam","Rafael Augusto Maguiña Yrivarren","Rafael Medina","Raul Ferriz","Roberto López","schimmm","simon","Siz","WalterCool","zer berros",},},{subheading = "Eesti keel (Estonian)",members = {"gert7","rm87",},},{subheading = "Euskara (Basque)",members = {"Mikel Alzibar",},},{subheading = "فارسی (Persian)",members = {"katy Zahedi",},},{subheading = "Suomi (Finnish)",members = {"Jari Hautio","Juhani Numminen","Markus Hällfors","Pekka Järvinen (Raspi)","Sampo Harjula","Sini Ruohomaa (Byakushin)","Teppo Mäenpää","Tommi Nirha","Vazde",},},{subheading = "Français (French)",members = {"AGuechoum","AnubiS","Audiger Jeremy","Aurelien Pavel","Benjamin Subtil","Bertram","bouchard renaud","Bruno Veilleux","clark17","crep4ever","David .","El Pensador","Eliovir","Emmanuel Andry (Eandry)","fk","François Rousselet","Gilles Aubert","Guillaume Brant","Guybrush88","Immunoman","Jean-Pierre Gemble","Hanna Podewski (kristin)","londumas","Michael Colignon","Michael DOUBEZ","Mohamed SEDKI","NonoSan","Pierre Rudloff","Sébastien Duthil","Sevy Ride","Tarou","Thomas Jungers","tomtom","Tubuntu","Ubuntu1988","verdy_p","wl-zocker","YS1","Yves MATHIEU",},},{subheading = "Gàidhlig (Scottish Gaelic)",members = {"GunChleoc",},},{subheading = "Galego (Galician)",members = {"Adrián Chaves Fernández","Antonio Trueba (Fasser)","Xosé",},},{subheading = "עברית (Hebrew)",members = {"Danny Albocher","Liel Fridman","Michael DOUBEZ","Solomon Gruber (Piql7)","Yaron",},},{subheading = "हिन्दी (Hindi)",members = {"girdhari rao",},},{subheading = "Hrvatski (Croatian)",members = {"Mario Dautović",},},{subheading = "Magyar (Hungarian)",members = {"cn4ij","Dániel Varga (EuroF)","Ferenc Nagy","Gyönki Bendegúz","HUNStree","István Kiss","jzombi","Kiscsirke","Major Gabesz","Muszela Balázs","Papp Bence","Richard Somlói","Robert Roth","SanskritFritz","Szűcs Kornél Géza",},},{subheading = "Interlingua",members = {"alms21",},},{subheading = "Bahasa Indonesia (Indonesian)",members = {"dadanhrn",},},{subheading = "Italiano (Italian)",members = {"Angelo Locritani","Colin Gibson","DarkSaivor","Davidus","Dom De Felice","Doukas7","Eulogy","Gabriel Rota","Guybrush88","ido","Loris Turchetti","Oibaf","Pierpaolo Pierozzi","pierusch","Pietro Battiston","Roberto Sciascia","Sergio Spinatelli","sgargel","simone.sandri",},},{subheading = "日本語 (Japanese)",members = {"alms21","Dios","guess880","Midori","SevyRide","tubame",},},{subheading = "Basa jawa (Javanese)",members = {"zaenal arifin",},},{subheading = "ქართული (Georgian)",members = {"Gabriel Margiani","Meyer Konrad",},},{subheading = "한국어 (Korean)",members = {"ddfddf2k",},},{subheading = "Lingua latīna (Latin)",members = {"alms21","lopho","Sonnrain","Stephan Lenk","Thorsten",},},{subheading = "Lietuvių (Lithuanian)",members = {"Mantas Kriaučiūnas",},},{subheading = "मराठी (Marathi)",members = {"Amod Ajit Karmarkar",},},{subheading = "بهاس ملايو (Malay)",members = {"abuyop",},},{subheading = "မြန်မာစ (Burmese)",members = {"pyaehtetaung",},},{subheading = "Norsk (Bokmål) (Norwegian Bokmål)",members = {"Fredrik Sudmann","Hans Joachim Desserud","Magnus Meyer Hustveit","Martin Dahl Moe","mr.x","Thorbjørn Bruarøy",},},{subheading = "Plattdütsch (Low German)",members = {"Mister Pi ","Nasenbaer ","Ole ","tando",},},{subheading = "Nederlands (Dutch)",members = {"BenW","Christian Groenendijk","Dirk Schut","fireprog","fk","Foppe Benedictus","Johan Jonkman (Dikjuh)","Maasieboy","Marcel","megabyte","Patrick van der Leer","Pieter Ouwerkerk (Pietertje)","Pietertje","PliniusNeo","REAL NAME","RickvanderZwet","Rob Snelders (Ertai)","Teun Spaans","Victor Pelt","Wim Champagne",},},{subheading = "Nynorsk (Norwegian Nynorsk)",members = {"Alexander Mackinnon Jansen","Hans Joachim Desserud","Odin Hørthe Omdal","Thorbjørn Bruarøy",},},{subheading = "Occitan",members = {"Cédric VALMARY (Tot en òc)",},},{subheading = "Polski (Polish)",members = {"Albert Einstein","Andrzej Krentosz (Endrju)","Asahi Koishi","BartekChom","Bartosz Wiśniewski","Gabriel Fortin","Hubert Pluta","Januzi (januzi)","Jacek Wolszczak (Shutdownrunner)","Jens Beyer","Karol Sobolewski","Łukasz Chełmicki","Mateusz Micał","Michal Maslanko","Michał Rzepiński","orzeh","Patryk Sawicki","Pawel PErz","Stanisław Gackowski (Soeb)","Szymon Fornal","Szymon Gackowski","Szymon Nieznański","tim","Tomasz Sterna","Wesmania","Wojtek","XeonBloomfield",},},{subheading = "Português (Portuguese)",members = {"Almufadado","daniel reis","David Rodrigues","Flávio J. Saraiva","GunChleoc","Marcelo do Pagode","Miguel de Freitas Fonseca","Tiago Silva","trewe",},},{subheading = "Português do Brasil (Brazilian Portuguese)",members = {"Alexandre","alms21","Almufadado","Cleverton","daniel reis","Fabio Garz","Flaviano Angeli","HicHic","Hriostat","Israel","JoãoPedro BrasãoToledo","Juarez S.","Júlio Cezar Santos Pires","Juno","Luiz N","Maraschin","Marcelo do Pagode","Nicolas Abril","Pedro Pisandelli","Proezas","Rafael Neri","Rayback","Rubens Bueno","Samer Ghosnlas.2932","Tomas Abril","Vitor",},},{subheading = "Română (Romanian)",members = {"Ursachi Alexandru",},},{subheading = "Русский (Russian)",members = {"Александр","Александр Бикмеев (Rombal)","Александр Глухов","Алексей Кабанов","Андрей Кулаков ","Андрей Олыкайнен ","Антон Хабаров (lu)","Виктор Биркманис","Владимир Коваленко","Глеб Синковский","Глория Хрусталёва","Денис Дерябин","Егор Панфилов","Константин Щукин","Никита Шехов","Руслан Ковтун","Сергей Фуканчик ","Юрий Соколов (Urra)","CupIvan","Georgiy","gerich","Izon","KroArtem","Lex","Massol","Papazu","SashaQR","TroubleMakerDV","Vampire Hunter D","Vlad",},},{subheading = "Kinyarwanda",members = {"Nasenbaer",},},{subheading = "සිංහල (Sinhala)",members = {"Samith Sandanayake",},},{subheading = "Slovenčina (Slovak)",members = {"Kefir111","Marek Hám","Miroslav Remák","Vladimir","Vladímir Tóth (Ike)",},},{subheading = "Slovenski jezik (Slovenian)",members = {"Andrej Znidarsic","Boštjan Miklavčič","Jure Repinc","kleb","Klemen Košir","Matevž Jekovec","Matic Gradišer","mrt",},},{subheading = "српски (Serbian)",members = {"Никола Павловић",},},{subheading = "Svenska (Swedish)",members = {"Arve Eriksson","Christian Widell","Daniel Nylander (yeager)","Frederik Pettersson (luno)","ivh","Joakim Lundborg","karlrune","Marcus E","Michael Rydén","Patrick H.","Phoenix","Rasmus Olstedt","RasmusBackman","Sigra","Treecko","Tumaini","Ulite",},},{subheading = "Türkçe (Turkish)",members = {"Asiye","Ekrem Kocadere","Ercin Senturk","Recep Hasanbaş","ScriptMonster","Volkan Gezer",},},{subheading = "українська мова (Ukranian)",members = {"Fedik","Shemet Yevhene","Сергій Дубик",},},{subheading = "Tiếng Việt (Vietnamese)",members = {"Nguyen Quang Chien",},},{subheading = "简体中文 (Simplified Chinese)",members = {"luojie-dune","XIA",},},{subheading = "繁體中文 (Traditional Chinese)",members = {"AJ","poormusic","sonny",},},},},{heading = _"Packagers",image = "pics/genstats_productivity.png",entries = {{subheading = _"Debian Linux",members = {"Martin Quinson",},},{subheading = _"Fedora Linux",members = {"Karol Trzcionka","Jochen Wiedmann",},},{subheading = _"Mandriva Linux",members = {"Emmanuel Andry (eandry)",},},{subheading = _"FreeBSD",members = {"Bartosz Fabianowski",},},{subheading = _"Mac OS X",members = {"Philipp Engelhard","Pierre Salagnac (Tarou)","Wolf St. Kappesser","David Allwicher (aber)",},},{subheading = _"Windows",members = {"Tino Miegel (TinoM)","Alexander Kahl (Wolfpac)","Geodomus","Jari Hautio",},},{subheading = _"ZetaOS",members = {"BeSman",},},},},{heading = _"Homepage",image = "pics/WL-Editor-16.png",entries = {{subheading = _"Homepage Coders",members = {"Holger Rapp (SirVer)","Stanislaw Gackowski (Soeb)","Markus Pfitzner (janus)","Tobi",},},{subheading = _"Documentation, Help and Wiki",members = {"Erik Sigra (sigra)","Florian Falkner (foldrian)","Florian Weber (bedouin)","Nicolai Haehnle","Holger Rapp (SirVer)","Johannes (nuefke)","Alexander Kahl (wolfpac)","Stanislaw Gackowski (Soeb)","Hanna Podewski (kristin)",},},},},{heading = _"Former Elders",image = "pics/genstats_enable_plr_04.png",entries = {{subheading = _"Graphics",members = {"Salamander","Alexia Death (death)",},},{subheading = _"Homepage",members = {"holymoly","Stuart Eglington (DaaL1973)","Jon Harris (jonsjava)",},},{subheading = _"Sound",members = {"Yannick Warnier",},},{subheading = _"Translation",members = {"Peter Schwanemann (Nasenbaer)","Philipp Niemann (Azagtoth)",},},},},{heading = _"Other",image = "pics/genstats_landsize.png",entries = {{members = {"Matt Howe (mdhowe)","Samuel Tilly (eldamar)","and many, many more (thank you for everything you've done)",},},},},} end
\ No newline at end of file
+function developers() return {{heading = _"Chieftain",image = "pics/genstats_enable_plr_01.png",entries = {{members = {"Holger Rapp (SirVer)",},},},},{heading = _"Elders",image = "pics/genstats_enable_plr_04.png",entries = {{subheading = _"Graphics",members = {"Chuck Wilder (chuckw)",},},{subheading = _"Homepage",members = {"Markus Pfitzner (janus)",},},{subheading = _"Sound",members = {"Jan Bruns (solatis)",},},{subheading = _"Tongues",members = {"GunChleoc",},},},},{heading = _"Coders",image = "pics/genstats_nrwares.png",entries = {{members = {"Holger Rapp (SirVer)","Nicolai Hähnle (ixprefect)","Florian Bluemel","Florian Falkner (foldrian)","Florian Weber (Bedouin)","Philipp Engelhard","Stefan Boettner","Tron","Martin Quinson","Raul Ferriz","Willem Jan Palenstijn","Josef Spillner","Christof Petig","Erik Sigra (sigra)","Nanne Wams","Surgery","Andrius R. (knutux)","Jari Hautio (jarih)","Peter Schwanemann (Nasenbaer)","Victor Pelt (Dwarik)","Axel Gehlert (dunkelbrauer)","András Eisenberger (Kiscsirke)","Andi","Timo","Hannes","TimoW","Jens Beyer (Qcumber-some)","Andreas Breitschopp (ab-tools)","Joachim Breitner (nomeata)","Nizamov Shawkat","Carl-Philip Hänsch (carli)","Martin Prussak (martin)","David Allwicher (aber)","Nathan Peters (nathanpeters)","Leif Sandstede (lcsand)","Matthias Horne (shevonar)","Borim (borim)","Angelo Locritani (alocritani)","Gabriel Margiani (gamag)","Anthony J. Bentley (anthonyjbentley)","Peter Waller (iri)","Johannes Ebke (sirius-in4matiker)","Andreas Eriksson","Mark Scott","Teppo Mäenpää","Steven De Herdt","Charly Ghislain (cghislai)","Tino Miegel (TinoM)","Tibor Bamhor (tiborb95)","Ferdinand Thiessen (f-thiessen)","Willy Scheibel (willyscheibel)","Martin Schmidt (mars)","Simon Eilting","Alexander Kartzow (daAlx1)","Łukasz Majcher","Paul Mehrer (meitis)",},},},},{heading = _"Graphicians",image = "pics/genstats_nrbuildings.png",entries = {{members = {"Albert Jasiowka","Holger Rapp (SirVer)","Marz","Philipp Engelhard","Yannick Warnier","Delia","Florian Neuerburg","Jerome Rosinski","Mats Olsson","Odin Omdal","Wolfgang Weidner","Andreas Baier","Juri Chomé","Toralf Bethke (bithunter32)","Peter Schwanemann (Nasenbaer)","Alexia Death","Repsa Jih","Geoffroy Schmitlin (Trimard)","Benedikt Freisen (Objpaswriter)","Stefano Guidoni (Ilguido)","Samith Sandanayake (samithdisal)","Chuck Wilder (chuckw)","Astuur","Gerrit Familiegrosskopf (kingcreole)","Florian Angermeier (fraang)",},},},},{heading = _"Musicians",image = "pics/workarea123.png",entries = {{members = {"Kristian","MiddleFinger","Valerio Orlandini (Symbiosis)","Barry van Oudtshoorn (barryvan)","Jan Bruns (Solatis)","Nikola Whallon (Saturn)","Joshua O'Leary (Joshun)",},},},},{heading = _"Sound Effects",image = "pics/workarea123.png",entries = {{members = {"Stefan de Konik","Peter Schwanemann (Nasenbaer)","Stephan","Adam Piggott (_aD)","Stanisław Gackowski (Soeb)",},},},},{heading = _"Maps and Missions",image = "pics/genstats_landsize.png",entries = {{members = {"Michal Szopa (Winterwind)","Jan-Henrik Kluth (Isch)","Peter Schwanemann (Nasenbaer)","Sven (deviant)","Tuxlands","Kamil Wilczek (Another Barbarian)","Tarvo Reim (Tarrei)","Manuel Holzmeier (Quappo)","ivh","Hanna Podewski (kristin)","Teppo Mäenpää","fk","Einstein13","Jenia","Robnick","wl-zocker",},},},},{heading = _"Campaign Story",image = "pics/ls_wlmap.png",entries = {{subheading = _"Barbarian",members = {"Bastian Rapp","Alexander Kahl (wolfpac)","Peter Schwanemann (Nasenbaer)",},},{subheading = _"Empire",members = {"Peter Schwanemann (Nasenbaer)",},},{subheading = _"Atlantean",members = {"Holger Rapp (SirVer)","Peter Schwanemann (Nasenbaer)",},},},},{heading = _"Translators",image = "pics/fsel_editor_set_height.png",entries = {{subheading = "العربية (Arabic)",members = {"abdXelrhman","m-abudrais","someone",},},{subheading = "Asturianu (Asturian)",members = {"Xuacu Saturio",},},{subheading = "Български (Bulgarian)",members = {"А. Ташев","Любомир Василев",},},{subheading = "Català (Catalan)",members = {"Guybrush88","Joan Josep","Oriol",},},{subheading = "Čeština (Czech)",members = {"Adam Matoušek","David Spanel","Jens Beyer","Jezevec","Jiří Locker","Konki","Marek Donar (Markus7cz)","Martin Volf","Martin Vecera (Marvec)","MaSo_CZ","Matej Svrcek (prometheus)","Milan Fašina","prom","Vit Hrachovy","Zbyněk Schwarz",},},{subheading = "Dansk (Danish)",members = {"Ask Hjorth Larsen","beer","Daniel Ejsing-Duun","David Lamhauge","Erik Soe Sorensen","Esben Aaberg","hulagutten","Joe Hansen (joedalton)","larsch","Nikolaj Sejergaard","silentStatic","Simon Stubben","Ville Witt",},},{subheading = "Deutsch (German)",members = {"Andreas Breitschopp","Astuur","Benedikt Tröster","Bob Johns","Borim","Clemens Dinkel","Daniel Kutrowatz","Daniel Winzen","Das MC","David Allwicher","DelphiMarkus","Dirk Stöcker","Fenris Wolf","Ferdinand T.","FetteNase","Flames_in_Paradise","fraang","Frank Kubitschek","Gabriel Margiani","Hagen","Hanna Podewski (kristin)","herbert","hurz","Johannes (nuefke)","Johannes Haupt","Kaste","Klappstuhl","Koneu","kraileth","LAZA","LennStar","Macedon","Marc Wischnowsky","Markus Pfitzner (janus)","Martin","Matthias Krüger","Max","meru","Mirian Margiani","MirkoWodtke","Mister Pi","Mr. Anderson","Ole","Peter Schwanemann (Nasenbaer)","Philipp Niemann (Azagtoth)","Provetin","Ralf-J. Block","raymond","ronny","Shevonar","SirVer","Sonnrain","Thomas","Tim O.","Timowi","Tino Miegel (TinoM)","Tobias Margiani","Venatrix","wl-zocker","Wolfgang Kurz","Wolfs","Wuzzy",},},{subheading = "Ελληνικά (Greek)",members = {"ptr","Γιάννης Ανθυμίδης",},},{subheading = "Canadian English",members = {"Ne-1",},},{subheading = "British English",members = {"_aD","Alex Denvir","Andi Chandler","Anthony Harrington","Biffaboy","Heber","Jackson Doak","James Thorrold","Jon Senior","LiSrt","Luis Miguel D.P.","mrx5682","Terry Jones","Tinker","UndiFineD","Vladimir Oka",},},{subheading = "US American English",members = {"DragonAtma",},},{subheading = "Esperanto",members = {"alms21","Fenris Wolf","Ivan Camilo Quintero Santacruz","Jens Beyer","Kristjan SCHMIDT","LaPingvino","Manuel Berkemeier","Michael Moroni",},},{subheading = "Español (Spanish)",members = {"Adolfo Jayme","Agustín Vela","Alberto D.V.","Alejandro Pérez","Antonio Trueba (Fasser)","David Mitos","David Pérez","DiegoJ","Dishito","Eduardo Alberto Calvo","Gerardb","ironfisher","Ivan","Ivan Camilo Quintero Santacruz","Javi Sol","Jonay","Joseph Molina","JoseRoberto","Juan Eduardo Riva","Kiibakun","Luis Miguel D.P.","MadkaT","Martín V.","Miguel adre","Miguel de Dios","Monkey","Pablo Frigerio","Paco Molinero","Paulomorales","pescamillam","Rafael Augusto Maguiña Yrivarren","Rafael Medina","Raul Ferriz","Roberto López","schimmm","simon","Siz","WalterCool","zer berros",},},{subheading = "Eesti keel (Estonian)",members = {"gert7","rm87",},},{subheading = "Euskara (Basque)",members = {"Mikel Alzibar",},},{subheading = "فارسی (Persian)",members = {"katy Zahedi",},},{subheading = "Suomi (Finnish)",members = {"Jari Hautio","Juhani Numminen","Markus Hällfors","Pekka Järvinen (Raspi)","Sampo Harjula","Sini Ruohomaa (Byakushin)","Teppo Mäenpää","Tommi Nirha","Vazde",},},{subheading = "Français (French)",members = {"AGuechoum","AnubiS","Audiger Jeremy","Aurelien Pavel","Benjamin Subtil","Bertram","bouchard renaud","Bruno Veilleux","clark17","crep4ever","David .","El Pensador","Eliovir","Emmanuel Andry (Eandry)","fk","François Rousselet","Gilles Aubert","Guillaume Brant","Guybrush88","Immunoman","Jean-Pierre Gemble","Hanna Podewski (kristin)","londumas","Michael Colignon","Michael DOUBEZ","Mohamed SEDKI","NonoSan","Pierre Rudloff","Sébastien Duthil","Sevy Ride","Tarou","Thomas Jungers","tomtom","Tubuntu","Ubuntu1988","verdy_p","wl-zocker","YS1","Yves MATHIEU",},},{subheading = "Gàidhlig (Scottish Gaelic)",members = {"GunChleoc",},},{subheading = "Galego (Galician)",members = {"Adrián Chaves Fernández","Antonio Trueba (Fasser)","Xosé",},},{subheading = "עברית (Hebrew)",members = {"Danny Albocher","Liel Fridman","Michael DOUBEZ","Solomon Gruber (Piql7)","Yaron",},},{subheading = "हिन्दी (Hindi)",members = {"girdhari rao",},},{subheading = "Hrvatski (Croatian)",members = {"Mario Dautović",},},{subheading = "Magyar (Hungarian)",members = {"cn4ij","Dániel Varga (EuroF)","Ferenc Nagy","Gyönki Bendegúz","HUNStree","István Kiss","jzombi","Kiscsirke","Major Gabesz","Muszela Balázs","Papp Bence","Richard Somlói","Robert Roth","SanskritFritz","Szűcs Kornél Géza",},},{subheading = "Interlingua",members = {"alms21",},},{subheading = "Bahasa Indonesia (Indonesian)",members = {"dadanhrn",},},{subheading = "Italiano (Italian)",members = {"Angelo Locritani","Colin Gibson","DarkSaivor","Davidus","Dom De Felice","Doukas7","Eulogy","Gabriel Rota","Guybrush88","ido","Loris Turchetti","Oibaf","Pierpaolo Pierozzi","pierusch","Pietro Battiston","Roberto Sciascia","Sergio Spinatelli","sgargel","simone.sandri",},},{subheading = "日本語 (Japanese)",members = {"alms21","Dios","guess880","Midori","SevyRide","tubame",},},{subheading = "Basa jawa (Javanese)",members = {"zaenal arifin",},},{subheading = "ქართული (Georgian)",members = {"Gabriel Margiani","Meyer Konrad",},},{subheading = "한국어 (Korean)",members = {"ddfddf2k",},},{subheading = "Lingua latīna (Latin)",members = {"alms21","lopho","Sonnrain","Stephan Lenk","Thorsten",},},{subheading = "Lietuvių (Lithuanian)",members = {"Mantas Kriaučiūnas",},},{subheading = "मराठी (Marathi)",members = {"Amod Ajit Karmarkar",},},{subheading = "بهاس ملايو (Malay)",members = {"abuyop",},},{subheading = "မြန်မာစ (Burmese)",members = {"pyaehtetaung",},},{subheading = "Norsk (Bokmål) (Norwegian Bokmål)",members = {"Fredrik Sudmann","Hans Joachim Desserud","Magnus Meyer Hustveit","Martin Dahl Moe","mr.x","Thorbjørn Bruarøy",},},{subheading = "Plattdütsch (Low German)",members = {"Mister Pi ","Nasenbaer ","Ole ","tando",},},{subheading = "Nederlands (Dutch)",members = {"BenW","Christian Groenendijk","Dirk Schut","fireprog","fk","Foppe Benedictus","Johan Jonkman (Dikjuh)","Maasieboy","Marcel","megabyte","Patrick van der Leer","Pieter Ouwerkerk (Pietertje)","Pietertje","PliniusNeo","REAL NAME","RickvanderZwet","Rob Snelders (Ertai)","Teun Spaans","Victor Pelt","Wim Champagne",},},{subheading = "Nynorsk (Norwegian Nynorsk)",members = {"Alexander Mackinnon Jansen","Hans Joachim Desserud","Odin Hørthe Omdal","Thorbjørn Bruarøy",},},{subheading = "Occitan",members = {"Cédric VALMARY (Tot en òc)",},},{subheading = "Polski (Polish)",members = {"Albert Einstein","Andrzej Krentosz (Endrju)","Asahi Koishi","BartekChom","Bartosz Wiśniewski","Gabriel Fortin","Hubert Pluta","Januzi (januzi)","Jacek Wolszczak (Shutdownrunner)","Jens Beyer","Karol Sobolewski","Łukasz Chełmicki","Mateusz Micał","Michal Maslanko","Michał Rzepiński","orzeh","Patryk Sawicki","Pawel PErz","Stanisław Gackowski (Soeb)","Szymon Fornal","Szymon Gackowski","Szymon Nieznański","tim","Tomasz Sterna","Wesmania","Wojtek","XeonBloomfield",},},{subheading = "Português (Portuguese)",members = {"Almufadado","daniel reis","David Rodrigues","Flávio J. Saraiva","GunChleoc","Marcelo do Pagode","Miguel de Freitas Fonseca","Tiago Silva","trewe",},},{subheading = "Português do Brasil (Brazilian Portuguese)",members = {"Alexandre","alms21","Almufadado","Cleverton","daniel reis","Fabio Garz","Flaviano Angeli","HicHic","Hriostat","Israel","JoãoPedro BrasãoToledo","Juarez S.","Júlio Cezar Santos Pires","Juno","Luiz N","Maraschin","Marcelo do Pagode","Nicolas Abril","Pedro Pisandelli","Proezas","Rafael Neri","Rayback","Rubens Bueno","Samer Ghosnlas.2932","Tomas Abril","Vitor",},},{subheading = "Română (Romanian)",members = {"Ursachi Alexandru",},},{subheading = "Русский (Russian)",members = {"Александр","Александр Бикмеев (Rombal)","Александр Глухов","Алексей Кабанов","Андрей Кулаков ","Андрей Олыкайнен ","Антон Хабаров (lu)","Виктор Биркманис","Владимир Коваленко","Глеб Синковский","Глория Хрусталёва","Денис Дерябин","Егор Панфилов","Константин Щукин","Никита Шехов","Руслан Ковтун","Сергей Фуканчик ","Юрий Соколов (Urra)","CupIvan","Georgiy","gerich","Izon","KroArtem","Lex","Massol","Papazu","SashaQR","TroubleMakerDV","Vampire Hunter D","Vlad",},},{subheading = "Kinyarwanda",members = {"Nasenbaer",},},{subheading = "සිංහල (Sinhala)",members = {"Samith Sandanayake",},},{subheading = "Slovenčina (Slovak)",members = {"Kefir111","Marek Hám","Miroslav Remák","Vladimir","Vladímir Tóth (Ike)",},},{subheading = "Slovenski jezik (Slovenian)",members = {"Andrej Znidarsic","Boštjan Miklavčič","Jure Repinc","kleb","Klemen Košir","Matevž Jekovec","Matic Gradišer","mrt",},},{subheading = "српски (Serbian)",members = {"Никола Павловић",},},{subheading = "Svenska (Swedish)",members = {"Arve Eriksson","Christian Widell","Daniel Nylander (yeager)","Frederik Pettersson (luno)","ivh","Joakim Lundborg","karlrune","Marcus E","Michael Rydén","Patrick H.","Phoenix","Rasmus Olstedt","RasmusBackman","Sigra","Treecko","Tumaini","Ulite",},},{subheading = "Türkçe (Turkish)",members = {"Asiye","Ekrem Kocadere","Ercin Senturk","Recep Hasanbaş","ScriptMonster","Volkan Gezer",},},{subheading = "українська мова (Ukranian)",members = {"Fedik","Shemet Yevhene","Сергій Дубик",},},{subheading = "Tiếng Việt (Vietnamese)",members = {"Nguyen Quang Chien",},},{subheading = "简体中文 (Simplified Chinese)",members = {"luojie-dune","XIA",},},{subheading = "繁體中文 (Traditional Chinese)",members = {"AJ","poormusic","sonny",},},},},{heading = _"Packagers",image = "pics/genstats_productivity.png",entries = {{subheading = _"Debian Linux",members = {"Martin Quinson",},},{subheading = _"Fedora Linux",members = {"Karol Trzcionka","Jochen Wiedmann",},},{subheading = _"Mandriva Linux",members = {"Emmanuel Andry (eandry)",},},{subheading = _"FreeBSD",members = {"Bartosz Fabianowski",},},{subheading = _"Mac OS X",members = {"Philipp Engelhard","Pierre Salagnac (Tarou)","Wolf St. Kappesser","David Allwicher (aber)",},},{subheading = _"Windows",members = {"Tino Miegel (TinoM)","Alexander Kahl (Wolfpac)","Geodomus","Jari Hautio",},},{subheading = _"ZetaOS",members = {"BeSman",},},},},{heading = _"Homepage",image = "pics/WL-Editor-16.png",entries = {{subheading = _"Homepage Coders",members = {"Holger Rapp (SirVer)","Stanislaw Gackowski (Soeb)","Markus Pfitzner (janus)","Tobi",},},{subheading = _"Documentation, Help and Wiki",members = {"Erik Sigra (sigra)","Florian Falkner (foldrian)","Florian Weber (bedouin)","Nicolai Haehnle","Holger Rapp (SirVer)","Johannes (nuefke)","Alexander Kahl (wolfpac)","Stanislaw Gackowski (Soeb)","Hanna Podewski (kristin)",},},},},{heading = _"Former Elders",image = "pics/genstats_enable_plr_04.png",entries = {{subheading = _"Graphics",members = {"Salamander","Alexia Death (death)",},},{subheading = _"Homepage",members = {"holymoly","Stuart Eglington (DaaL1973)","Jon Harris (jonsjava)",},},{subheading = _"Sound",members = {"Yannick Warnier",},},{subheading = _"Translation",members = {"Peter Schwanemann (Nasenbaer)","Philipp Niemann (Azagtoth)",},},},},{heading = _"Other",image = "pics/genstats_landsize.png",entries = {{members = {"Matt Howe (mdhowe)","Samuel Tilly (eldamar)","and many, many more (thank you for everything you've done)",},},},},} end

=== modified file 'world/critters/badger/init.lua'
--- world/critters/badger/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/badger/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "badger_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "badger_idle_??.png"),
       hotspot = { 9, 12 },
       fps = 20,
    },

=== modified file 'world/critters/brownbear/init.lua'
--- world/critters/brownbear/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/brownbear/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "brownbear_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "brownbear_idle_??.png"),
       hotspot = {21, 16},
       fps = 20
    },

=== modified file 'world/critters/bunny/init.lua'
--- world/critters/bunny/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/bunny/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "bunny_idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "bunny_idle.png"),
       hotspot = { 4, 9 },
    },
 }

=== modified file 'world/critters/chamois/init.lua'
--- world/critters/chamois/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/chamois/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "chamois_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "chamois_idle_??.png"),
       hotspot = { 11, 13 },
       fps = 20,
    },

=== modified file 'world/critters/deer/init.lua'
--- world/critters/deer/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/deer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "deer_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "deer_idle_??.png"),
       hotspot = { 1, 10 },
       fps = 20,
    },

=== modified file 'world/critters/duck/init.lua'
--- world/critters/duck/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/duck/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "duck_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "duck_??.png"),
       sound_effect = {
          directory = dirname,
          name = "duck",

=== modified file 'world/critters/elk/init.lua'
--- world/critters/elk/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/elk/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "elk_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "elk_idle_??.png"),
       hotspot = { 15, 27 },
       fps = 20,
    },

=== modified file 'world/critters/fox/init.lua'
--- world/critters/fox/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/fox/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "fox_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "fox_idle_??.png"),
       hotspot = { 10, 13 },
       fps = 10,
    },

=== modified file 'world/critters/lynx/init.lua'
--- world/critters/lynx/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/lynx/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "lynx_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "lynx_idle_??.png"),
       hotspot = { 8, 14 },
       fps = 20,
    },

=== modified file 'world/critters/marten/init.lua'
--- world/critters/marten/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/marten/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "marten_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "marten_idle_??.png"),
       hotspot = { 11, 11 },
       fps = 20,
    },

=== modified file 'world/critters/reindeer/init.lua'
--- world/critters/reindeer/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/reindeer/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "reindeer_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "reindeer_idle_??.png"),
       hotspot = { 23, 21 },
       fps = 20,
    },

=== modified file 'world/critters/sheep/init.lua'
--- world/critters/sheep/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/sheep/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "sheep_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "sheep_??.png"),
       sound_effect = {
          directory = "sound/farm",
          name = "sheep",

=== modified file 'world/critters/stag/init.lua'
--- world/critters/stag/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/stag/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "stag_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "stag_idle_??.png"),
       hotspot = { 12, 26 },
       fps = 20,
    },

=== modified file 'world/critters/wildboar/init.lua'
--- world/critters/wildboar/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/wildboar/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "wildboar_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "wildboar_idle_??.png"),
       hotspot = { 10, 18 },
       fps = 20,
    },

=== modified file 'world/critters/wisent/init.lua'
--- world/critters/wisent/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/wisent/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "wisent_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "wisent_idle_??.png"),
       hotspot = { 14, 27 },
       fps = 20,
    },

=== modified file 'world/critters/wolf/init.lua'
--- world/critters/wolf/init.lua	2015-10-31 12:11:44 +0000
+++ world/critters/wolf/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "wolf_idle_??",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "wolf_idle_??.png"),
       hotspot = { 8, 15 },
       fps = 10,
    },

=== modified file 'world/immovables/bush1/init.lua'
--- world/immovables/bush1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/bush1/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 9 },
       },
    }

=== modified file 'world/immovables/bush2/init.lua'
--- world/immovables/bush2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/bush2/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 12, 9 },
       },
    }

=== modified file 'world/immovables/bush3/init.lua'
--- world/immovables/bush3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/bush3/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 11, 14 },
       },
    }

=== modified file 'world/immovables/bush4/init.lua'
--- world/immovables/bush4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/bush4/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 12, 10 },
       },
    }

=== modified file 'world/immovables/bush5/init.lua'
--- world/immovables/bush5/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/bush5/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 14, 13 },
       },
    }

=== modified file 'world/immovables/cactus1/init.lua'
--- world/immovables/cactus1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/cactus1/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 71 },
       },
    }

=== modified file 'world/immovables/cactus2/init.lua'
--- world/immovables/cactus2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/cactus2/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 17, 25 },
       },
    }

=== modified file 'world/immovables/cactus3/init.lua'
--- world/immovables/cactus3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/cactus3/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 71 },
       },
    }

=== modified file 'world/immovables/cactus4/init.lua'
--- world/immovables/cactus4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/cactus4/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 71 },
       },
    }

=== modified file 'world/immovables/grass1/init.lua'
--- world/immovables/grass1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/grass1/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 20 },
       },
    }

=== modified file 'world/immovables/grass2/init.lua'
--- world/immovables/grass2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/grass2/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 16 },
       },
    }

=== modified file 'world/immovables/grass3/init.lua'
--- world/immovables/grass3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/grass3/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 10, 11 },
       },
    }

=== modified file 'world/immovables/manmade/artifacts/artifact00/init.lua'
--- world/immovables/manmade/artifacts/artifact00/init.lua	2015-11-07 10:54:29 +0000
+++ world/immovables/manmade/artifacts/artifact00/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 14, 20 },
       },
    }

=== modified file 'world/immovables/manmade/artifacts/artifact01/init.lua'
--- world/immovables/manmade/artifacts/artifact01/init.lua	2015-11-07 10:54:29 +0000
+++ world/immovables/manmade/artifacts/artifact01/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 14, 20 },
       },
    }

=== modified file 'world/immovables/manmade/artifacts/artifact02/init.lua'
--- world/immovables/manmade/artifacts/artifact02/init.lua	2015-11-07 10:54:29 +0000
+++ world/immovables/manmade/artifacts/artifact02/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 14, 20 },
       },
    }

=== modified file 'world/immovables/manmade/artifacts/artifact03/init.lua'
--- world/immovables/manmade/artifacts/artifact03/init.lua	2015-11-07 10:54:29 +0000
+++ world/immovables/manmade/artifacts/artifact03/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 14, 20 },
       },
    }

=== modified file 'world/immovables/manmade/bar-ruin00/init.lua'
--- world/immovables/manmade/bar-ruin00/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/manmade/bar-ruin00/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 34, 32 },
       },
    }

=== modified file 'world/immovables/manmade/bar-ruin01/init.lua'
--- world/immovables/manmade/bar-ruin01/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/manmade/bar-ruin01/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 64, 53 },
       },
    }

=== modified file 'world/immovables/manmade/bar-ruin02/init.lua'
--- world/immovables/manmade/bar-ruin02/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/manmade/bar-ruin02/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 43, 43 },
       },
    }

=== modified file 'world/immovables/manmade/bar-ruin03/init.lua'
--- world/immovables/manmade/bar-ruin03/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/manmade/bar-ruin03/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 44, 34 },
       },
    }

=== modified file 'world/immovables/manmade/debris00/init.lua'
--- world/immovables/manmade/debris00/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/manmade/debris00/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 35, 35 },
       },
    }

=== modified file 'world/immovables/manmade/debris01/init.lua'
--- world/immovables/manmade/debris01/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/manmade/debris01/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 35, 35 },
       },
    }

=== modified file 'world/immovables/manmade/debris02/init.lua'
--- world/immovables/manmade/debris02/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/manmade/debris02/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 35, 35 },
       },
    }

=== modified file 'world/immovables/manmade/snowman/init.lua'
--- world/immovables/manmade/snowman/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/manmade/snowman/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 24 },
       },
    }

=== modified file 'world/immovables/mushroom1/init.lua'
--- world/immovables/mushroom1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/mushroom1/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 6, 9 },
       },
    }

=== modified file 'world/immovables/mushroom2/init.lua'
--- world/immovables/mushroom2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/mushroom2/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 7 },
       },
    }

=== modified file 'world/immovables/pebble1/init.lua'
--- world/immovables/pebble1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/pebble1/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 3, 4 },
       },
    }

=== modified file 'world/immovables/pebble2/init.lua'
--- world/immovables/pebble2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/pebble2/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 8, 9 },
       },
    }

=== modified file 'world/immovables/pebble3/init.lua'
--- world/immovables/pebble3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/pebble3/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 3, 9 },
       },
    }

=== modified file 'world/immovables/pebble4/init.lua'
--- world/immovables/pebble4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/pebble4/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 5, 5 }
       },
    }

=== modified file 'world/immovables/pebble5/init.lua'
--- world/immovables/pebble5/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/pebble5/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 9, 6 },
       },
    }

=== modified file 'world/immovables/pebble6/init.lua'
--- world/immovables/pebble6/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/pebble6/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 8, 13 }
       },
    }

=== modified file 'world/immovables/rocks/blackland_rocks1/init.lua'
--- world/immovables/rocks/blackland_rocks1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/blackland_rocks1/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 30, 75 }
    },
 }

=== modified file 'world/immovables/rocks/blackland_rocks2/init.lua'
--- world/immovables/rocks/blackland_rocks2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/blackland_rocks2/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 30, 75 }
    },
 }

=== modified file 'world/immovables/rocks/blackland_rocks3/init.lua'
--- world/immovables/rocks/blackland_rocks3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/blackland_rocks3/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 30, 75 }
    },
 }

=== modified file 'world/immovables/rocks/blackland_rocks4/init.lua'
--- world/immovables/rocks/blackland_rocks4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/blackland_rocks4/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 30, 75 }
    },
 }

=== modified file 'world/immovables/rocks/blackland_rocks5/init.lua'
--- world/immovables/rocks/blackland_rocks5/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/blackland_rocks5/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 30, 75 }
    },
 }

=== modified file 'world/immovables/rocks/blackland_rocks6/init.lua'
--- world/immovables/rocks/blackland_rocks6/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/blackland_rocks6/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 30, 75 }
    },
 }

=== modified file 'world/immovables/rocks/desert_rocks1/init.lua'
--- world/immovables/rocks/desert_rocks1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/desert_rocks1/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 38, 82 }
    },
 }

=== modified file 'world/immovables/rocks/desert_rocks2/init.lua'
--- world/immovables/rocks/desert_rocks2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/desert_rocks2/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 36, 86 }
    },
 }

=== modified file 'world/immovables/rocks/desert_rocks3/init.lua'
--- world/immovables/rocks/desert_rocks3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/desert_rocks3/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 39, 90 }
    },
 }

=== modified file 'world/immovables/rocks/desert_rocks4/init.lua'
--- world/immovables/rocks/desert_rocks4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/desert_rocks4/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 40, 84 }
    },
 }

=== modified file 'world/immovables/rocks/desert_rocks5/init.lua'
--- world/immovables/rocks/desert_rocks5/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/desert_rocks5/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 38, 89 }
    },
 }

=== modified file 'world/immovables/rocks/desert_rocks6/init.lua'
--- world/immovables/rocks/desert_rocks6/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/desert_rocks6/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 38, 91 }
    },
 }

=== modified file 'world/immovables/rocks/greenland_rocks1/init.lua'
--- world/immovables/rocks/greenland_rocks1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/greenland_rocks1/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 39, 82 }
    },
 }

=== modified file 'world/immovables/rocks/greenland_rocks2/init.lua'
--- world/immovables/rocks/greenland_rocks2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/greenland_rocks2/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 36, 86 }
    },
 }

=== modified file 'world/immovables/rocks/greenland_rocks3/init.lua'
--- world/immovables/rocks/greenland_rocks3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/greenland_rocks3/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 40, 89 }
    },
 }

=== modified file 'world/immovables/rocks/greenland_rocks4/init.lua'
--- world/immovables/rocks/greenland_rocks4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/greenland_rocks4/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 42, 84 }
    },
 }

=== modified file 'world/immovables/rocks/greenland_rocks5/init.lua'
--- world/immovables/rocks/greenland_rocks5/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/greenland_rocks5/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 40, 89 }
    },
 }

=== modified file 'world/immovables/rocks/greenland_rocks6/init.lua'
--- world/immovables/rocks/greenland_rocks6/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/greenland_rocks6/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 38, 91 }
    },
 }

=== modified file 'world/immovables/rocks/winterland_rocks1/init.lua'
--- world/immovables/rocks/winterland_rocks1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/winterland_rocks1/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 38, 83 }
    },
 }

=== modified file 'world/immovables/rocks/winterland_rocks2/init.lua'
--- world/immovables/rocks/winterland_rocks2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/winterland_rocks2/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 36, 86 }
    },
 }

=== modified file 'world/immovables/rocks/winterland_rocks3/init.lua'
--- world/immovables/rocks/winterland_rocks3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/winterland_rocks3/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 42, 89 }
    },
 }

=== modified file 'world/immovables/rocks/winterland_rocks4/init.lua'
--- world/immovables/rocks/winterland_rocks4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/winterland_rocks4/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 44, 84 }
    },
 }

=== modified file 'world/immovables/rocks/winterland_rocks5/init.lua'
--- world/immovables/rocks/winterland_rocks5/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/winterland_rocks5/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 42, 92 }
    },
 }

=== modified file 'world/immovables/rocks/winterland_rocks6/init.lua'
--- world/immovables/rocks/winterland_rocks6/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/rocks/winterland_rocks6/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "idle.png"),
       hotspot = { 39, 90 }
    },
 }

=== modified file 'world/immovables/ruin1/init.lua'
--- world/immovables/ruin1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/ruin1/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 29, 36 },
       },
    }

=== modified file 'world/immovables/ruin2/init.lua'
--- world/immovables/ruin2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/ruin2/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 29, 36 },
       },
    }

=== modified file 'world/immovables/ruin3/init.lua'
--- world/immovables/ruin3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/ruin3/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 29, 36 },
       },
    }

=== modified file 'world/immovables/ruin4/init.lua'
--- world/immovables/ruin4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/ruin4/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 29, 36 },
       },
    }

=== modified file 'world/immovables/ruin5/init.lua'
--- world/immovables/ruin5/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/ruin5/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 29, 36 },
       },
    }

=== modified file 'world/immovables/skeleton1/init.lua'
--- world/immovables/skeleton1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/skeleton1/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 29, 36 },
       },
    }

=== modified file 'world/immovables/skeleton2/init.lua'
--- world/immovables/skeleton2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/skeleton2/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 26, 32 },
       },
    }

=== modified file 'world/immovables/skeleton3/init.lua'
--- world/immovables/skeleton3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/skeleton3/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 47, 69 },
       },
    }

=== modified file 'world/immovables/skeleton4/init.lua'
--- world/immovables/skeleton4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/skeleton4/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 26, 32 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone1_desert/init.lua'
--- world/immovables/standing_stones/standing_stone1_desert/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone1_desert/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 18, 49 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone1_summer/init.lua'
--- world/immovables/standing_stones/standing_stone1_summer/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone1_summer/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 18, 50 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone1_wasteland/init.lua'
--- world/immovables/standing_stones/standing_stone1_wasteland/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone1_wasteland/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 18, 50 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone1_winter/init.lua'
--- world/immovables/standing_stones/standing_stone1_winter/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone1_winter/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 20, 52 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone2_desert/init.lua'
--- world/immovables/standing_stones/standing_stone2_desert/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone2_desert/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 20, 38 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone2_summer/init.lua'
--- world/immovables/standing_stones/standing_stone2_summer/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone2_summer/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 20, 38 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone2_wasteland/init.lua'
--- world/immovables/standing_stones/standing_stone2_wasteland/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone2_wasteland/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 20, 38 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone2_winter/init.lua'
--- world/immovables/standing_stones/standing_stone2_winter/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone2_winter/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 20, 38 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone3_desert/init.lua'
--- world/immovables/standing_stones/standing_stone3_desert/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone3_desert/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 25, 28 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone3_summer/init.lua'
--- world/immovables/standing_stones/standing_stone3_summer/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone3_summer/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 25, 28 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone3_wasteland/init.lua'
--- world/immovables/standing_stones/standing_stone3_wasteland/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone3_wasteland/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 25, 28 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone3_winter/init.lua'
--- world/immovables/standing_stones/standing_stone3_winter/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone3_winter/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 25, 28 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone4_desert/init.lua'
--- world/immovables/standing_stones/standing_stone4_desert/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone4_desert/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 11, 73 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone4_summer/init.lua'
--- world/immovables/standing_stones/standing_stone4_summer/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone4_summer/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 11, 74 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone4_wasteland/init.lua'
--- world/immovables/standing_stones/standing_stone4_wasteland/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone4_wasteland/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 11, 74 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone4_winter/init.lua'
--- world/immovables/standing_stones/standing_stone4_winter/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone4_winter/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 12, 75 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone5_desert/init.lua'
--- world/immovables/standing_stones/standing_stone5_desert/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone5_desert/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 37, 27 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone5_summer/init.lua'
--- world/immovables/standing_stones/standing_stone5_summer/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone5_summer/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 37, 27 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone5_wasteland/init.lua'
--- world/immovables/standing_stones/standing_stone5_wasteland/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone5_wasteland/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 37, 27 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone5_winter/init.lua'
--- world/immovables/standing_stones/standing_stone5_winter/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone5_winter/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 37, 27 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone6/init.lua'
--- world/immovables/standing_stones/standing_stone6/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone6/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 63 },
       },
    }

=== modified file 'world/immovables/standing_stones/standing_stone7/init.lua'
--- world/immovables/standing_stones/standing_stone7/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/standing_stones/standing_stone7/init.lua	2015-11-20 18:28:22 +0000
@@ -9,8 +9,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 7, 63 },
       },
    }

=== modified file 'world/immovables/track_winter/init.lua'
--- world/immovables/track_winter/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/track_winter/init.lua	2015-11-20 18:28:22 +0000
@@ -10,8 +10,7 @@
    programs = {},
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 30, 15 },
       },
    }

=== modified file 'world/immovables/trees/alder/init.lua'
--- world/immovables/trees/alder/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/alder/init.lua	2015-11-20 18:28:22 +0000
@@ -31,8 +31,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -55,8 +54,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -79,8 +77,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -106,8 +103,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 23, 59 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/aspen/init.lua'
--- world/immovables/trees/aspen/init.lua	2015-11-06 12:19:22 +0000
+++ world/immovables/trees/aspen/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 47 },
          fps = 8,
       },
@@ -102,8 +99,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 23, 58 },
          fps = 10,
          sound_effect = {
@@ -112,8 +108,7 @@
          },
       },
       falling = {
-         template = "f_tree_??",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/f_tree_??.png"),
          hotspot = { 20, 59 },
          fps = 10,
          play_once = true

=== modified file 'world/immovables/trees/beech/init.lua'
--- world/immovables/trees/beech/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/beech/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -71,8 +69,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -98,8 +95,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/birch/init.lua'
--- world/immovables/trees/birch/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/birch/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 47 },
          fps = 8,
       },
@@ -101,8 +98,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 23, 58 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/cirrus/init.lua'
--- world/immovables/trees/cirrus/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/cirrus/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -49,8 +48,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -102,8 +99,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
       },

=== modified file 'world/immovables/trees/deadtree1/init.lua'
--- world/immovables/trees/deadtree1/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/deadtree1/init.lua	2015-11-20 18:28:22 +0000
@@ -14,8 +14,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 25, 56 },
       },
    }

=== modified file 'world/immovables/trees/deadtree2/init.lua'
--- world/immovables/trees/deadtree2/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/deadtree2/init.lua	2015-11-20 18:28:22 +0000
@@ -14,8 +14,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 27, 56 },
       },
    }

=== modified file 'world/immovables/trees/deadtree3/init.lua'
--- world/immovables/trees/deadtree3/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/deadtree3/init.lua	2015-11-20 18:28:22 +0000
@@ -14,8 +14,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 23, 61 },
       },
    }

=== modified file 'world/immovables/trees/deadtree4/init.lua'
--- world/immovables/trees/deadtree4/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/deadtree4/init.lua	2015-11-20 18:28:22 +0000
@@ -14,8 +14,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 23, 61 },
       },
    }

=== modified file 'world/immovables/trees/deadtree5/init.lua'
--- world/immovables/trees/deadtree5/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/deadtree5/init.lua	2015-11-20 18:28:22 +0000
@@ -14,8 +14,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 27, 56 },
       },
    }

=== modified file 'world/immovables/trees/deadtree6/init.lua'
--- world/immovables/trees/deadtree6/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/deadtree6/init.lua	2015-11-20 18:28:22 +0000
@@ -14,8 +14,7 @@
    },
    animations = {
       idle = {
-         template = "idle",
-         directory = dirname,
+         pictures = path.list_files(dirname .. "idle.png"),
          hotspot = { 23, 61 },
       },
    }

=== modified file 'world/immovables/trees/fallentree/init.lua'
--- world/immovables/trees/fallentree/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/fallentree/init.lua	2015-11-20 18:28:22 +0000
@@ -2,8 +2,7 @@
 
 animations = {
    idle = {
-      template = "fallentree_idle",
-      directory = dirname,
+      pictures = path.list_files(dirname .. "fallentree_idle.png"),
       hotspot = { 2, 31 },
    },
 }

=== modified file 'world/immovables/trees/larch/init.lua'
--- world/immovables/trees/larch/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/larch/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 4, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 9, 28 },
          fps = 8,
       },
@@ -71,8 +69,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 12, 48 },
          fps = 8,
       },
@@ -98,8 +95,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 15, 59 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/liana/init.lua'
--- world/immovables/trees/liana/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/liana/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -49,8 +48,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -77,8 +75,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -105,8 +102,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
       },

=== modified file 'world/immovables/trees/maple/init.lua'
--- world/immovables/trees/maple/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/maple/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -71,8 +69,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -98,8 +95,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 23, 59 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/mushroom_dark/init.lua'
--- world/immovables/trees/mushroom_dark/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/mushroom_dark/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -49,8 +48,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -102,8 +99,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 15,
       },

=== modified file 'world/immovables/trees/mushroom_green/init.lua'
--- world/immovables/trees/mushroom_green/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/mushroom_green/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -49,8 +48,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -102,8 +99,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
       },

=== modified file 'world/immovables/trees/mushroom_red/init.lua'
--- world/immovables/trees/mushroom_red/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/mushroom_red/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -49,8 +48,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -77,8 +75,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -105,8 +102,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
       },

=== modified file 'world/immovables/trees/oak/init.lua'
--- world/immovables/trees/oak/init.lua	2015-11-06 12:19:22 +0000
+++ world/immovables/trees/oak/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -71,8 +69,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -99,8 +96,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
          sound_effect = {
@@ -109,8 +105,7 @@
          },
       },
       falling = {
-         template = "f_tree_??",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/f_tree_??.png"),
          hotspot = { 10, 60 },
          fps = 10,
          play_once = true

=== modified file 'world/immovables/trees/palm_borassus/init.lua'
--- world/immovables/trees/palm_borassus/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/palm_borassus/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -71,8 +69,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -98,8 +95,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/palm_coconut/init.lua'
--- world/immovables/trees/palm_coconut/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/palm_coconut/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -71,8 +69,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -98,8 +95,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 59 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/palm_date/init.lua'
--- world/immovables/trees/palm_date/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/palm_date/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -101,8 +98,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/palm_oil/init.lua'
--- world/immovables/trees/palm_oil/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/palm_oil/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -75,8 +73,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -102,8 +99,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/palm_roystonea/init.lua'
--- world/immovables/trees/palm_roystonea/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/palm_roystonea/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -71,8 +69,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -98,8 +95,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/rowan/init.lua'
--- world/immovables/trees/rowan/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/rowan/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -101,8 +98,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 23, 59 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/spruce/init.lua'
--- world/immovables/trees/spruce/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/spruce/init.lua	2015-11-20 18:28:22 +0000
@@ -23,8 +23,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 4, 12 },
          fps = 8,
       },
@@ -47,8 +46,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 9, 28 },
          fps = 8,
       },
@@ -71,8 +69,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 12, 48 },
          fps = 8,
       },
@@ -98,8 +95,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 15, 59 },
          fps = 10,
          sound_effect = {

=== modified file 'world/immovables/trees/twine/init.lua'
--- world/immovables/trees/twine/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/twine/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -49,8 +48,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -102,8 +99,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
       },

=== modified file 'world/immovables/trees/umbrella_green/init.lua'
--- world/immovables/trees/umbrella_green/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/umbrella_green/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -49,8 +48,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -74,8 +72,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -102,8 +99,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
       },

=== modified file 'world/immovables/trees/umbrella_red/init.lua'
--- world/immovables/trees/umbrella_red/init.lua	2015-10-31 12:11:44 +0000
+++ world/immovables/trees/umbrella_red/init.lua	2015-11-20 18:28:22 +0000
@@ -24,8 +24,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "sapling/",
+         pictures = path.list_files(dirname .. "sapling/idle_?.png"),
          hotspot = { 5, 12 },
          fps = 8,
       },
@@ -49,8 +48,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "pole/",
+         pictures = path.list_files(dirname .. "pole/idle_?.png"),
          hotspot = { 12, 28 },
          fps = 8,
       },
@@ -77,8 +75,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "mature/",
+         pictures = path.list_files(dirname .. "mature/idle_?.png"),
          hotspot = { 18, 48 },
          fps = 8,
       },
@@ -105,8 +102,7 @@
    },
    animations = {
       idle = {
-         template = "idle_?",
-         directory = dirname .. "old/",
+         pictures = path.list_files(dirname .. "old/idle_?.png"),
          hotspot = { 24, 60 },
          fps = 10,
       },

=== modified file 'world/init.lua'
--- world/init.lua	2015-11-06 13:42:41 +0000
+++ world/init.lua	2015-11-20 18:28:22 +0000
@@ -196,8 +196,7 @@
 function add_walking_animations(table, dirname, basename, hotspot, fps)
    for idx, dir in ipairs{ "ne", "e", "se", "sw", "w", "nw" } do
       table["walk_" .. dir] = {
-         template = basename .. "_" .. dir .. "_??",
-         directory = dirname,
+         pictures = path.list_files(dirname .. basename .. "_" .. dir ..  "_??.png"),
          hotspot = hotspot,
          fps = fps,
       }

=== modified file 'world/terrains/init.lua'
--- world/terrains/init.lua	2015-10-31 12:11:44 +0000
+++ world/terrains/init.lua	2015-11-20 18:28:22 +0000
@@ -244,7 +244,7 @@
    valid_resources = {"water"},
    default_resource = "water",
    default_resource_amount = 20,
-   textures = path.list_directory(pics_dir .. "green", "sumpf_\\d+.png"),
+   textures = path.list_files(pics_dir .. "green/sumpf_??.png"),
    dither_layer = 370,
    fps = 14,
    temperature = 105,
@@ -291,7 +291,7 @@
    valid_resources = {},
    default_resource = "",
    default_resource_amount = 0,
-   textures = path.list_directory(pics_dir .. "green", "lava_\\d+.png"),
+   textures = path.list_files(pics_dir .. "green/lava_??.png"),
    dither_layer = 30,
    fps = 4,
    temperature = 1273.0,
@@ -308,7 +308,7 @@
    valid_resources = {"fish"},
    default_resource = "fish",
    default_resource_amount = 4,
-   textures = path.list_directory(pics_dir .. "green", "wasser_\\d+.png"),
+   textures = path.list_files(pics_dir .. "green/wasser_??.png"),
    dither_layer = 180,
    fps = 14,
    temperature = 100,
@@ -521,7 +521,7 @@
    valid_resources = {},
    default_resource = "",
    default_resource_amount = 0,
-   textures = path.list_directory(pics_dir .. "wasteland", "lava-stone1_\\d+.png"),
+   textures = path.list_files(pics_dir .. "wasteland/lava-stone1_??.png"),
    dither_layer = 20,
    fps = 7,
    temperature = 1273.0,
@@ -538,7 +538,7 @@
    valid_resources = {},
    default_resource = "",
    default_resource_amount = 0,
-   textures = path.list_directory(pics_dir .. "wasteland", "lava-stone2_\\d+.png"),
+   textures = path.list_files(pics_dir .. "wasteland/lava-stone2_??.png"),
    dither_layer = 10,
    fps = 7,
    temperature = 1273.0,
@@ -555,7 +555,7 @@
    valid_resources = { "fish" },
    default_resource = "fish",
    default_resource_amount = 4,
-   textures = path.list_directory(pics_dir .. "wasteland", "water_\\d+.png"),
+   textures = path.list_files(pics_dir .. "wasteland/water_??.png"),
    dither_layer = 170,
    fps = 14,
    temperature = 100,
@@ -769,7 +769,7 @@
    valid_resources = {"fish"},
    default_resource = "",
    default_resource_amount = 0,
-   textures = path.list_directory(pics_dir .. "winter", "ice_flows_\\d+.png"),
+   textures = path.list_files(pics_dir .. "winter/ice_flows_??.png"),
    dither_layer = 210,
    fps = 5,
    temperature = 50,
@@ -786,7 +786,7 @@
    valid_resources = {"fish"},
    default_resource = "",
    default_resource_amount = 0,
-   textures = path.list_directory(pics_dir .. "winter", "ice_flows2_\\d+.png"),
+   textures = path.list_files(pics_dir .. "winter/ice_flows2_??.png"),
    dither_layer = 210,
    fps = 5,
    temperature = 50,
@@ -803,7 +803,7 @@
    valid_resources = {"fish"},
    default_resource = "fish",
    default_resource_amount = 4,
-   textures = path.list_directory(pics_dir .. "winter", "water_\\d+.png"),
+   textures = path.list_files(pics_dir .. "winter/water_??.png"),
    dither_layer = 190,
    fps = 8,
    temperature = 50,
@@ -1047,7 +1047,7 @@
    valid_resources = {"fish"},
    default_resource = "fish",
    default_resource_amount = 4,
-   textures = path.list_directory(pics_dir .. "desert", "wasser_\\d+.png"),
+   textures = path.list_files(pics_dir .. "desert/wasser_??.png"),
    dither_layer = 200,
    fps = 5,
    temperature = 150,


Follow ups