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

more custom tiles for donators, including a snowman !

dwarf female moddable tiles

Random elites & bosses based on player races (like adventurer parties) now use moddable tiles


git-svn-id: http://svn.net-core.org/repos/t-engine4@3698 51575b47-30f0-44d4-a5cc-537603b46e54
parent f106bc63
No related branches found
No related tags found
No related merge requests found
Showing
with 52 additions and 12 deletions
......@@ -1744,7 +1744,7 @@ function _M:updateModdableTile()
if not self.moddable_tile then return end
self:removeAllMOs()
local base = "player/"..self.moddable_tile.."/"
local base = "player/"..self.moddable_tile:gsub("#sex#", self.female and "female" or "male").."/"
self.image = base.."base_shadow_01.png"
self.add_mos = {}
......
......@@ -75,6 +75,7 @@ newBirthDescriptor
[ActorTalents.T_DWARF_RESILIENCE]=1,
},
copy = {
moddable_tile = "dwarf_#sex#",
life_rating=12,
},
experience = 1.25,
......
......@@ -33,40 +33,79 @@ newEntity{
size_category = 3,
open_door = true,
-- moddable_tile = "yeek",
}
newEntity{ base = "BASE_NPC_HUMANOID_RANDOM_BOSS",
name = "human", subtype = "human", color=colors.LIGHT_UMBER,
image = "player/cornac_male.png",
humanoid_random_boss = 1,
resolvers.generic(function(e)
if rng.percent(50) then
e.female = true
image = "player/cornac_female.png"
else
image = "player/cornac_male.png"
end
e.moddable_tile = "cornac_#sex#"
end),
humanoid_random_boss = 10,
resolvers.racial(),
}
newEntity{ base = "BASE_NPC_HUMANOID_RANDOM_BOSS",
name = "thalore", subtype = "thalore", color=colors.LIGHT_GREEN,
image = "player/thalore_female.png",
humanoid_random_boss = 1,
resolvers.generic(function(e)
if rng.percent(50) then
e.female = true
image = "player/thalore_female.png"
else
image = "player/thalore_male.png"
end
e.moddable_tile = "thalore_#sex#"
end),
humanoid_random_boss = 10,
resolvers.racial(),
}
newEntity{ base = "BASE_NPC_HUMANOID_RANDOM_BOSS",
name = "shalore", subtype = "shalore", color=colors.LIGHT_BLUE,
image = "player/shalore_male.png",
humanoid_random_boss = 1,
resolvers.generic(function(e)
if rng.percent(50) then
e.female = true
image = "player/shalore_female.png"
else
image = "player/shalore_male.png"
end
e.moddable_tile = "shalore_#sex#"
end),
humanoid_random_boss = 10,
resolvers.racial(),
}
newEntity{ base = "BASE_NPC_HUMANOID_RANDOM_BOSS",
name = "halfling", subtype = "halfling", color=colors.BLUE,
image = "player/halfling_female.png",
humanoid_random_boss = 1,
resolvers.generic(function(e)
if rng.percent(50) then
e.female = true
image = "player/halfling_female.png"
else
image = "player/halfling_male.png"
end
e.moddable_tile = "halfling_#sex#"
end),
humanoid_random_boss = 10,
resolvers.racial(),
}
newEntity{ base = "BASE_NPC_HUMANOID_RANDOM_BOSS",
name = "dwarf", subtype = "dwarf", color=colors.UMBER,
image = "player/dwarf_male.png",
humanoid_random_boss = 2,
resolvers.generic(function(e)
if rng.percent(50) then
e.female = true
image = "player/dwarf_female.png"
else
image = "player/dwarf_male.png"
end
e.moddable_tile = "dwarf_#sex#"
end),
humanoid_random_boss = 1,
resolvers.racial(),
}
game/modules/tome/data/gfx/shockbolt/npc/humanoid_human_townsfolk_village_idiot01_64.png

5.74 KiB

game/modules/tome/data/gfx/shockbolt/npc/snowman01.png

2.43 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/base_01.png

18.7 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/base_shadow_01.png

1.48 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/braid_01.png

1.77 KiB

game/modules/tome/data/gfx/shockbolt/player/dwarf_female/cloak_behind_01.png

4.42 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