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

fix

Allow dwarven females to be played


git-svn-id: http://svn.net-core.org/repos/t-engine4@1684 51575b47-30f0-44d4-a5cc-537603b46e54
parent 68c10e79
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ newBirthDescriptor{ ...@@ -26,7 +26,6 @@ newBirthDescriptor{
desc = { desc = {
"Dwarves are a secretive people, hailing from their underground homes of the Iron Throne", "Dwarves are a secretive people, hailing from their underground homes of the Iron Throne",
"They are a sturdy race and are known for their masterwork, yet they are not well loved, having left other races to fend for themselves in past conflicts.", "They are a sturdy race and are known for their masterwork, yet they are not well loved, having left other races to fend for themselves in past conflicts.",
"Female dwarves remain a mystery and as such may not be played."
}, },
descriptor_choices = descriptor_choices =
{ {
...@@ -35,11 +34,6 @@ newBirthDescriptor{ ...@@ -35,11 +34,6 @@ newBirthDescriptor{
__ALL__ = "disallow", __ALL__ = "disallow",
Dwarf = "allow", Dwarf = "allow",
}, },
sex =
{
__ALL__ = "disallow",
Male = "allow",
},
}, },
copy = { copy = {
faction = "iron-throne", faction = "iron-throne",
...@@ -62,7 +56,6 @@ newBirthDescriptor ...@@ -62,7 +56,6 @@ newBirthDescriptor
desc = { desc = {
"Dwarves are a secretive people, hailing from their underground homes of the Iron Throne", "Dwarves are a secretive people, hailing from their underground homes of the Iron Throne",
"They are a sturdy race and are known for their masterwork, yet they are not well loved, having left other races to fend for themselves in past conflicts.", "They are a sturdy race and are known for their masterwork, yet they are not well loved, having left other races to fend for themselves in past conflicts.",
"Female dwarves remain a mystery and as such may not be played.",
"They possess the #GOLD#Resilience of the Dwarves#WHITE# which allows them to increase their armour, physical and spell saves for a few turns.", "They possess the #GOLD#Resilience of the Dwarves#WHITE# which allows them to increase their armour, physical and spell saves for a few turns.",
"#GOLD#Stats modifiers:", "#GOLD#Stats modifiers:",
"#LIGHT_BLUE# * +4 Strength, -2 Dexterity, +3 Constitution", "#LIGHT_BLUE# * +4 Strength, -2 Dexterity, +3 Constitution",
......
...@@ -37,7 +37,7 @@ newBirthDescriptor{ ...@@ -37,7 +37,7 @@ newBirthDescriptor{
talents = {}, talents = {},
experience = 1.0, experience = 1.0,
copy = { copy = {
faction = "reunited-kingdom", faction = "allied-kingdoms",
type = "humanoid", subtype="human", type = "humanoid", subtype="human",
}, },
} }
......
...@@ -103,7 +103,7 @@ newEntity{ ...@@ -103,7 +103,7 @@ newEntity{
}, },
post_process = function(level) post_process = function(level)
for uid, e in pairs(level.entities) do for uid, e in pairs(level.entities) do
if e.faction ~= "reunited-kingdom" then e.faction="assassin-lair" end if e.faction ~= "allied-kingdoms" then e.faction="assassin-lair" end
if not e.can_talk then e.can_talk = "assassin-lord-thieves" end if not e.can_talk then e.can_talk = "assassin-lord-thieves" end
end end
end, end,
......
...@@ -73,7 +73,7 @@ defineTile('@', "FLOOR", nil, mod.class.NPC.new{ ...@@ -73,7 +73,7 @@ defineTile('@', "FLOOR", nil, mod.class.NPC.new{
name = "Lost Merchant", name = "Lost Merchant",
size_category = 3, size_category = 3,
ai = "simple", ai = "simple",
faction = "reunited-kingdom", faction = "allied-kingdoms",
can_talk = "lost-merchant", can_talk = "lost-merchant",
is_merchant = true, is_merchant = true,
}) })
......
...@@ -37,7 +37,7 @@ newEntity{ define_as = "CLOAK_DECEPTION", ...@@ -37,7 +37,7 @@ newEntity{ define_as = "CLOAK_DECEPTION",
on_wear = function(self, who) on_wear = function(self, who)
who.old_faction_cloak = who.faction who.old_faction_cloak = who.faction
who.faction = "reunited-kingdom" who.faction = "allied-kingdoms"
if who.alchemy_golem then who.alchemy_golem.faction = who.faction end if who.alchemy_golem then who.alchemy_golem.faction = who.faction end
if who.player then engine.Map:setViewerFaction(who.faction) end if who.player then engine.Map:setViewerFaction(who.faction) end
game.logPlayer(who, "#LIGHT_BLUE#An illusion appears around %s, making it appear human.", who.name:capitalize()) game.logPlayer(who, "#LIGHT_BLUE#An illusion appears around %s, making it appear human.", who.name:capitalize())
......
...@@ -109,7 +109,7 @@ newEntity{ define_as = "GOLBUG", ...@@ -109,7 +109,7 @@ newEntity{ define_as = "GOLBUG",
-- The messager sent by last-hope -- The messager sent by last-hope
newEntity{ define_as = "HARNO", newEntity{ define_as = "HARNO",
type = "humanoid", subtype = "human", unique = true, type = "humanoid", subtype = "human", unique = true,
faction = "reunited-kingdom", faction = "allied-kingdoms",
name = "Harno, Herald of Last Hope", name = "Harno, Herald of Last Hope",
display = "@", color=colors.LIGHT_BLUE, display = "@", color=colors.LIGHT_BLUE,
desc = [[This is one of the heralds of Last Hope, he seems to be looking for you.]], desc = [[This is one of the heralds of Last Hope, he seems to be looking for you.]],
......
...@@ -63,7 +63,7 @@ A gloomy aura emanates from him.]], ...@@ -63,7 +63,7 @@ A gloomy aura emanates from him.]],
newEntity{ defined_as = "LUMBERJACK", newEntity{ defined_as = "LUMBERJACK",
type = "humanoid", subtype = "human", unique = true, type = "humanoid", subtype = "human", unique = true,
name = "lumberjack", name = "lumberjack",
display = "p", color=colors.UMBER, faction = "reunited-kingdom", display = "p", color=colors.UMBER, faction = "allied-kingdoms",
desc = [[A lumberjack, cutting wood is his job, dream and passion.]], desc = [[A lumberjack, cutting wood is his job, dream and passion.]],
level_range = {1, 1}, exp_worth = 1, level_range = {1, 1}, exp_worth = 1,
rarity = 1, rarity = 1,
......
No preview for this file type
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