|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ItemCraftor
This interface denotes an ability that also incidentally is capable of generating objects, usually items. This is probably a common skill, but one could imagine an itemcraftor also being a spell that generates its own items. Also the item generation is an incidental and internal aspect of the ability, these methods allow that functionality to be exposed for archon use.
| Field Summary |
|---|
| Method Summary | |
|---|---|
java.util.Vector |
craftAllItemsVectors()
Crafts every item of a type supported by this class of every supported material. |
java.util.Vector |
craftAllItemsVectors(int material)
Crafts every item of a type supported by this class of the given resource code. |
java.util.Vector |
craftAnyItem(int material)
Crafts a random item of a type supported by this class of the given resource code. |
java.util.Vector |
craftItem(java.lang.String recipe)
Crafts the item specified by the recipe name, of a supported material type which this class can produce. |
java.util.Vector |
craftItem(java.lang.String recipe,
int material)
Crafts the item specified by the recipe name, of the specified material type which this class can produce. |
java.util.Vector |
fetchRecipes()
A Vector containing an entry for each craftable recipe Each craftable recipe is also a vector of strings. |
java.util.Vector |
matchingRecipeNames(java.lang.String recipeName,
boolean beLoose)
Returns a vector containing an entry for each craftable recipe whose name matches the given name. |
java.util.Vector |
myResources()
Returns a Vector of Integer objects where each Integer is a fully qualified RawMaterial code. |
java.lang.String |
parametersFile()
A String naming the file where the recipes are found |
java.lang.String |
parametersFormat()
A String containing the format of each entry in the parameter file in a recipe. |
| Methods inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.Ability |
|---|
abilityCode, abstractQuality, accountForYourself, adjustedLevel, affecting, appropriateToMyFactions, autoInvocation, bubbleAffect, canAffect, canAffect, canBeLearnedBy, canBePracticedBy, canBeTaughtBy, canBeUninvoked, canTarget, canTarget, castingQuality, castingTime, classificationCode, combatCastingTime, enchantQuality, externalFiles, flags, helpProficiency, invoke, invoke, invoker, isAutoInvoked, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, practicesRequired, preInvoke, proficiency, proficiencyCheck, putInCommandlist, requirements, setAbilityCode, setAffectedOne, setInvoker, setProficiency, setSavable, startTickDown, teach, trainsRequired, triggerStrings, unInvoke, usageCost, usageType |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
addEffect, addNonUninvokableEffect, amDestroyed, baseEnvStats, delEffect, description, destroy, displayText, envStats, expirationDate, fetchEffect, fetchEffect, image, isGeneric, maxRange, minRange, miscTextFormat, name, Name, numEffects, rawImage, recoverEnvStats, sameAs, savable, setBaseEnvStats, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, setName, text |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, tick |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, ID, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
|---|
affectCharState, affectCharStats, affectEnvStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
|---|
executeMsg, okMessage |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMModifiable |
|---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Behavable |
|---|
addBehavior, addScript, delBehavior, delScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts |
| Method Detail |
|---|
java.util.Vector fetchRecipes()
java.lang.String parametersFormat()
java.lang.String parametersFile()
java.util.Vector matchingRecipeNames(java.lang.String recipeName,
boolean beLoose)
recipeName - the name of the recipe to craftbeLoose - whether to be specific or "loose" with name matching
java.util.Vector craftAnyItem(int material)
material - the rawmaterial code to make the item out of
java.util.Vector craftAllItemsVectors(int material)
material - the rawmaterial code to make the item out of
java.util.Vector craftAllItemsVectors()
java.util.Vector craftItem(java.lang.String recipe)
recipe - the name of the item to make
java.util.Vector craftItem(java.lang.String recipe,
int material)
recipe - the name of the item to makematerial - the rawmaterial code to make the item out of
java.util.Vector myResources()
RawMaterial
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||