diff --git a/game/modules/tome/class/Grid.lua b/game/modules/tome/class/Grid.lua index a84f6d0d3ebde42727ffe097dbce86a518ee3072..61a2daf980e9e2b9b890a9727ff303a0b8f036a2 100644 --- a/game/modules/tome/class/Grid.lua +++ b/game/modules/tome/class/Grid.lua @@ -102,6 +102,7 @@ end -- You may overload this method to customize your minimap function _M:setupMinimapInfo(mo, map) if self.change_level then mo:minimap(240, 0, 240) return end + if self.special_minimap then mo:minimap(self.special_minimap.r, self.special_minimap.g, self.special_minimap.b) return end return engine.Grid.setupMinimapInfo(self, mo, map) end diff --git a/game/modules/tome/data/general/grids/lava.lua b/game/modules/tome/data/general/grids/lava.lua index d62d3367e080ec7d917b680553926cfb78243294..ba29310599604894d9e006559f870f46a83de6d1 100644 --- a/game/modules/tome/data/general/grids/lava.lua +++ b/game/modules/tome/data/general/grids/lava.lua @@ -58,6 +58,7 @@ newEntity{ type = "floor", subtype = "molten_lava", name = "molten lava", image = "terrain/lava/molten_lava_5_01.png", display = '%', color=colors.LIGHT_RED, back_color=colors.RED, + special_minimap = colors.RED, does_block_move = true, pass_projectile = true, shader = "lava", diff --git a/game/modules/tome/data/general/grids/water.lua b/game/modules/tome/data/general/grids/water.lua index 621aa9de8c5a45d2991f0464f465a49e83e32034..2c3eb770d5e54260e78d4b80b8a5e09aa9fde001 100644 --- a/game/modules/tome/data/general/grids/water.lua +++ b/game/modules/tome/data/general/grids/water.lua @@ -123,6 +123,7 @@ newEntity{ name = "deep water", image = "terrain/water_floor.png", display = '~', color=colors.AQUAMARINE, back_color=colors.DARK_BLUE, always_remember = true, + special_minimap = colors.BLUE, } ----------------------------------------- diff --git a/game/modules/tome/data/zones/last-hope-graveyard/grids.lua b/game/modules/tome/data/zones/last-hope-graveyard/grids.lua index ca542791fc9195066ffd204d7664fa06ec900b5b..65874bd17d6a2c8afaa1dfef624a71075848313c 100644 --- a/game/modules/tome/data/zones/last-hope-graveyard/grids.lua +++ b/game/modules/tome/data/zones/last-hope-graveyard/grids.lua @@ -42,7 +42,8 @@ for i = 1, 20 do newEntity{ base="SWAMPTREE", define_as = "SWAMPTREE"..i, image newEntity{ base = "FLOOR", define_as = "ROAD", type = "floor", subtype = "road", name="cobblestone road", - display='.', image="terrain/stone_road1.png" + display='.', image="terrain/stone_road1.png", + special_minimap = colors.DARK_GREY, } newEntity{ base = "FLOOR", define_as = "GRAVE", diff --git a/game/modules/tome/data/zones/town-angolwen/grids.lua b/game/modules/tome/data/zones/town-angolwen/grids.lua index 07dedb1a92b239c00007de365c972f40195e24a6..c213e1f71b2576e67432245a65959e6e9a5f1cdf 100644 --- a/game/modules/tome/data/zones/town-angolwen/grids.lua +++ b/game/modules/tome/data/zones/town-angolwen/grids.lua @@ -31,7 +31,8 @@ for i = 1, 4 do newEntity{ base = "FIELDS", define_as = "FIELDS"..i, image="terr newEntity{ base = "FLOOR", define_as = "COBBLESTONE", name="cobblestone road", - display='.', image="terrain/stone_road1.png" + display='.', image="terrain/stone_road1.png", + special_minimap = colors.DARK_GREY, } newEntity{ base = "FLOOR", define_as = "ROCK", diff --git a/game/modules/tome/data/zones/town-derth/grids.lua b/game/modules/tome/data/zones/town-derth/grids.lua index 1c8fdbbc32a6c62dc7d6b7a5db44bdf19f799a49..a8f7070fdcb9f573bbc16e7861d5d072dec70c1b 100644 --- a/game/modules/tome/data/zones/town-derth/grids.lua +++ b/game/modules/tome/data/zones/town-derth/grids.lua @@ -28,5 +28,6 @@ newEntity{ base = "GRASS", define_as = "FIELDS", newEntity{ base = "FLOOR", define_as = "COBBLESTONE", name="cobblestone road", - display='.', image="terrain/stone_road1.png" + display='.', image="terrain/stone_road1.png", + special_minimap = colors.DARK_GREY, } diff --git a/game/modules/tome/data/zones/town-gates-of-morning/grids.lua b/game/modules/tome/data/zones/town-gates-of-morning/grids.lua index 7d5d236cd2b34e2b609d4556d6b606b65d903dc0..ccd3c8936e666acc2d1e86baff6082f021853579 100644 --- a/game/modules/tome/data/zones/town-gates-of-morning/grids.lua +++ b/game/modules/tome/data/zones/town-gates-of-morning/grids.lua @@ -25,7 +25,8 @@ load("/data/general/grids/sand.lua") newEntity{ base = "FLOOR", define_as = "ROAD", name="cobblestone road", - display='.', image="terrain/stone_road1.png" + display='.', image="terrain/stone_road1.png", + special_minimap = colors.DARK_GREY, } newEntity{ diff --git a/game/modules/tome/data/zones/town-last-hope/grids.lua b/game/modules/tome/data/zones/town-last-hope/grids.lua index a4412a7fe9a38bdaeb4cb25b92876a55c0f100b6..f603c164faa432368910068422bd27a52c29f414 100644 --- a/game/modules/tome/data/zones/town-last-hope/grids.lua +++ b/game/modules/tome/data/zones/town-last-hope/grids.lua @@ -23,7 +23,8 @@ load("/data/general/grids/mountain.lua") newEntity{ base = "FLOOR", define_as = "ROAD", name="cobblestone road", - display='.', image="terrain/stone_road1.png" + display='.', image="terrain/stone_road1.png", + special_minimap = colors.DARK_GREY, } newEntity{ diff --git a/game/modules/tome/data/zones/town-shatur/grids.lua b/game/modules/tome/data/zones/town-shatur/grids.lua index c05976ed0c68e8cd9e9e28ba08b136ad9f9b3f9d..9983f3ab07122cb7a9d361578b8fde5085d532c9 100644 --- a/game/modules/tome/data/zones/town-shatur/grids.lua +++ b/game/modules/tome/data/zones/town-shatur/grids.lua @@ -24,5 +24,6 @@ load("/data/general/grids/mountain.lua", function(e) if e.image == "terrain/rock newEntity{ base = "FLOOR", define_as = "COBBLESTONE", name="cobblestone road", - display='.', image="terrain/stone_road1.png" + display='.', image="terrain/stone_road1.png", + special_minimap = colors.DARK_GREY, } diff --git a/game/modules/tome/data/zones/town-zigur/grids.lua b/game/modules/tome/data/zones/town-zigur/grids.lua index 3fcaa088e0e1975ccc4ed861f8b2ca755653dc9d..b894be51ffd5672d1a32a6ee849a44fea8865d51 100644 --- a/game/modules/tome/data/zones/town-zigur/grids.lua +++ b/game/modules/tome/data/zones/town-zigur/grids.lua @@ -51,7 +51,8 @@ for i = 1, 4 do newEntity{ base = "FIELDS", define_as = "FIELDS"..i, image="terr newEntity{ base = "FLOOR", define_as = "COBBLESTONE", name="cobblestone road", - display='.', image="terrain/stone_road1.png" + display='.', image="terrain/stone_road1.png", + special_minimap = colors.DARK_GREY, } newEntity{ base = "HARDWALL", define_as = "ROCK", diff --git a/game/modules/tome/data/zones/trollmire/grids.lua b/game/modules/tome/data/zones/trollmire/grids.lua index a91d9ff5394f468f7f43cfb3775727224dfc9c06..49c06757a1d5c176d5f89c05df3d11d6a1bd3e02 100644 --- a/game/modules/tome/data/zones/trollmire/grids.lua +++ b/game/modules/tome/data/zones/trollmire/grids.lua @@ -25,7 +25,8 @@ local grass_editer = { method="borders_def", def="grass"} newEntity{ base = "FLOOR", define_as = "DIRT", name="dirt road", - display='.', image="terrain/stone_road1.png" + display='.', image="terrain/stone_road1.png", + special_minimap = colors.DARK_GREY, } newEntity{ diff --git a/game/modules/tome/dialogs/Birther.lua b/game/modules/tome/dialogs/Birther.lua index 8ed412a8a0cf227a71d186396dc96d1478036c9f..1a0217b7e5e5e72c07a3328809054a894acc541b 100644 --- a/game/modules/tome/dialogs/Birther.lua +++ b/game/modules/tome/dialogs/Birther.lua @@ -234,8 +234,8 @@ function _M:makeDefault() self:setDescriptor("permadeath", "Adventure") self:setDescriptor("race", "Human") self:setDescriptor("subrace", "Higher") - self:setDescriptor("class", "Celestial") - self:setDescriptor("subclass", "Sun Paladin") + self:setDescriptor("class", "Warrior") + self:setDescriptor("subclass", "Fighter") __module_extra_info.no_birth_popup = true self:atEnd("created") end