com.planet_ink.coffee_mud.Libraries.interfaces
Interface MaterialLibrary
- All Superinterfaces:
- java.lang.Cloneable, CMLibrary, CMObject, java.lang.Comparable<CMObject>
- All Known Implementing Classes:
- RawCMaterial
public interface MaterialLibrary
- extends CMLibrary
|
Method Summary |
void |
adjustResourceName(Item I)
|
int |
destroyResources(MOB E,
int howMuch,
int finalMaterial,
int otherMaterial,
Item never)
|
int |
destroyResources(Room E,
int howMuch,
int finalMaterial,
int otherMaterial,
Item never)
|
Item |
fetchFoundOtherEncoded(MOB E,
java.lang.String otherRequired)
|
Item |
fetchFoundOtherEncoded(Room E,
java.lang.String otherRequired)
|
Item |
findFirstResource(MOB E,
int resource)
|
Item |
findFirstResource(MOB E,
java.lang.String other)
|
Item |
findFirstResource(Room E,
int resource)
|
Item |
findFirstResource(Room E,
java.lang.String other)
|
Item |
findMostOfMaterial(MOB E,
int material)
|
Item |
findMostOfMaterial(MOB E,
java.lang.String other)
|
Item |
findMostOfMaterial(Room E,
int material)
|
Item |
findMostOfMaterial(Room E,
java.lang.String other)
|
int |
findNumberOfResource(MOB E,
int resource)
|
int |
findNumberOfResource(Room E,
int resource)
|
java.lang.String |
genericType(Item I)
|
int |
getMaterialCode(java.lang.String s,
boolean exact)
|
java.lang.String |
getMaterialDesc(int MASK)
|
int |
getMaterialRelativeInt(java.lang.String s)
|
int |
getRandomResourceOfMaterial(int material)
|
int |
getResourceCode(java.lang.String s,
boolean exact)
|
java.lang.String |
getResourceDesc(int MASK)
|
Item |
makeItemResource(int type)
|
Environmental |
makeResource(int myResource,
int localeCode,
boolean noAnimals,
java.lang.String fullName)
|
boolean |
quickDestroy(Item I)
|
boolean |
rebundle(Item I)
|
Environmental |
unbundle(Item I,
int number)
|
| Methods inherited from interface java.lang.Comparable |
compareTo |
unbundle
Environmental unbundle(Item I,
int number)
getMaterialRelativeInt
int getMaterialRelativeInt(java.lang.String s)
getMaterialCode
int getMaterialCode(java.lang.String s,
boolean exact)
getResourceCode
int getResourceCode(java.lang.String s,
boolean exact)
getResourceDesc
java.lang.String getResourceDesc(int MASK)
getMaterialDesc
java.lang.String getMaterialDesc(int MASK)
makeItemResource
Item makeItemResource(int type)
makeResource
Environmental makeResource(int myResource,
int localeCode,
boolean noAnimals,
java.lang.String fullName)
getRandomResourceOfMaterial
int getRandomResourceOfMaterial(int material)
rebundle
boolean rebundle(Item I)
quickDestroy
boolean quickDestroy(Item I)
destroyResources
int destroyResources(MOB E,
int howMuch,
int finalMaterial,
int otherMaterial,
Item never)
destroyResources
int destroyResources(Room E,
int howMuch,
int finalMaterial,
int otherMaterial,
Item never)
fetchFoundOtherEncoded
Item fetchFoundOtherEncoded(Room E,
java.lang.String otherRequired)
fetchFoundOtherEncoded
Item fetchFoundOtherEncoded(MOB E,
java.lang.String otherRequired)
findMostOfMaterial
Item findMostOfMaterial(Room E,
int material)
findMostOfMaterial
Item findMostOfMaterial(MOB E,
int material)
findNumberOfResource
int findNumberOfResource(Room E,
int resource)
findNumberOfResource
int findNumberOfResource(MOB E,
int resource)
findMostOfMaterial
Item findMostOfMaterial(Room E,
java.lang.String other)
findMostOfMaterial
Item findMostOfMaterial(MOB E,
java.lang.String other)
findFirstResource
Item findFirstResource(Room E,
int resource)
findFirstResource
Item findFirstResource(MOB E,
int resource)
findFirstResource
Item findFirstResource(Room E,
java.lang.String other)
findFirstResource
Item findFirstResource(MOB E,
java.lang.String other)
adjustResourceName
void adjustResourceName(Item I)
genericType
java.lang.String genericType(Item I)