diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-10 22:31:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-10 22:31:57 +0300 |
commit | 06b5a7ff1624033a44ff3a9383535dedfa048475 (patch) | |
tree | a618a461a52c4ad13e3fc20baf9357b32ab23a83 /npc/functions/doors.txt | |
parent | 88011091558f124097006590d664189c7f1a8856 (diff) | |
download | serverdata-06b5a7ff1624033a44ff3a9383535dedfa048475.tar.gz serverdata-06b5a7ff1624033a44ff3a9383535dedfa048475.tar.bz2 serverdata-06b5a7ff1624033a44ff3a9383535dedfa048475.tar.xz serverdata-06b5a7ff1624033a44ff3a9383535dedfa048475.zip |
Move doors init code into doorInit function. Also enable alwaysvisible attribute.
Diffstat (limited to 'npc/functions/doors.txt')
-rw-r--r-- | npc/functions/doors.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/doors.txt b/npc/functions/doors.txt index 49b2846e..8b49bf0b 100644 --- a/npc/functions/doors.txt +++ b/npc/functions/doors.txt @@ -33,6 +33,12 @@ function script doorTimer { end; } +function script doorInit { + .distance = 5; + .alwaysVisible = true; + end; +} + function script open_door { .@door$ = getarg(0); |