|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.StdAbility
com.planet_ink.coffee_mud.Abilities.Common.CommonSkill
com.planet_ink.coffee_mud.Abilities.Common.GatheringSkill
com.planet_ink.coffee_mud.Abilities.Common.CraftingSkill
com.planet_ink.coffee_mud.Abilities.Common.EnhancedCraftingSkill
com.planet_ink.coffee_mud.Abilities.Common.Cooking
com.planet_ink.coffee_mud.Abilities.Common.Apothecary
public class Apothecary
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.planet_ink.coffee_mud.Abilities.Common.CraftingSkill |
---|
CraftingSkill.CraftingActivity, CraftingSkill.CraftParms, CraftingSkill.EnhancedExpertise, CraftingSkill.FoundResourceData, CraftingSkill.FoundResources |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.ItemCraftor |
---|
ItemCraftor.ItemKeyPair |
Field Summary |
---|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Common.Cooking |
---|
cookingPot, defaultDrinkSound, defaultFoodSound, finalAmount, finalDishName, finalRecipe, oldPotContents, RCP_BONUSSPELL, RCP_FINALFOOD, RCP_FOODDRINK, RCP_LEVEL, RCP_MAINAMNT, RCP_MAININGR |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Common.EnhancedCraftingSkill |
---|
HIDE_MASK, materialAdjustments, STAGE_MASK |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Common.CraftingSkill |
---|
activity, buildingI, CF_AMOUNT, CF_HARDNESS, CF_MATERIAL, CF_TOTAL, fireRequired, FOUND_AMT, FOUND_CODE, last25items, messedUp, RCP_FINALNAME, RCP_TICKS, recipeHolder |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Common.GatheringSkill |
---|
supportedResources |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Common.CommonSkill |
---|
aborted, activityRoom, bonusYield, bundling, displayText, fakeFire, helping, helpingAbility, lastBaseDuration, playSound, resourcesMap, tickUp, uninvokeEmpties, verb |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.StdAbility |
---|
affected, amDestroyed, canBeUninvoked, empty, invoker, isAnAutoEffect, lastCastHelp, miscText, proficiency, savable, tickDown, unInvoked |
Fields inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.ItemCraftor |
---|
CRAFTING_BRAND_STR_ANON, CRAFTING_BRAND_STR_NAME, CRAFTING_BRAND_STR_PREFIX |
Constructor Summary | |
---|---|
Apothecary()
|
Method Summary | |
---|---|
java.lang.String |
cookWord()
|
java.lang.String |
cookWordShort()
|
protected ExpertiseLibrary.SkillCostDefinition |
getRawTrainingCost()
|
boolean |
honorHerbs()
|
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
boolean |
invoke(MOB mob,
java.util.List<java.lang.String> commands,
Physical givenTarget,
boolean auto,
int asLevel)
This method is called when a player or the system invokes this skill, casts this spell, etc. |
protected java.util.List<java.util.List<java.lang.String>> |
loadRecipes()
|
boolean |
mayICraft(Item I)
Returns whether the given item could have been crafted by this skill. |
java.lang.String |
name()
The nice displayable name of this instance of this object |
java.lang.String |
parametersFile()
A String naming the file where the recipes are found |
void |
stirThePot(MOB mob)
|
java.lang.String |
supportedResourceString()
|
boolean |
supportsDeconstruction()
Returns true if mundane items can be demonstructed into recipes with this skill. |
java.lang.String[] |
triggerStrings()
A set of the command strings the user types to access this command when it is listed as a skill ability. |
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Common.Cooking |
---|
applyName, autoGenInvoke, buildItem, classificationCode, contentsSame, countIngredients, extraIngredientsInOldContents, getDecodedComponentsDescription, getDuration, homeCookValue, isMineForCooking, meetsLidRequirements, missingIngredientsFromOldContents, okMessage, parametersFormat, potContents, requireFire, requireLid, tick, unInvoke |
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Common.EnhancedCraftingSkill |
---|
addSpellAdjustment, addStatAdjustment, applyName, cleanBuildingNameForXP, enhancedTypes, enhanceItem, enhanceList, fetchFoundResourceData, fetchMyRecipes, fixDataForComponents, getAllThisSkillsDefinitions, getLocalExpCode, getThisSkillsExpertises, loadList, parametersFields, supportsArmors, supportsWeapons |
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Common.GatheringSkill |
---|
affectPhyStats, bundle, fixResourceRequirement, myResources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.ItemCraftor |
---|
craftAllItemSets, craftAllItemSets, craftAnyItem, craftItem, craftItem, getItemWeightMultiplier |
Methods inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.CraftorAbility |
---|
fetchMyRecipes, fetchRecipes, getDecodedItemNameAndLevel, matchingRecipeNames, myResources |
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, checkedCastingCost, combatCastingTime, enchantQuality, externalFiles, flags, getTrainingCost, helpProficiency, invoke, invoker, isAutoInvoked, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, preInvoke, proficiency, proficiencyCheck, putInCommandlist, requirements, setAbilityCode, setAffectedOne, setInvoker, setProficiency, startTickDown, teach, usageCost, usageType |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
---|
description, displayText, expirationDate, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, setName, text |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
---|
getTickStatus |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
---|
affectCharState, affectCharStats, affectPhyStats |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
---|
executeMsg |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent |
---|
amDestroyed, destroy, isSavable, setSavable |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
---|
copyOf, initializeClass, newInstance |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
Constructor Detail |
---|
public Apothecary()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class Cooking
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class Cooking
Environmental.Name()
public java.lang.String[] triggerStrings()
Ability
triggerStrings
in interface Ability
triggerStrings
in class Cooking
Ability.putInCommandlist()
public java.lang.String supportedResourceString()
supportedResourceString
in class Cooking
public java.lang.String cookWordShort()
cookWordShort
in class Cooking
public java.lang.String cookWord()
cookWord
in class Cooking
public boolean honorHerbs()
honorHerbs
in class Cooking
protected ExpertiseLibrary.SkillCostDefinition getRawTrainingCost()
getRawTrainingCost
in class CommonSkill
public java.lang.String parametersFile()
CraftorAbility
parametersFile
in interface CraftorAbility
parametersFile
in class Cooking
public void stirThePot(MOB mob)
stirThePot
in class Cooking
protected java.util.List<java.util.List<java.lang.String>> loadRecipes()
loadRecipes
in class Cooking
public boolean supportsDeconstruction()
ItemCraftor
supportsDeconstruction
in interface ItemCraftor
supportsDeconstruction
in class Cooking
public boolean mayICraft(Item I)
ItemCraftor
mayICraft
in interface ItemCraftor
mayICraft
in class CraftingSkill
I
- the item to examine
public boolean invoke(MOB mob, java.util.List<java.lang.String> commands, Physical givenTarget, boolean auto, int asLevel)
Ability
invoke
in interface Ability
invoke
in class Cooking
mob
- the player or mob invoking the skillcommands
- the parameters entered for the skill (minus trigger word)givenTarget
- null, unless being auto-invoked. Represents an override target.auto
- false if player enters command, true if system invokes the commandasLevel
- -1, unless being auto-invoked, when it is the level to invoke it at.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |