public class Reset extends StdCommand
idConverter
ID, noCoinFilter
Constructor | Description |
---|---|
Reset() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
canBeOrdered() |
Whether a group leader or charmer can order their followers
to do this command.
|
boolean |
compareRaces(java.lang.String usefulID,
Race race1,
Race race2,
MOB tellM) |
|
boolean |
execute(MOB mob,
java.util.List<java.lang.String> commands,
int metaFlags) |
This method actually performs the command, when the given parsed
set of command-line words.
|
boolean |
fixMob(MOB M,
java.lang.StringBuffer recordedChanges) |
|
boolean |
fixWeaponMob(MOB M,
java.lang.StringBuffer recordedChanges) |
|
java.lang.String[] |
getAccessWords() |
Returns the set of command words, with the most public one first,
that are entered by the user to initiate this command.
|
void |
makeManufacturer(java.lang.String[] names,
Technical.TechType[] types) |
|
int |
resetAreaOramaManaI(MOB mob,
Item I,
java.util.Hashtable<java.lang.String,java.lang.Integer> rememberI,
java.lang.String lead) |
|
java.lang.String |
resetWarning(MOB mob,
Area A) |
|
java.lang.String |
resetWarning(MOB mob,
Room R) |
|
protected int |
rightImportMat(MOB mob,
Item I,
boolean openOnly) |
|
boolean |
securityCheck(MOB mob) |
Whether this command is available to the given player
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionsCost, canBeCancelled, checkArguments, checkedActionsCost, combatActionsCost, compareTo, copyOf, executeInternal, getArgumentSetIndex, getVisibleRoomTarget, I, ID, initializeClass, isOccupiedWithOtherWork, L, name, newInstance, preExecute, putInCommandlist
public boolean canBeOrdered()
Command
canBeOrdered
in interface Command
canBeOrdered
in class StdCommand
public java.lang.String[] getAccessWords()
Command
getAccessWords
in interface Command
getAccessWords
in class StdCommand
public boolean securityCheck(MOB mob)
Command
securityCheck
in interface Command
securityCheck
in class StdCommand
mob
- the player mob who might not even know about this commandpublic int resetAreaOramaManaI(MOB mob, Item I, java.util.Hashtable<java.lang.String,java.lang.Integer> rememberI, java.lang.String lead) throws java.io.IOException
java.io.IOException
public void makeManufacturer(java.lang.String[] names, Technical.TechType[] types)
protected int rightImportMat(MOB mob, Item I, boolean openOnly) throws java.io.IOException
java.io.IOException
public boolean fixMob(MOB M, java.lang.StringBuffer recordedChanges)
public boolean fixWeaponMob(MOB M, java.lang.StringBuffer recordedChanges)
public boolean compareRaces(java.lang.String usefulID, Race race1, Race race2, MOB tellM)
public boolean execute(MOB mob, java.util.List<java.lang.String> commands, int metaFlags) throws java.io.IOException
Command
execute
in interface Command
execute
in class StdCommand
mob
- the mob or player issueing the commandcommands
- usually the command words and parameters; a set of stringsmetaFlags
- flags denoting how the command is being executedjava.io.IOException
- usually means the player has dropped carrierCommand.actionsCost(MOB, List)
,
Command.securityCheck(MOB)