Skip to content
Snippets Groups Projects
Commit 7c8bee28 authored by dg's avatar dg
Browse files

new jungle tileset

git-svn-id: http://svn.net-core.org/repos/t-engine4@4593 51575b47-30f0-44d4-a5cc-537603b46e54
parent 94c526e1
No related branches found
No related tags found
No related merge requests found
Showing
with 70 additions and 0 deletions
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
local grass_editer = { method="borders_def", def="grass"}
newEntity{
define_as = "JUNGLE_GRASS",
type = "floor", subtype = "grass",
name = "grass", image = "terrain/jungle/jungle_grass_floor_01.png",
display = '.', color=colors.LIGHT_GREEN, back_color={r=44,g=95,b=43},
grow = "TREE",
nice_tiler = { method="replace", base={"JUNGLE_GRASS_PATCH", 60, 1, 5+8+3+4+4}},
nice_editer = grass_editer,
}
for i = 1, 5 do
newEntity{ base = "JUNGLE_GRASS", define_as = "JUNGLE_GRASS_PATCH"..i, add_displays={class.new{z=3,image = "terrain/jungle/jungle_brush_"..({2,3,4,6,8})[i].."_64_01.png"}} }
end
for i = 1, 8 do
newEntity{ base = "JUNGLE_GRASS", define_as = "JUNGLE_GRASS_PATCH"..(i+5), add_displays={class.new{z=3,image = "terrain/jungle/jungle_brush_"..({4,5,6,7,8,9,10,11})[i].."_128_01.png", display_x=-0.5, display_y=-0.5, display_w=2, display_h=2}} }
end
for i = 1, 3 do
newEntity{ base = "JUNGLE_GRASS", define_as = "JUNGLE_GRASS_PATCH"..(i+5+8), add_displays={class.new{z=3,image = "terrain/jungle/jungle_brush_"..({3,4,5})[i].."_192_01.png", display_x=-1, display_y=-1, display_w=3, display_h=3}} }
end
for i = 1, 4 do
newEntity{ base = "JUNGLE_GRASS", define_as = "JUNGLE_GRASS_PATCH"..(i+5+8+3), add_displays={class.new{z=3,image = "terrain/jungle/jungle_dirt_var_"..i.."_64_01.png"}} }
end
for i = 1, 4 do
newEntity{ base = "JUNGLE_GRASS", define_as = "JUNGLE_GRASS_PATCH"..(i+5+8+3+4), add_displays={class.new{z=3,image = "terrain/jungle/jungle_plant_0"..i..".png"}} }
end
newEntity{
define_as = "JUNGLE_DIRT",
type = "floor", subtype = "mud",
name = "muddy floor", image = "terrain/jungle/jungle_dirt_floor_01.png",
display = '.', color=colors.LIGHT_GREEN, back_color={r=44,g=95,b=43},
}
newEntity{
define_as = "JUNGLE_TREE",
type = "wall", subtype = "grass",
name = "tree",
image = "terrain/tree.png",
display = '#', color=colors.LIGHT_GREEN, back_color={r=44,g=95,b=43},
always_remember = true,
can_pass = {pass_tree=1},
does_block_move = true,
block_sight = true,
dig = "GRASS",
nice_tiler = { method="replace", base={"TREE", 100, 1, 30}},
nice_editer = grass_editer,
}
for i = 1, 30 do
newEntity{ base="TREE", define_as = "TREE"..i, image = "terrain/jungle/jungle_grass_floor_01.png", add_displays = class:makeTrees("terrain/jungle/jungle_tree_", 17, 7)}
end
game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_10_128_01.png

17.8 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_11_128_01.png

15 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_12_128_01.png

29.2 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_1_128_01.png

24.1 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_1_192_01.png

52.2 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_1_256_01.png

41.6 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_1_64_01.png

8.36 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_2_128_01.png

25.4 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_2_192_01.png

60.3 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_2_64_01.png

5.48 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_3_128_01.png

24.9 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_3_192_01.png

19.5 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_3_64_01.png

7.11 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_4_128_01.png

13 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_4_192_01.png

23.1 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_4_64_01.png

5.1 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_5_128_01.png

17.6 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_5_192_01.png

20.8 KiB

game/modules/tome/data/gfx/shockbolt/terrain/jungle/jungle_brush_5_64_01.png

9.43 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment