diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/029-0/event.txt | 33 |
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?"); |