diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-05 23:03:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-05 23:03:53 -0300 |
commit | ced9f87fc1e964dd88c550b5b69a8720ea22b3ce (patch) | |
tree | 231def2842b324f717e54bffa77cac5a66867ab6 /npc | |
parent | 4318a12f498b3736201c23384a761a7478eac19d (diff) | |
download | serverdata-ced9f87fc1e964dd88c550b5b69a8720ea22b3ce.tar.gz serverdata-ced9f87fc1e964dd88c550b5b69a8720ea22b3ce.tar.bz2 serverdata-ced9f87fc1e964dd88c550b5b69a8720ea22b3ce.tar.xz serverdata-ced9f87fc1e964dd88c550b5b69a8720ea22b3ce.zip |
Move @ipcheck to GM 60 and no longer log it. (@accinfo still logged)
Count how many times you've donated blood.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/012-6/nurse.txt | 6 | ||||
-rw-r--r-- | npc/commands/ipcheck.txt | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/npc/012-6/nurse.txt b/npc/012-6/nurse.txt index 8a1419894..00bbc0ebd 100644 --- a/npc/012-6/nurse.txt +++ b/npc/012-6/nurse.txt @@ -40,7 +40,7 @@ L_BLCore: next; mesn; mesq l("Not everyone can be a blood donor. For example, you must be healthy."); - mesq l("You can think more info about this on these links:"); + mesq l("You can find more info about this on these links:"); mes ""; mes "[@@https://www.blood.co.uk/|https://www.blood.co.uk/@@]"; mes "[@@https://www.nhsbt.nhs.uk/what-we-do/blood-services/blood-donation/|https://www.nhsbt.nhs.uk/what-we-do/blood-services/blood-donation/@@]"; @@ -73,7 +73,9 @@ OnDonationComplete: slide 58, 67; percentheal 100, 0; getexp readparam(Hp)*2, readparam(Hp)/100; - setq HurnscaldQuest_BloodDonor, 1, gettimetick(2)+(2592000); // 60*60*24*30 + .@q3=getq3(HurnscaldQuest_BloodDonor)+1; + // Cooldown: 60*60*24*30: 30 days + setq HurnscaldQuest_BloodDonor, 1, gettimetick(2)+(2592000), .@q3; if (BaseLevel >= 30) getitem Bread, 1; if (BaseLevel >= 50) diff --git a/npc/commands/ipcheck.txt b/npc/commands/ipcheck.txt index 501dbfe8b..5cb57578e 100644 --- a/npc/commands/ipcheck.txt +++ b/npc/commands/ipcheck.txt @@ -34,7 +34,7 @@ OnBan: end; OnInit: - bindatcmd "ipcheck", "@ipcheck::OnCall", 80, 100, 1; + bindatcmd "ipcheck", "@ipcheck::OnCall", 60, 100, 0; bindatcmd "ipban", "@ipcheck::OnBan", 99, 100, 1; end; } |