示例#1
0
    private bool ProccessLoveTransaction(Sentient OtherSentient)
    {
        //prolly should not be here
        bool success = false;

        if (OtherSentient.Strength > Strength)
        {
            success = true;
            OtherSentient.ChangeStrength(-1);
        }
        else if (OtherSentient.Handsome > Handsome)
        {
            OtherSentient.ChangeHandsome(-1);
            success = true;
        }
        else
        {
            OtherSentient.ChangeLove(-1);
        }

        if (success)
        {
            OtherSentient.ChangeLove(1);
            ChangeLove(1);
        }
        return(success);
    }
示例#2
0
 public void Interact(Sentient Source)
 {
     Source.ChangeLove(Value);
     consumeRef.MarkConsumed();
 }