Attempt 2

This commit is contained in:
dginovker
2019-07-16 08:05:39 -04:00
commit 16d2e8140e
64 changed files with 2274 additions and 0 deletions
@@ -0,0 +1,26 @@
package scriptfactory.NewGuis;
import scriptfactory.Actions.Action;
import java.util.ArrayList;
import java.util.function.Consumer;
/**
* Created by SRH on 1/9/2018.
*/
public class ConditionGuiInfo extends NewStatementGUI {
public ConditionGuiInfo(ArrayList<Action> actionList, Consumer<Integer> updateTextfield) {
String[] actionTypes = new String[]{"Item is in Inventory", "Inventory slots used", "Item is on Ground", "Entity is around", "Hitpoints is below", "In Combat"};
Descriptions[] setDescs = {
new Descriptions("Item to detect (eg. 4296 = bones)", "Number of them to detect (blank = 1)"),
new Descriptions("Inventory slots greater than or equal to (eg. \"28\" detects a full inventory)"),
new Descriptions("Item to detect (eg. 314 = feathers)"),
new Descriptions("Entity to detect (eg. \"81,397,1767,1768\" detects cows)"),
new Descriptions("Below health # (eg. 10)"),
new Descriptions(),
};
initGui("Add new condition", actionList, updateTextfield, actionTypes, setDescs);
}
}