*pushing old threads*
In case there is still interest in this mod, here's some instructions fixing a small bug in the code version posted above.
The lines 533 to 615 in the lovers.php have to be replaced by:
switch(httpget('flirt')){
case 1:
if (e_rand($c,$cs1)>=$cs1){
output("You wink at %s`0, and she gives you a warm smile in return.",$partner);
if ($c<$cs2) $c++;
}else{
output("You wink at %s`0, but she pretends not to notice.",$partner);
}
break;
case 2:
output("You stroll confidently across the room toward %s`0.",$partner);
if (e_rand($c,$cs2)>=$cs2){
output("Taking hold of her hand, you kiss it gently, your lips remaining for only a few seconds.");
output("%s`0 blushes and tucks a strand of hair behind her ear as you walk away, then presses the back side of her hand longingly against her cheek while watching your retreat.",$partner);
if ($c<$cs3) $c++;
}else{
output("You reach out to grab her hand, but %s`0 takes her hand back and asks if perhaps you'd like a drink.",$partner);
}
break;
case 3:
output("Standing with your back against a wooden column, you wait for %s`0 to wander your way when you call her name.",$partner);
if (e_rand($c,$cs3)>=$cs3){
output("She approaches, a hint of a smile on her face.");
output("You grab her chin, lift it slightly, and place a firm but quick kiss on her plump lips.");
if ($c<$cs4) $c++;
}else{
output("She smiles and apologizes, insisting that she is simply too busy to take a moment from her work.");
}
break;
case 4:
output("Sitting at a table, you wait for %s`0 to come your way.",$partner);
if (e_rand($c,$cs4)>=$cs4){
output("When she does so, you reach up and grab her firmly by the waist, pulling her down on to your lap.");
output("She laughs and throws her arms around your neck in a warm hug before thumping you on the chest, standing up, and insisting that she really must get back to work.");
if ($c<$cs5) $c++;
}else{
output("When she does so, you reach up to grab her by the waist, but she deftly dodges, careful not to spill the drink that she's carrying.");
if ($c>0 && $c<$cs4) $c--;
}
break;
case 5:
output("Waiting for %s`0 to brush by you, you firmly palm her backside.",$partner);
if (e_rand($c,$cs5)>=$cs5){
output("She turns and gives you a warm, knowing smile.");
if ($c<$cs6) $c++;
}else{
output("She turns and slaps you across the face. Hard.");
output("Perhaps you should go a little slower.");
if ($c>0 && $c<$cs5) $c--;
}
break;
case 6:
if (e_rand($c,$cs6)>=$cs6){
switch (e_rand(1,4)) {
case 1: case 2: case 4:
output("Like a whirlwind, you sweep through the inn, grabbing %s`0, who throws her arms around your neck, and whisk her upstairs to her room there.",$partner);
output("Not more than 10 minutes later you stroll down the stairs, smoking a pipe, and grinning from ear to ear.");
if ($session['user']['turns']>0){
output("You feel exhausted! ");
$session['user']['turns']-=2;
if ($session['user']['turns']<0) $session['user']['turns']=0;
}
addnews("`@%s`@ and %s`@ were seen heading up the stairs in the inn together.`0",$session['user']['name'],$partner);
if ($c<$cs7) $c++;
break;
case 3:
output("Like a whirlwind, you sweep through the inn, and grab for `5Violet`0. She tells you that she is just too busy right now.");
break; }
}else{
output("Like a whirlwind, you sweep through the inn, and grab for %s`0.",$partner);
output("She turns and slaps your face!");
output("\"`%What sort of girl do you think I am, anyhow?`0\" she demands! ");
if ($c>0) $c--;
}
break;
case 7:
output("%s`0 is working feverishly to serve patrons of the inn.",$partner);
output("You stroll up to her and take the mugs out of her hand, placing them on a nearby table.");
output("Amidst her protests you kneel down on one knee, taking her hand in yours.");
output("She quiets as you stare up at her and utter the question that you never thought you'd utter.");
output("She stares at you and you immediately know the answer by the look on her face.`n`n");
if ($c>=$cs7){
I've just replaced the concrete values for the charm steps by the according variables. Otherwise the function to manually define the charm steps wouldn't make sense in this part of the code.
I hope that this wasn't bullshit...
Rudey