|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Amputator
An Amputator is a kind of ability that denotes missing parts. Usually the missing parts are body parts from mobs, but they can technically be anything that can go missing as parts from the hosted object.
| Field Summary |
|---|
| Method Summary | |
|---|---|
java.util.Vector |
affectedLimbNameSet(java.lang.Object O,
java.lang.String missing,
java.util.Vector missingLimbs)
Often losing one part means that other parts are instantly affected, like removing an engine includes the spark plugs. |
Item |
amputate(Environmental target,
Amputator A,
java.lang.String gone)
Performs the very dirty business of amputating the item of the given name from the given target. |
java.util.Vector |
missingLimbNameSet()
The opposite of the remainingLimbNameSet method, this method returns the list of the names of those parts which have been amputated. |
java.util.Vector |
remainingLimbNameSet(Environmental E)
Returns a fully-qualified list of those parts of the given object which have not yet gone missing from it. |
void |
unamputate(Environmental target,
Amputator A,
java.lang.String gone)
Restores a missing part, denoted by the given string, and managed by the given Amputator property |
| 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, clearExpertiseCache, combatCastingTime, enchantQuality, externalFiles, flags, getTicksBetweenCasts, 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 |
|---|
amDestroyed, description, destroy, displayText, expirationDate, image, isGeneric, maxRange, minRange, miscTextFormat, name, Name, rawImage, sameAs, savable, 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.Affectable |
|---|
addEffect, addNonUninvokableEffect, baseEnvStats, delEffect, envStats, fetchEffect, fetchEffect, numEffects, recoverEnvStats, setBaseEnvStats |
| 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 remainingLimbNameSet(Environmental E)
E - the object to scrutinize
Item amputate(Environmental target,
Amputator A,
java.lang.String gone)
target - the thing to take the part away fromA - the instanceof this object to use as a markergone - the name of the piece to remove, fully qualified.
java.util.Vector missingLimbNameSet()
java.util.Vector affectedLimbNameSet(java.lang.Object O,
java.lang.String missing,
java.util.Vector missingLimbs)
O - the mob/race/object frame of reference to usemissing - the name of the part that was removedmissingLimbs - the parts already missing from the target
void unamputate(Environmental target,
Amputator A,
java.lang.String gone)
target - the unfortunate targetA - the amputator object managing the targets missing stuffgone - the name of the part to restore.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||