[Change] Increased requirements on DV patrol missions.
This commit is contained in:
parent
a867e1184e
commit
18fe746053
@ -153,6 +153,7 @@
|
|||||||
<lua>dvaered/dv_patrol</lua>
|
<lua>dvaered/dv_patrol</lua>
|
||||||
<avail>
|
<avail>
|
||||||
<chance>366</chance>
|
<chance>366</chance>
|
||||||
|
<cond>player.getfaction("Dvaered") > 5 and player.getRating() > 100</cond>
|
||||||
<location>Computer</location>
|
<location>Computer</location>
|
||||||
<faction>Dvaered</faction>
|
<faction>Dvaered</faction>
|
||||||
</avail>
|
</avail>
|
||||||
|
@ -58,7 +58,7 @@ static const luaL_reg pilotL_methods[] = {
|
|||||||
{ "warp", pilotL_warp },
|
{ "warp", pilotL_warp },
|
||||||
{ "broadcast", pilotL_broadcast },
|
{ "broadcast", pilotL_broadcast },
|
||||||
{ "setFaction", pilotL_setFaction },
|
{ "setFaction", pilotL_setFaction },
|
||||||
{ "setHostile", pilotL_setHosile },
|
{ "setHostile", pilotL_setHostile },
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
}; /**< Pilot metatable methods. */
|
}; /**< Pilot metatable methods. */
|
||||||
|
|
||||||
@ -642,7 +642,7 @@ static int pilotL_setFaction(lua_State* L) {
|
|||||||
* @brief Set the pilot as hostile to player.
|
* @brief Set the pilot as hostile to player.
|
||||||
* @luafunc setHostile()
|
* @luafunc setHostile()
|
||||||
*/
|
*/
|
||||||
static int pilotL_setHostile() {
|
static int pilotL_setHostile(lua_State* L) {
|
||||||
LuaPilot* lp;
|
LuaPilot* lp;
|
||||||
Pilot* p;
|
Pilot* p;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user