From 94dc3d9944e7b3163440c9e759c1a8941e14816c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 30 May 2018 22:46:47 -0300 Subject: Delete yet another function file --- npc/functions/beds.txt | 30 ------------------------------ npc/scripts.conf | 1 - 2 files changed, 31 deletions(-) delete mode 100644 npc/functions/beds.txt diff --git a/npc/functions/beds.txt b/npc/functions/beds.txt deleted file mode 100644 index 4ab8b6a77..000000000 --- a/npc/functions/beds.txt +++ /dev/null @@ -1,30 +0,0 @@ -// Evol functions. -// Authors: -// 4144 -// Reid -// Description: -// Beds utility functions - -function script bedTouch { - if (PC_IS_DEAD) - { - PC_IS_DEAD = 0; - if (INN_REGISTER == REDPLUSH_INN) - { - INN_REGISTER = NO_INN; - percentheal 100,100; - } - } - close; -} - -function script bedClic { - narrator S_LAST_NEXT, l("Do you want to use this place as save point?"); - - if (askyesno() == ASK_YES) - { - savepointparticle getarg(0, ""), getarg(1, -1), getarg(2, -1), getarg(3, NO_INN); - } - closedialog; - close; -} diff --git a/npc/scripts.conf b/npc/scripts.conf index 6ebffb0aa..026eb7193 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -30,7 +30,6 @@ "npc/functions/openbook.txt", "npc/functions/questgen.txt", "npc/functions/savepoint.txt", -"npc/functions/beds.txt", "npc/functions/shops.txt", "npc/functions/npcmovegraph.txt", "npc/functions/fishing.txt", -- cgit v1.2.3-60-g2f50