summaryrefslogtreecommitdiff
path: root/npc/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-19 19:20:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-19 19:21:53 +0300
commit975e6d81790ae847b10f31dc65060d08ac51702b (patch)
tree153e0f092fb9e1587b5fd1b68045b1d77593f18c /npc/test
parent2d945f268a10c710067cac8992840c15b06e6824 (diff)
downloadserverdata-975e6d81790ae847b10f31dc65060d08ac51702b.tar.gz
serverdata-975e6d81790ae847b10f31dc65060d08ac51702b.tar.bz2
serverdata-975e6d81790ae847b10f31dc65060d08ac51702b.tar.xz
serverdata-975e6d81790ae847b10f31dc65060d08ac51702b.zip
Add initial version of marriage script. Missing divorce and missing time checks.
Diffstat (limited to 'npc/test')
-rw-r--r--npc/test/_import.txt1
-rw-r--r--npc/test/npcmarriage.txt17
2 files changed, 18 insertions, 0 deletions
diff --git a/npc/test/_import.txt b/npc/test/_import.txt
index 54f17ef6..e51002ba 100644
--- a/npc/test/_import.txt
+++ b/npc/test/_import.txt
@@ -7,5 +7,6 @@ npc: npc/test/npc2.txt
npc: npc/test/npc3.txt
npc: npc/test/npc4.txt
npc: npc/test/npc5.txt
+npc: npc/test/npcmarriage.txt
npc: npc/test/test1.txt
npc: npc/test/test2.txt
diff --git a/npc/test/npcmarriage.txt b/npc/test/npcmarriage.txt
new file mode 100644
index 00000000..32b0751b
--- /dev/null
+++ b/npc/test/npcmarriage.txt
@@ -0,0 +1,17 @@
+// Evol scripts.
+// Authors:
+// 4144
+// Description:
+// npc marriage
+
+test,25,14,0 script marriage1 NPC_PLAYER,{
+ // debug
+ mes .maleName$;
+ mes .femaleName$;
+
+ marriagemain();
+ close;
+OnInit:
+ .sex = G_MALE;
+ .distance = 3;
+}