Changed: #1304: Debug of the options added in the script (';' replaced by ':' for parameters separation)
--HG-- branch : gsoc2011-guildmissions
This commit is contained in:
parent
875d46f9b5
commit
185603b5e6
1 changed files with 6 additions and 6 deletions
|
@ -170,7 +170,7 @@ public:
|
||||||
string ret;
|
string ret;
|
||||||
ret = "recv_money : "+_Amount;
|
ret = "recv_money : "+_Amount;
|
||||||
if (_Guild)
|
if (_Guild)
|
||||||
ret += "; guild";
|
ret += ": guild";
|
||||||
ret += NL;
|
ret += NL;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -702,7 +702,7 @@ public:
|
||||||
string ret;
|
string ret;
|
||||||
ret = "recv_fame : "+_Faction+" "+_Fame;
|
ret = "recv_fame : "+_Faction+" "+_Fame;
|
||||||
if (_Guild)
|
if (_Guild)
|
||||||
ret += "; guild";
|
ret += ": guild";
|
||||||
ret += NL;
|
ret += NL;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -800,7 +800,7 @@ public:
|
||||||
if (_Group)
|
if (_Group)
|
||||||
ret += " : group";
|
ret += " : group";
|
||||||
if (_Guild)
|
if (_Guild)
|
||||||
ret += "; guild";
|
ret += ": guild";
|
||||||
ret += NL;
|
ret += NL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -874,7 +874,7 @@ public:
|
||||||
if (_Group)
|
if (_Group)
|
||||||
ret += " : group";
|
ret += " : group";
|
||||||
if (_Guild)
|
if (_Guild)
|
||||||
ret += "; guild";
|
ret += ": guild";
|
||||||
ret += NL;
|
ret += NL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -968,7 +968,7 @@ public:
|
||||||
if (!_BotDestroyer.empty())
|
if (!_BotDestroyer.empty())
|
||||||
ret += " : "+_BotDestroyer;
|
ret += " : "+_BotDestroyer;
|
||||||
if (_Guild)
|
if (_Guild)
|
||||||
ret += "; guild";
|
ret += ": guild";
|
||||||
ret += NL;
|
ret += NL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1800,7 +1800,7 @@ std::string CContentObjective::genNbGuildMembersNeededOption(CMissionData &md)
|
||||||
// If we are in a guild mission we add the 'nb_guild_members_needed' option to the script
|
// If we are in a guild mission we add the 'nb_guild_members_needed' option to the script
|
||||||
if (md.isGuildMission())
|
if (md.isGuildMission())
|
||||||
{
|
{
|
||||||
ret = "; nb_guild_members_needed: ";
|
ret = ": nb_guild_members_needed ";
|
||||||
ret += toString(_NbGuildMembersNeeded);
|
ret += toString(_NbGuildMembersNeeded);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue