summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-30 23:51:11 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-30 23:51:11 -0300
commit7e0d563c9dbc41eee4ba1c51e11d5fe0147f257e (patch)
treeb56d7a91a8f4702c8b3c163b638a5f11678101c9 /npc
parent9710a1f188b94347938619df3d2042cb6bfac6de (diff)
downloadserverdata-7e0d563c9dbc41eee4ba1c51e11d5fe0147f257e.tar.gz
serverdata-7e0d563c9dbc41eee4ba1c51e11d5fe0147f257e.tar.bz2
serverdata-7e0d563c9dbc41eee4ba1c51e11d5fe0147f257e.tar.xz
serverdata-7e0d563c9dbc41eee4ba1c51e11d5fe0147f257e.zip
Regenerate map collision data. Update debug NPCs.
Diffstat (limited to 'npc')
-rw-r--r--npc/029-0/event.txt33
1 files changed, 19 insertions, 14 deletions
diff --git a/npc/029-0/event.txt b/npc/029-0/event.txt
index c3efccd6c..52dfe9159 100644
--- a/npc/029-0/event.txt
+++ b/npc/029-0/event.txt
@@ -116,6 +116,7 @@ OnInit:
sellitem TrainingWand, -1, 5+.@steam-1;
sellitem TrainingBow, -1, 5+.@steam-1;
+ // Always stock blueprints at initialization time
sellitem AlchemyBlueprintA, -1, 5+.@steam-1;
sellitem AlchemyBlueprintB, -1, 4+.@steam-1;
sellitem AlchemyBlueprintC, -1, 3+.@steam-1;
@@ -202,25 +203,28 @@ OnClock2201:
restoreshopitem EarthPowder, 3+.@steam-1;
restoreshopitem EverburnPowder, 15000, 2+.@steam-1;
- restoreshopitem AncientBlueprint, ($EVENT$ == "Steam" ? 12500 : 18000), 4+.@steam/2;
restoreshopitem RustyKnife, 5+.@steam-1;
restoreshopitem TrainingWand, 5+.@steam-1;
restoreshopitem TrainingBow, 5+.@steam-1;
- restoreshopitem AlchemyBlueprintA, 5+.@steam-1;
- restoreshopitem AlchemyBlueprintB, 4+.@steam-1;
- restoreshopitem AlchemyBlueprintC, 3+.@steam-1;
- if ($GAME_STORYLINE >= 4) {
- restoreshopitem AlchemyBlueprintD, 2+.@steam-1;
- restoreshopitem AlchemyBlueprintE, 1+.@steam/2;
- }
+ // Only restock blueprints in odd days
+ if ($EVENT$ == "Steam" || gettimeparam(GETTIME_DAYOFMONTH) % 2) {
+ restoreshopitem AncientBlueprint, ($EVENT$ == "Steam" ? 12500 : 18000), 4+.@steam/2;
+ restoreshopitem AlchemyBlueprintA, 5+.@steam-1;
+ restoreshopitem AlchemyBlueprintB, 4+.@steam-1;
+ restoreshopitem AlchemyBlueprintC, 3+.@steam-1;
+ if ($GAME_STORYLINE >= 4) {
+ restoreshopitem AlchemyBlueprintD, 2+.@steam-1;
+ restoreshopitem AlchemyBlueprintE, 1+.@steam/2;
+ }
- restoreshopitem EquipmentBlueprintA, 5+.@steam-1;
- restoreshopitem EquipmentBlueprintB, 4+.@steam-1;
- restoreshopitem EquipmentBlueprintC, 3+.@steam-1;
- if ($GAME_STORYLINE >= 4) {
- restoreshopitem EquipmentBlueprintD, 2+.@steam-1;
- restoreshopitem EquipmentBlueprintE, 1+.@steam/2;
+ restoreshopitem EquipmentBlueprintA, 5+.@steam-1;
+ restoreshopitem EquipmentBlueprintB, 4+.@steam-1;
+ restoreshopitem EquipmentBlueprintC, 3+.@steam-1;
+ if ($GAME_STORYLINE >= 4) {
+ restoreshopitem EquipmentBlueprintD, 2+.@steam-1;
+ restoreshopitem EquipmentBlueprintE, 1+.@steam/2;
+ }
}
restoreshopitem ArcmageBoxset, 10000, 4+.@steam-1;
@@ -262,6 +266,7 @@ OnMinute02:
close;
L_PowerUp:
+ tutmes l("This is a debug NPC. If you don't know what you're doing, refuse.");
next;
mesn strcharinfo(0);
mesq l("Could you awake my lost and forsaken potential?");