Lukep and bricks, i appreciate your help immensely.
I looked into the quotation mark and that caused me to notice several other problems as well, so i went ahead and repaired them.
unfortunately the problem persists.
Code: Select all
---------------------------------------------------------
-- Constructs --
---------------------------------------------------------
newBirthDescriptor{
type = "race",
name = "Construct",
locked = function() return profile.mod.allow_build.construct and true or "hide" end,
locked_desc = "",
desc = {
"Constructs are not natural creatures.",
"The most usual contructs are golems, but they can vary in shape, form and abilities.",
},
descriptor_choices =
{
subrace =
{
__ALL__ = "disallow",
["Runic Golem"] = "allow",
["Homunculus"] = "allow",
},
},
random_escort_possibilities = { {"trollmire", 2, 3}, {"ruins-kor-pul", 1, 2}, {"daikara", 1, 5}, {"old-forest", 1, 5}, {"dreadfell", 1, 8}, {"reknor", 1, 1}, },
}
newBirthDescriptor
{
type = "subrace",
name = "Runic Golem",
locked = function() return profile.mod.allow_build.construct_runic_golem and true or "hide" end,
locked_desc = "",
desc = {
"Runic Golems are creatures made of solid rock and animated using arcane forces.",
"They cannot be of any class, but they have many intrinsic abilities.",
"#GOLD#Stat modifiers:",
"#LIGHT_BLUE# * +3 Strength, -2 Dexterity, +3 Constitution",
"#LIGHT_BLUE# * +2 Magic, +2 Willpower, -5 Cunning",
"#GOLD#Life per level:#LIGHT_BLUE# 13",
"#GOLD#Experience penalty:#LIGHT_BLUE# 50%",
},
descriptor_choices =
{
sex =
{
__ALL__ = "disallow",
Male = "allow",
},
class =
{
__ALL__ = "allow",
None = "allow",
},
subclass =
{
__ALL__ = "allow",
},
},
inc_stats = { str=300, con=300, wil=200, mag=200, dex=200, cun=500 },
talents_types = {
["psionic/finer-energy-manipulations"]={true, 0.3},
["golem/fighting"]={true, 0.3},
},
talents = {
[ActorTalents.T_MANA_POOL]=1,
[ActorTalents.T_STAMINA_POOL]=1,
},
copy = {
resolvers.generic(function(e) e.descriptor.class = "Golem" e.descriptor.subclass = "Golem" end),
resolvers.genericlast(function(e) e.faction = "undead" end),
default_wilderness = {"playerpop", "allied"},
starting_zone = "ruins-kor-pul",
starting_quest = "start-allied",
blood_color = colors.GREY,
resolvers.inventory{ id=true, {defined="ORB_SCRYING"} },
resolvers.generic(function(e) e.hotkey[10] = {"inventory", "Orb of Scrying"} end),
mana_regen = 0.5,
mana_rating = 7,
inscription_restrictions = { ["inscriptions/runes"] = true, },
resolvers.inscription("RUNE:_MANASURGE", {cooldown=25, dur=10, mana=620}),
resolvers.inscription("RUNE:_SHIELDING", {cooldown=14, dur=5, power=100}),
resolvers.inscription("RUNE:_PHASE_DOOR", {cooldown=7, range=10}),
type = "construct", subtype="golem", image = "npc/alchemist_golem.png",
starting_intro = "ghoul",
life_rating=13,
poison_immune = 1,
cut_immune = 1,
stun_immune = 1,
fear_immune = 1,
construct = 1,
moddable_tile = "runic_golem",
moddable_tile_nude = true,
},
experience = 0.5,
}
newBirthDescriptor
{
type = "subrace",
name = "Homunculus",
desc = {
"Creatures created by magic to fight it's effects.",
"They have strange abilities even they cannot understand.",
"They possess an unnatural intelligence and their presence is uncomfortable for every race in Maj 'Eyal",
"#GOLD#Stat modifiers:",
"#LIGHT_BLUE# * +1 Strength, +1 Dexterity, +0 Constitution",
"#LIGHT_BLUE# * -1 Magic, +1 Willpower, +0 Cunning",
"#GOLD#Life per level:#LIGHT_BLUE# 11",
"#GOLD#Experience penalty:#LIGHT_BLUE# 15%",
},
descriptor_choices =
{
sex =
{
__ALL__ = "disallow",
Male = "allow",
},
class =
{
__ALL__ = "allow",
None = "allow",
},
subclass =
{
__ALL__ = "allow",
},
},
inc_stats = { str=1, mag=-1, dex=1, wil=1 },
experience = 1.00,
talents_types = { ["wild-gift/antimagic"]={true, 0} },
talents = {
[ActorTalents.Resolve]=1,
},
copy = {
moddable_tile = "human_#sex#",
moddable_tile_base = "base_higher_01.png",
life_rating = 11,
default_wilderness = {"playerpop", "allied"},
starting_zone = "trollmire",
starting_quest = "start-allied",
starting_intro = "higher",
},
}