summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2024-05-21 23:44:50 +0200
committerHoraK-FDF <horak-fdf@web.de>2024-05-21 23:44:50 +0200
commitc359c6fdd561a729ea8a9f5815b5b25bc7f9a805 (patch)
tree7350d636beeda29d34153c8040de0d51feb38223
parent555801ae94faf8add96ca4d722bb7689600bd29e (diff)
downloadserverdata-c359c6fdd561a729ea8a9f5815b5b25bc7f9a805.tar.gz
serverdata-c359c6fdd561a729ea8a9f5815b5b25bc7f9a805.tar.bz2
serverdata-c359c6fdd561a729ea8a9f5815b5b25bc7f9a805.tar.xz
serverdata-c359c6fdd561a729ea8a9f5815b5b25bc7f9a805.zip
miner mania adding labels to stop warnings
-rw-r--r--world/map/npc/mobs/miner_mania.txt90
1 files changed, 84 insertions, 6 deletions
diff --git a/world/map/npc/mobs/miner_mania.txt b/world/map/npc/mobs/miner_mania.txt
index 7becf478..066cef1c 100644
--- a/world/map/npc/mobs/miner_mania.txt
+++ b/world/map/npc/mobs/miner_mania.txt
@@ -7,14 +7,20 @@
OnInit:
/*
-1 tick = 1 sec
-If $@bif/slime_mine_maps_x0/y0/x1/y1 = -1 the matching min/max corner value is taken x0 = 0, y0 = 0, x1 = max x, y1 = max y
+- 1 tick = 1 sec
-$@bifs_big and $@bifs_small must always have the same size as $@bifs
+- If $@bif/slime_mine_maps_x0/y0/x1/y1 = -1 the matching min/max corner value is taken x0 = 0, y0 = 0, x1 = max x, y1 = max y
-$@bifs/slimes_multi set after how many ticks this map/spot spawns.
-For example multi 6 would spawn on 6th tick which is 6 sec on 1 sec tick duration.
-For example if you have multiple sqares on a map and to not spawn <num of squares> * 1 tick faster than other maps, use multi = num of squares:
+- $@bifs_big and $@bifs_small must always have the same size as $@bifs
+
+- if "error_log: on" is in world/map/conf/battle_local.conf it displays messages like "npc_event: event not found [Miner_Mania::OnBifMined10]" which clutter the server console
+ but otherwise do no harm, its also possible to make "error_log: off" so they don't get displayed anymore but to be sure include a label with the mapnumber in it like:
+ OnBifMined99:
+ end;
+
+- $@bifs/slimes_multi set after how many ticks this map/spot spawns.
+ For example multi 6 would spawn on 6th tick which is 6 sec on 1 sec tick duration.
+ For example if you have multiple sqares on a map and to not spawn <num of squares> * 1 tick faster than other maps, use multi = num of squares:
setarray $@bif_mine_maps$, "009-1", "009-1", "009-1", "009-2", "008-1", "018-1";
setarray $@bifs_count, 4, 20, 20, 44, 44, 44;
setarray $@bifs_multi, 3, 3, 3, 1, 1, 1;
@@ -27,6 +33,7 @@ Note:
The values used in _mobs.txt are not x0, y0, x1, y1 they are x, y, width, height so they are not compatible with areaspawn since the spawn area extents from x and y in - and + directions
*/
+// .map_nr 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
setarray $@bif_mine_maps$, "002-4", "002-5", "005-3", "006-3", "009-3", "011-4", "011-6", "012-3", "012-4", "013-3", "018-3", "014-3", "017-3", "032-3", "043-3", "043-4", "055-3";
setarray $@bifs_count, 10, 10, 15, 15, 20, 20, 25, 20, 35, 20, 30, 10, 10, 15, 15, 20, 15;
setarray $@bifs_multi, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2;
@@ -38,6 +45,7 @@ Note:
setarray $@bifs_small, SmallBif, SmallAmethystBif, SmallDiamondBif, SmallEmeraldBif, SmallRubyBif, SmallSapphireBif, SmallTopazBif;
setarray $@bifs_big, BigBif, BigAmethystBif, BigDiamondBif, BigEmeraldBif, BigRubyBif, BigSapphireBif, BigTopazBif;
+// .map_nr 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
setarray $@slime_mine_maps$, "002-4", "002-5", "005-3", "006-3", "009-3", "011-4", "011-6", "012-3", "012-4", "013-3", "018-3", "014-3", "017-3", "032-3", "043-3", "043-4", "055-3";
setarray $@slimes_count, 10, 10, 15, 15, 20, 20, 25, 20, 35, 20, 30, 10, 10, 15, 15, 20, 15;
setarray $@slimes_multi, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2;
@@ -214,4 +222,74 @@ L_SlimeContinue:
startnpctimer;
end;
+
+OnBifMined0:
+end;
+OnBifMined1:
+end;
+OnBifMined2:
+end;
+OnBifMined3:
+end;
+OnBifMined4:
+end;
+OnBifMined5:
+end;
+OnBifMined6:
+end;
+OnBifMined7:
+end;
+OnBifMined8:
+end;
+OnBifMined9:
+end;
+OnBifMined10:
+end;
+OnBifMined11:
+end;
+OnBifMined12:
+end;
+OnBifMined13:
+end;
+OnBifMined14:
+end;
+OnBifMined15:
+end;
+OnBifMined16:
+end;
+
+OnSlimeSlain0:
+end;
+OnSlimeSlain1:
+end;
+OnSlimeSlain2:
+end;
+OnSlimeSlain3:
+end;
+OnSlimeSlain4:
+end;
+OnSlimeSlain5:
+end;
+OnSlimeSlain6:
+end;
+OnSlimeSlain7:
+end;
+OnSlimeSlain8:
+end;
+OnSlimeSlain9:
+end;
+OnSlimeSlain10:
+end;
+OnSlimeSlain11:
+end;
+OnSlimeSlain12:
+end;
+OnSlimeSlain13:
+end;
+OnSlimeSlain14:
+end;
+OnSlimeSlain15:
+end;
+OnSlimeSlain16:
+end;
}