|
|||||||||
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.MasterCooking
public class MasterCooking
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 | |
---|---|
protected java.util.List<java.lang.String> |
noUninvokes
|
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 | |
---|---|
MasterCooking()
|
Method Summary | |
---|---|
protected int |
baseYield()
|
protected int |
getDuration(MOB mob,
int level)
|
protected java.util.List<java.lang.String> |
getUninvokeException()
|
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. |
java.lang.String |
name()
The nice displayable name of this instance of this object |
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, cookWord, cookWordShort, countIngredients, extraIngredientsInOldContents, getDecodedComponentsDescription, homeCookValue, honorHerbs, isMineForCooking, loadRecipes, meetsLidRequirements, missingIngredientsFromOldContents, okMessage, parametersFile, parametersFormat, potContents, requireFire, requireLid, stirThePot, supportedResourceString, supportsDeconstruction, 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, mayICraft |
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 |
Field Detail |
---|
protected java.util.List<java.lang.String> noUninvokes
Constructor Detail |
---|
public MasterCooking()
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()
protected java.util.List<java.lang.String> getUninvokeException()
getUninvokeException
in class CommonSkill
protected int getDuration(MOB mob, int level)
getDuration
in class Cooking
protected int baseYield()
baseYield
in class CommonSkill
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 |