Skip to content

Commit

Permalink
Moved strings for withdrawl to another file
Browse files Browse the repository at this point in the history
  • Loading branch information
HeronAlexandria committed Dec 19, 2021
1 parent 75aa4e6 commit e562664
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public int OnDestroy(obj_id self) throws InterruptedException

//Additions to remove tokens from the box

private static final string_id MNU_WITHDRAW = new string_id("token_box", "withdraw");
private static final string_id MNU_WITHDRAW = new string_id("heron_htb", "withdraw");

public int OnObjectMenuRequest(obj_id self, obj_id player, menu_info mi) throws InterruptedException
{
Expand Down Expand Up @@ -168,7 +168,7 @@ public int OnSelectNumberOfTokenToWithdraw(obj_id self, dictionary params) throw

if (quantity < 1 || quantity > tokensInBox)
{
sendSystemMessage(player, new string_id("spam", "token_box_invalid_quantity"));
sendSystemMessage(player, new string_id("heron_htb", "token_box_invalid_quantity"));
return SCRIPT_CONTINUE;
}

Expand All @@ -189,7 +189,7 @@ public int OnSelectNumberOfTokenToWithdraw(obj_id self, dictionary params) throw
}
else
{
sendSystemMessage(player, new string_id("spam", "token_box_no_room_inventory"));
sendSystemMessage(player, new string_id("heron_htb", "token_box_no_room_inventory"));
}

return SCRIPT_CONTINUE;
Expand Down

0 comments on commit e562664

Please sign in to comment.