From 6382b1b0d92ec67668f4cfbc5c0109fd1b228013 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Wed, 29 Nov 2023 02:04:36 +0100 Subject: message strcharinfo(0) [@@|@@] fix --- world/map/npc/mobs/mob_kill_handler.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/world/map/npc/mobs/mob_kill_handler.txt b/world/map/npc/mobs/mob_kill_handler.txt index 069c01f4..ff5cd4de 100644 --- a/world/map/npc/mobs/mob_kill_handler.txt +++ b/world/map/npc/mobs/mob_kill_handler.txt @@ -66,7 +66,7 @@ L_Terranite: L_Pink_Flower: if ( @mobID != PinkFlower ) goto L_Return; // next mob label here - if ( ((HURNS1_STATE & BYTE_0_MASK) < PINK_PETAL_SHOP_ASKED_FOR_PETALS) || ((HURNS1_STATE & BYTE_0_MASK) >= PINK_PETAL_SHOP_FOUND_FLOWER_SEEDS) ) + if ( (HURNS1_STATE & BYTE_0_MASK) < PINK_PETAL_SHOP_ASKED_FOR_PETALS || (HURNS1_STATE & BYTE_0_MASK) >= PINK_PETAL_SHOP_FOUND_FLOWER_SEEDS ) goto L_Return; if (rand(PINK_FLOWER_SEEDS_CHANCE) < 1) goto L_Get_Seed; @@ -75,7 +75,7 @@ L_Pink_Flower: L_Get_Seed: getinventorylist; set .@free_slots, (100 - @inventorylist_count); - if (countitem(PinkFlowerSeed) >= 1 && countitem(PinkFlowerSeed) < 30000 ) + if (countitem(PinkFlowerSeed) >= 1 && countitem(PinkFlowerSeed) < 30000) set .@free_slots, .@free_slots + 1; if (.@free_slots < 1 || checkweight(PinkFlowerSeed, 1) == 0) goto L_Pink_Flower_Seeds_Inv_Full; @@ -87,11 +87,11 @@ L_Get_Seed: goto L_Return; L_Pink_Flower_Seeds_Full: - message strcharinfo(0), "Pink Flower : ##3You found enough [@@"+ PinkFlowerSeed + "|Pink Flower Seeds@@] for Blossom."; + message strcharinfo(0), "Pink Flower : ##3You found enough [@@" + PinkFlowerSeed + "|Pink Flower Seeds@@] for Blossom."; goto L_Return; L_Pink_Flower_Seeds_Inv_Full: - message strcharinfo(0), "Pink Flower : ##3Your Inventory is full you can't pickup the [@@"+ PinkFlowerSeed + "|@@]."; + message strcharinfo(0), "Pink Flower : ##3Your inventory is full. You can't pickup the [@@" + PinkFlowerSeed + "|Pink Flower Seed@@] and a bird came flying by and snatched it."; // to show the line correctly over head it needs something after the | but thats not needed for mes goto L_Return; L_Return: -- cgit v1.2.3-60-g2f50