Commit 2912aa1ba0a4813268ca04abdbc32cd7ac5647f1

Authored by dg
1 parent 07cd9b48

Troll stew!


git-svn-id: http://svn.net-core.org/repos/t-engine4@4139 51575b47-30f0-44d4-a5cc-537603b46e54
... ... @@ -22,6 +22,7 @@ defineTile("$", "GRASS", {random_filter={type="money"}})
22 22 defineTile("*", "GRASS", {random_filter={type="gem"}})
23 23 defineTile("<", "GRASS_UP4")
24 24 defineTile(".", "GRASS")
  25 +defineTile("=", "STEW")
25 26 defineTile("@", "GRASS", nil, "TROLL_BILL")
26 27 defineTile("t", "HARDTREE")
27 28 defineTile("T", "GRASS", nil, {random_filter={type="giant", subtype="troll"}})
... ... @@ -44,7 +45,7 @@ ttttttttttt..ttttttt
44 45 tttttt.ttttT.ttttttt
45 46 ttttt$$$.......ttttt
46 47 tttt.$$$.......ttttt
47   -ttttt.@.........tttt
  48 +ttttt.@=........tttt
48 49 <...t***........Tttt
49 50 ttt.t***........tttt
50 51 ttt.t.t.........tttt
... ...
... ... @@ -20,3 +20,12 @@
20 20 load("/data/general/grids/basic.lua")
21 21 load("/data/general/grids/forest.lua")
22 22 load("/data/general/grids/water.lua")
  23 +
  24 +newEntity{
  25 + define_as = "STEW",
  26 + type = "wall", subtype = "grass",
  27 + name = "troll stew", image = "terrain/grass.png", add_mos={{image="terrain/troll_stew.png"}},
  28 + display = '~', color=colors.LIGHT_RED, back_color=colors.RED,
  29 + does_block_move = true,
  30 + pass_projectile = true,
  31 +}
... ...
... ... @@ -71,7 +71,7 @@
71 71 </tile>
72 72 <tile id="1">
73 73 <properties>
74   - <property name="display" value="2"/>
  74 + <property name="display" value="="/>
75 75 </properties>
76 76 </tile>
77 77 <tile id="2">
... ... @@ -185,7 +185,7 @@
185 185 </tileset>
186 186 <layer name="Terrain" width="20" height="20">
187 187 <data encoding="base64" compression="zlib">
188   - eJwzZ2BgMB8mmIsG5lHTTErMw6aPXPO4iMTUNIsUd1Ji5lYs8qSYh8+d5JhHTJySYi65aYRa5hFjLjXNI8d9lKRlXGxccqT6ZyUJ7hkKGABHfkHJ
  188 + eJwzZ2BgMB8mmIsG5lHTTErMw6aPXPO4iMTUNIsUd8LUbyPDzK1Y5ElxIz53kmMeMXFKirnkphFqmUeMudQ0jxz3UZKWcbFxyZHqn5UkuGcoYAC5zEJ1
189 189 </data>
190 190 </layer>
191 191 <objectgroup name="Actor" width="20" height="20">
... ...