Separate 'ask for fuel' player responses for Mercury and Luna (bug #716)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1633 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#(GLAD_WHEN_YOU_COME_BACK)
|
#(GLAD_WHEN_YOU_COME_BACK)
|
||||||
#(GIVE_FUEL) 4587,3204
|
#(GIVE_FUEL) 4643
|
||||||
#(GIVE_FUEL_AGAIN) 3304,3255
|
#(GIVE_FUEL_AGAIN) 3304,3255
|
||||||
#(ARE_YOU_SUPPLY_SHIP) 2463,3445,3485,3866,3144,2894,3225
|
#(ARE_YOU_SUPPLY_SHIP) 2463,3445,3485,3866,3144,2894,3225
|
||||||
#(DO_YOU_HAVE_RADIO_THIS_TIME)
|
#(DO_YOU_HAVE_RADIO_THIS_TIME)
|
||||||
@@ -88,7 +88,8 @@
|
|||||||
#(name_41)
|
#(name_41)
|
||||||
#(i_lost_my_lander)
|
#(i_lost_my_lander)
|
||||||
#(i_lost_another_lander)
|
#(i_lost_another_lander)
|
||||||
#(need_fuel)
|
#(need_fuel_mercury)
|
||||||
|
#(need_fuel_luna)
|
||||||
#(need_fuel_again)
|
#(need_fuel_again)
|
||||||
#(what_was_red_thing)
|
#(what_was_red_thing)
|
||||||
#(it_went_away)
|
#(it_went_away)
|
||||||
|
|||||||
@@ -392,9 +392,12 @@ Due to circumstances beyond our control, our only landing vehicle was destroyed.
|
|||||||
#(i_lost_another_lander)
|
#(i_lost_another_lander)
|
||||||
Um... er... well... We lost another lander.
|
Um... er... well... We lost another lander.
|
||||||
|
|
||||||
#(need_fuel)
|
#(need_fuel_mercury)
|
||||||
We are unable to land on Mercury and retrieve radioactives due to an unforeseen fuel shortage.
|
We are unable to land on Mercury and retrieve radioactives due to an unforeseen fuel shortage.
|
||||||
|
|
||||||
|
#(need_fuel_luna)
|
||||||
|
We are unable to land on the moon and neutralize the base due to an unforeseen fuel shortage.
|
||||||
|
|
||||||
#(need_fuel_again)
|
#(need_fuel_again)
|
||||||
Boy, mileage sure does vary. Could you spare us some more fuel?
|
Boy, mileage sure does vary. Could you spare us some more fuel?
|
||||||
|
|
||||||
|
|||||||
@@ -231,7 +231,8 @@ NoRadioactives (RESPONSE_REF R)
|
|||||||
DeltaSISGauges (4, 0, 0);
|
DeltaSISGauges (4, 0, 0);
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
}
|
}
|
||||||
else if (PLAYER_SAID (R, need_fuel))
|
else if (PLAYER_SAID (R, need_fuel_mercury) ||
|
||||||
|
PLAYER_SAID (R, need_fuel_luna))
|
||||||
{
|
{
|
||||||
NPCPhrase (GIVE_FUEL);
|
NPCPhrase (GIVE_FUEL);
|
||||||
LockMutex (GraphicsLock);
|
LockMutex (GraphicsLock);
|
||||||
@@ -265,7 +266,7 @@ NoRadioactives (RESPONSE_REF R)
|
|||||||
if (GET_GAME_STATE (GIVEN_FUEL_BEFORE))
|
if (GET_GAME_STATE (GIVEN_FUEL_BEFORE))
|
||||||
Response (need_fuel_again, NoRadioactives);
|
Response (need_fuel_again, NoRadioactives);
|
||||||
else
|
else
|
||||||
Response (need_fuel, NoRadioactives);
|
Response (need_fuel_mercury, NoRadioactives);
|
||||||
}
|
}
|
||||||
|
|
||||||
Response (ok_i_will_get_radios, ByeBye);
|
Response (ok_i_will_get_radios, ByeBye);
|
||||||
@@ -300,7 +301,8 @@ AskAfterRadios (RESPONSE_REF R)
|
|||||||
DeltaSISGauges (4, 0, 0);
|
DeltaSISGauges (4, 0, 0);
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
}
|
}
|
||||||
else if (PLAYER_SAID (R, need_fuel))
|
else if (PLAYER_SAID (R, need_fuel_mercury) ||
|
||||||
|
PLAYER_SAID (R, need_fuel_luna))
|
||||||
{
|
{
|
||||||
NPCPhrase (GIVE_FUEL);
|
NPCPhrase (GIVE_FUEL);
|
||||||
LockMutex (GraphicsLock);
|
LockMutex (GraphicsLock);
|
||||||
@@ -337,7 +339,7 @@ AskAfterRadios (RESPONSE_REF R)
|
|||||||
if (GET_GAME_STATE (GIVEN_FUEL_BEFORE))
|
if (GET_GAME_STATE (GIVEN_FUEL_BEFORE))
|
||||||
Response (need_fuel_again, AskAfterRadios);
|
Response (need_fuel_again, AskAfterRadios);
|
||||||
else
|
else
|
||||||
Response (need_fuel, AskAfterRadios);
|
Response (need_fuel_mercury, AskAfterRadios);
|
||||||
}
|
}
|
||||||
Response (well_go_get_them_now, ByeBye);
|
Response (well_go_get_them_now, ByeBye);
|
||||||
if (PHRASE_ENABLED (where_get_radios))
|
if (PHRASE_ENABLED (where_get_radios))
|
||||||
@@ -401,7 +403,8 @@ TellMoonBase (RESPONSE_REF R)
|
|||||||
DeltaSISGauges (4, 0, 0);
|
DeltaSISGauges (4, 0, 0);
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
}
|
}
|
||||||
else if (PLAYER_SAID (R, need_fuel))
|
else if (PLAYER_SAID (R, need_fuel_mercury) ||
|
||||||
|
PLAYER_SAID (R, need_fuel_luna))
|
||||||
{
|
{
|
||||||
NPCPhrase (GIVE_FUEL);
|
NPCPhrase (GIVE_FUEL);
|
||||||
LockMutex (GraphicsLock);
|
LockMutex (GraphicsLock);
|
||||||
@@ -445,7 +448,7 @@ TellMoonBase (RESPONSE_REF R)
|
|||||||
if (GET_GAME_STATE (GIVEN_FUEL_BEFORE))
|
if (GET_GAME_STATE (GIVEN_FUEL_BEFORE))
|
||||||
Response (need_fuel_again, TellMoonBase);
|
Response (need_fuel_again, TellMoonBase);
|
||||||
else
|
else
|
||||||
Response (need_fuel, TellMoonBase);
|
Response (need_fuel_luna, TellMoonBase);
|
||||||
}
|
}
|
||||||
if (GET_GAME_STATE (WILL_DESTROY_BASE) == 0)
|
if (GET_GAME_STATE (WILL_DESTROY_BASE) == 0)
|
||||||
Response (we_will_take_care_of_base, ByeBye);
|
Response (we_will_take_care_of_base, ByeBye);
|
||||||
|
|||||||
@@ -113,7 +113,8 @@ enum
|
|||||||
name_41,
|
name_41,
|
||||||
i_lost_my_lander,
|
i_lost_my_lander,
|
||||||
i_lost_another_lander,
|
i_lost_another_lander,
|
||||||
need_fuel,
|
need_fuel_mercury,
|
||||||
|
need_fuel_luna,
|
||||||
need_fuel_again,
|
need_fuel_again,
|
||||||
what_was_red_thing,
|
what_was_red_thing,
|
||||||
it_went_away,
|
it_went_away,
|
||||||
|
|||||||
Reference in New Issue
Block a user