20 lines
775 B
Plaintext
20 lines
775 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
TakeGoldFromCreature(1000, oPC, TRUE);
|
|
|
|
if (GetStandardFactionReputation(STANDARD_FACTION_COMMONER, oPC) <= 10)
|
|
{ SetLocalInt(oPC, "NW_G_Playerhasbeenbad", 10); // * Player bad
|
|
SetStandardFactionReputation(STANDARD_FACTION_COMMONER, 80, oPC);
|
|
}
|
|
if (GetStandardFactionReputation(STANDARD_FACTION_MERCHANT, oPC) <= 10)
|
|
{ SetLocalInt(oPC, "NW_G_Playerhasbeenbad", 10); // * Player bad
|
|
SetStandardFactionReputation(STANDARD_FACTION_MERCHANT, 80, oPC);
|
|
}
|
|
if (GetStandardFactionReputation(STANDARD_FACTION_DEFENDER, oPC) <= 10)
|
|
{ SetLocalInt(oPC, "NW_G_Playerhasbeenbad", 10); // * Player bad
|
|
SetStandardFactionReputation(STANDARD_FACTION_DEFENDER, 80, oPC);
|
|
}
|
|
}
|