diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-05 12:47:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-05 12:47:25 +0300 |
commit | 6eeae2ee499b4aec7b9f771c75ff09264d79c8fd (patch) | |
tree | d024b7517c78adc0cfda5f4d4d17ac03ced5cb3a /npc/000-2-2 | |
parent | 58cf99bc280bb54f3c6ad6538ae3bc14fd54ec7f (diff) | |
download | serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.gz serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.bz2 serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.xz serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.zip |
Replace script function set to direct variable assignments.
Diffstat (limited to 'npc/000-2-2')
-rw-r--r-- | npc/000-2-2/doors.txt | 2 | ||||
-rw-r--r-- | npc/000-2-2/ratto.txt | 24 |
2 files changed, 13 insertions, 13 deletions
diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt index 7ce792e3c..d7ef6ed2a 100644 --- a/npc/000-2-2/doors.txt +++ b/npc/000-2-2/doors.txt @@ -14,7 +14,7 @@ OnTouch: goto L_Warp; L_Warn: - set .@q, getq(ShipQuests_Peter); + .@q = getq(ShipQuests_Peter); if (.@q == 5) goto L_Warp; mesn "Narrator"; diff --git a/npc/000-2-2/ratto.txt b/npc/000-2-2/ratto.txt index 1c65fe404..ef4b5a400 100644 --- a/npc/000-2-2/ratto.txt +++ b/npc/000-2-2/ratto.txt @@ -28,41 +28,41 @@ OnSpawn: OnRatto1Respawn: areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death"; - set $@RAT_SAILOR_CONTROL[1], 0; - set $@RAT_SAILOR_CONTROL[5], 0; + $@RAT_SAILOR_CONTROL[1] = 0; + $@RAT_SAILOR_CONTROL[5] = 0; end; OnRatto2Respawn: areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death"; - set $@RAT_SAILOR_CONTROL[2], 0; - set $@RAT_SAILOR_CONTROL[6], 0; + $@RAT_SAILOR_CONTROL[2] = 0; + $@RAT_SAILOR_CONTROL[6] = 0; end; OnRatto3Respawn: areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death"; - set $@RAT_SAILOR_CONTROL[3], 0; - set $@RAT_SAILOR_CONTROL[7], 0; + $@RAT_SAILOR_CONTROL[3] = 0; + $@RAT_SAILOR_CONTROL[7] = 0; end; OnRatto4Respawn: areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death"; - set $@RAT_SAILOR_CONTROL[4], 0; - set $@RAT_SAILOR_CONTROL[8], 0; + $@RAT_SAILOR_CONTROL[4] = 0; + $@RAT_SAILOR_CONTROL[8] = 0; end; OnRatto1Death: - set $@RAT_SAILOR_CONTROL[1], 1; + $@RAT_SAILOR_CONTROL[1] = 1; end; OnRatto2Death: - set $@RAT_SAILOR_CONTROL[2], 1; + $@RAT_SAILOR_CONTROL[2] = 1; end; OnRatto3Death: - set $@RAT_SAILOR_CONTROL[3], 1; + $@RAT_SAILOR_CONTROL[3] = 1; end; OnRatto4Death: - set $@RAT_SAILOR_CONTROL[4], 1; + $@RAT_SAILOR_CONTROL[4] = 1; end; } |