Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3
Players gotta go potty!
DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • September 17, 2019, 02:14:57 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Players gotta go potty!  (Read 3850 times)
0 Members and 1 Guest are viewing this topic.
lonnyl
Guest
« on: July 04, 2004, 06:03:17 AM »

Make 'em use the outhouse every now and then!

gives the players a bladder....

another mod inspired by sims.

simple concept, could be alot of modding depending on your realm.
Zip file includes code for common.php, outhouse, and inn....
anywhere in your realm a player can drink should be modded to include bladder value manipulation, as well as anywhere they can go potty...... (ex, lonny's castle, house bathroom mod)



http://www.pqcomp.com/modules/mydownloads/visit.php?cid=4&lid=73
« Last Edit: January 30, 2005, 06:45:25 AM by lonnyl » Logged
lonnyl
Guest
« Reply #1 on: July 10, 2004, 09:57:14 AM »

oh here's something that is rather fun

in village.php
Code:
after
addnav("V?".$hilight."Cast your Vote", "http://www.topwebgames.com/in.asp?id=".getsetting("topwebid", 0)."&acctid={$session['user']['acctid']}", false, true);
}
add
if ($session['user']['bladder'] > 15){
   $dance=e_rand(1,500);
   if ($dance < 26){
      $sql ="INSERT INTO commentary (postdate,section,author,comment) VALUES (now(),'village','".$session[user][acctid]."','::does the peepee dance.')";
      db_query($sql);
   }
}

now players who have to go will do the peepee dance in the village.
Logged
BrooksTech
Guest
« Reply #2 on: July 20, 2004, 02:20:49 PM »

Howdy!

My peepee dance code does not seem to be working...

Anyone else having this problem?
Logged
lonnyl
Guest
« Reply #3 on: July 20, 2004, 04:03:00 PM »

the chance of it happening is fairly rare...... change the e_rand from 1,500 to 1,100 and you will see it more often...
Logged
Excalibur
Member
Mod God
*****
Offline Offline

Posts: 573


I'm a newbie, plz forgive me!


View Profile WWW
« Reply #4 on: July 23, 2004, 07:11:16 AM »

Another great and funny mod Lonny Grin
Just a question, is this line of code to add in newday correct:
Code:
$session['user']['bladder']=-2;
It could be that player has emptied his bladder wetting his bed  Cheesy
Or should read:
Code:
$session['user']['bladder']-=2;
Rgds Excalibur
Logged

Spock: Random chance seems to have operated in our favor.
McCoy: In plain, non-Vulcan English, we've been lucky.
Spock: I believe I said that, Doctor.
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
80 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search