This commit is contained in:
Kam committed 2025-03-13 15:36:30 -04:00
1 parent c81e848895
commit c7a74a3e0e
59 files changed
+506 -592

No files matched your search

+5 -11
View File
@@ -6,17 +6,17 @@ import noppes.npcs.api.item.IItemStack;
public interface IRoleTrader extends IRole {
/**
* @param slot Slot number 0-17
* @param currency Currency item
* @param slot Slot number 0-17
* @param currency Currency item
* @param currency2 Currency item number two
* @param sold Item to be sold by this npc
* @param sold Item to be sold by this npc
*/
void setSellOption(int slot, IItemStack currency, IItemStack currency2, IItemStack sold);
/**
* @param slot Slot number 0-17
* @param slot Slot number 0-17
* @param currency Currency item
* @param sold Item to be sold by this npc
* @param sold Item to be sold by this npc
*/
void setSellOption(int slot, IItemStack currency, IItemStack sold);
@@ -67,14 +67,12 @@ public interface IRoleTrader extends IRole {
/**
* sets the purchase num for that slot to 0
*
* @param slot
*/
void resetPurchaseNum(int slot);
/**
* sets the purchase num for that slot and player to 0
*
* @param slot
* @param player
*/
@@ -95,14 +93,12 @@ public interface IRoleTrader extends IRole {
/**
* prevent an item from being sold on that slot
*
* @param slot
*/
void disableSlot(int slot);
/**
* disables the slot for this player
*
* @param slot
* @param player
*/
@@ -110,14 +106,12 @@ public interface IRoleTrader extends IRole {
/**
* allow an item to be sold on that slot
*
* @param slot
*/
void enableSlot(int slot);
/**
* enables the slot for this player
*
* @param slot
* @param player
*/