DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • December 12, 2017, 02:12:35 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Losing Charm with Odor  (Read 2666 times)
0 Members and 1 Guest are viewing this topic.
SilverPony2001
Guest
« on: March 28, 2005, 05:17:57 PM »

A couple of my users are reporting that once odor brings their charm down, and then they wash, they don't get the charm back...

I just checked a few of the users stats, and everyone has 0 charm...  going to do some testing, but is anyone else have this problem?
« Last Edit: March 28, 2005, 08:49:10 PM by Talisman » Logged
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #1 on: March 28, 2005, 07:23:35 PM »

A couple of my users are reporting that once odor brings their charm down, and then they wash, they don't get the charm back...

I just checked a few of the users stats, and everyone has 0 charm...  going to do some testing, but is anyone else have this problem?

What problem?  They waited too long, why reward them?
The player needs to wash before losing anything - things like hunger - odor - thirst - bladder need to be maintained by the players on a regular basis or suffer the consequence of not bothering till too late.  If you have these mods installed, the players need to maintain that stuff.
« Last Edit: March 28, 2005, 07:32:07 PM by robert » Logged

SilverPony2001
Guest
« Reply #2 on: March 28, 2005, 07:26:47 PM »

What problem?  The waited too long, why reward them?
The player needs to wash before losing anything - things like hunger - odor - thirst - bladder need to be maintained by the players on a regular basis or suffer the consequence of not bothering till too late.  If you have these mods installed, the players need to maintain that stuff.

What % of odor will you start loosing charm?  So is it wise to have 0% odor before logging out for the day, since you appear to gain odor during the night?  I'll let them know that they are stinky and don't take enough baths.  Grin
Logged
lonnyl
Guest
« Reply #3 on: March 29, 2005, 04:32:28 AM »

It's best to take a bath before going to bed...... and the filth check and charm loss are done before adding the nightly odor.... so yes is the answer to your question.
Logged
ioScream
Guest
« Reply #4 on: May 13, 2008, 11:24:46 PM »

Is the code that removes the charm based on odor?
Code:
if (get_module_pref('odor') > 2) $session['user']['charm']-=(get_module_pref('odor')-2);

.. and I want to make it a little less stringent how would I go about that. I thought changing the first 2 to a 10 would mean that your odor would have to be higher to remove charm, but it seemed like it removed 10 charm. For some reason I'm not reading this line correctly..

If odor is greater than 2 then (subtract odor from charm) minus 2??? is that right?
Logged
Iori
Mod God
*****
Offline Offline

Posts: 832


View Profile WWW
« Reply #5 on: May 14, 2008, 12:45:12 AM »

Is the code that removes the charm based on odor?
Code:
if (get_module_pref('odor') > 2) $session['user']['charm']-=(get_module_pref('odor')-2);

.. and I want to make it a little less stringent how would I go about that. I thought changing the first 2 to a 10 would mean that your odor would have to be higher to remove charm, but it seemed like it removed 10 charm. For some reason I'm not reading this line correctly..

If odor is greater than 2 then (subtract odor from charm) minus 2??? is that right?

If you require odor to be over 10 before charm is removed, it removes (odor - 2) charm when it does. So if odor is 11, you remove 9 charm (ouch).
Logged

ioScream
Guest
« Reply #6 on: May 14, 2008, 02:03:17 AM »

duh.. thanks for your help.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

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