Class Production.Make
java.lang.Object
privbot.hooks.Production.Make
-
Method Details
-
all
Make all (default). -
times
Make exactlyn(>=1). -
openWith
Open the creation interface by using inventory itemitemIdon objectobject. If the menu is already open whenrun()is called, this step is skipped. -
run
public boolean run()Execute. Returns true once the creation action was successfully dispatched.Flow:
- If
openWith(int, java.lang.String)was set and the menu is not already open, use the item on the object (the item-on-object action) and wait up to 6000Lms for the interface. - Text-driven select: scan creation-interface widgets for a visible row whose
text contains
productand interact with the "Make all" / "Make N" action viaWidgets.interactText(java.lang.String). - Option-list fallback: if the standard widget approach yields nothing,
delegate to
Dialogue.select(java.lang.String)(covers chat-option-style servers). - If both paths fail, returns false; caller should drive the recorded-sequence
named
Production.recordedFallbackName(String). - Settle: blocks until the make animation goes idle (or 8000Lms elapses), then sleeps 1200Lms.
- If
-