DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • June 23, 2017, 05:17:59 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: 1 2 [3]   Go Down
  Print  
Author Topic: 98 converted bladder  (Read 8095 times)
0 Members and 1 Guest are viewing this topic.
pilatus
Guest
« Reply #30 on: October 27, 2006, 02:55:31 PM »

thank you, I hadn't looked at the code yet. Only installed this game some days ago.
Changed it to this, you can tinkle now, but not sure if everything else works like intended.
Quote
<?php
   global $session;
   $op = httpget('op');
   page_header("The Head");
  if ($op == "tinkle"){
    set_module_pref("emptied",true);
      output("You use the fine facilities here.`n");
      if (get_module_pref('drunkeness','drinks')>0){
      $drunktmp=get_module_pref('drunkeness','drinks');
      $drunktmp*=.9;
      set_module_pref('drunkeness',$drunktmp,'drinks');
      set_module_pref('bladder',0,'bladder');
      output("`&You feel a little more sober!`n`0");
    }else{
      if (get_module_pref('bladder') > 0){
        output("`&You feel a little better now.`n");
        set_module_pref('bladder',0,'bladder');
      }else{
        output("`&Try as you might, you cannot summon even a drop.`n");
      }
      }
   }else{
    if (get_module_pref("emptied")==0){
      output("`2You step into the Head.  The odor in here just about knocks you over. ");
      output("Best to get your business done and get back to more enjoyable activities. `n");
      addnav("Tinkle","runmodule.php?module=bladder&op=tinkle");
    }else{
      output("`2You really don't have anything left to relieve today!");
    }
   }
   addnav("Back to the Inn","inn.php");
   page_footer();
?>
Logged
The General
Guest
« Reply #31 on: January 13, 2007, 05:37:18 AM »

The option for changing how much is added to a players bladder on a new day doesn't work. I also only saw one small bit of flavour text ("You need to go to the potty really bad") and a news item when my bladder reached 100%
« Last Edit: January 13, 2007, 05:42:34 AM by The General » Logged
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

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