15 lines
529 B
Plaintext
15 lines
529 B
Plaintext
|
// this checks if the player has bet on any rats
|
||
|
// we only allow them to bet on one rat
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
// handle to the pc
|
||
|
object oPC = GetPCSpeaker();
|
||
|
// handle to the module
|
||
|
object oMod = GetModule();
|
||
|
// now check if any rats relates to the player
|
||
|
return GetLocalObject(oMod, "IC_RAT_PLAYER_1") == oPC
|
||
|
|| GetLocalObject(oMod, "IC_RAT_PLAYER_2") == oPC
|
||
|
|| GetLocalObject(oMod, "IC_RAT_PLAYER_3") == oPC
|
||
|
|| GetLocalObject(oMod, "IC_RAT_PLAYER_4") == oPC;
|
||
|
}
|