summaryrefslogtreecommitdiff
path: root/npc/functions/beds.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/beds.txt')
-rw-r--r--npc/functions/beds.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/npc/functions/beds.txt b/npc/functions/beds.txt
new file mode 100644
index 00000000..a4301891
--- /dev/null
+++ b/npc/functions/beds.txt
@@ -0,0 +1,22 @@
+// Evol functions.
+// Authors:
+// 4144
+// Reid
+// Jesusalva
+// Description:
+// Beds utility functions
+
+// bedTouch({inn})
+function script bedTouch {
+ if (PC_IS_DEAD)
+ {
+ PC_IS_DEAD = 0;
+ if (INN_REGISTER != NO_INN)
+ {
+ INN_REGISTER = NO_INN;
+ percentheal 100,100;
+ }
+ }
+ close;
+}
+