com.planet_ink.coffee_mud.Items.interfaces
Interface RawMaterial

All Superinterfaces:
Affectable, Behavable, java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, DBIdentifiable, Environmental, Item, Modifiable, MsgListener, Physical, PhysicalAgent, Readable, Rider, StatsAffecting, Tickable, Wearable
All Known Implementing Classes:
GenFoodResource, GenLiquidResource, GenResource

public interface RawMaterial
extends Item

RawMaterial houses the complete list of raw resource types, which are used to specify Item materials, and the nature of raw resources. In other words, this is what other stuff is made of. A resource code is divided into a material type in the upper bits, with a specific resource type in the lower bits. This interface includes a singleton called CODES for accessing information about the various resource codes.


Nested Class Summary
static class RawMaterial.CODES
          Global resource/raw material code data collector
static class RawMaterial.DefResource
          Enum of all the default resource data for all basic hard coded resources.
static class RawMaterial.Material
          An enum of all the basic material types, allowing lookups and such
static class RawMaterial.ResourceFlag
          Enums that set certain category flags on a resource, such as whether it is a fish type, or a berry type
static class RawMaterial.ResourceSubType
          A subset of the allowed strings to denote the subtype of a specific resource, such as a resource that is still of its type, but in an unusual form.
 
Field Summary
static int MATERIAL_CLOTH
          Item basic material type denoting that this material is of a cloth-like type
static int MATERIAL_ENERGY
          Item basic material type denoting that this material is of a energy-like type
static int MATERIAL_FLESH
          Item basic material type denoting that this material is of a fleshy-like type
static int MATERIAL_GAS
          Item basic material type denoting that this material is of a gassy-like type
static int MATERIAL_GLASS
          Item basic material type denoting that this material is of a glass-like type
static int MATERIAL_LEATHER
          Item basic material type denoting that this material is of a leather-like type
static int MATERIAL_LIQUID
          Item basic material type denoting that this material is of a liquidy-like type
static int MATERIAL_MASK
          Item basic material mask that filters out all bits except the basic material type
static int MATERIAL_METAL
          Item basic material type denoting that this material is of a metal-like type
static int MATERIAL_MITHRIL
          Item basic material type denoting that this material is of a special metal mithril-like type
static int MATERIAL_PAPER
          Item basic material type denoting that this material is of a paper-like type
static int MATERIAL_PRECIOUS
          Item basic material type denoting that this material is of a jewely-like type
static int MATERIAL_ROCK
          Item basic material type denoting that this material is of a rocky-like type
static int MATERIAL_SYNTHETIC
          Item basic material type denoting that this material is of a synthetic-like type
static int MATERIAL_UNKNOWN
          Item basic material type denoting that this material is of unknown material type
static int MATERIAL_VEGETATION
          Item basic material type denoting that this material is of a vegetation-like type
static int MATERIAL_WOODEN
          Item basic material type denoting that this material is of a wood-like type
static int RESOURCE_ADAMANTITE
           
static int RESOURCE_AGATE
           
static int RESOURCE_AIR
           
static int RESOURCE_ALABASTER
           
static int RESOURCE_ALEXANDRITE
           
static int RESOURCE_ALUMINUM
           
static int RESOURCE_AMBER
           
static int RESOURCE_AMETHYST
           
static int RESOURCE_ANTIMATTER
           
static int RESOURCE_APPLES
           
static int RESOURCE_AQUAMARINE
           
static int RESOURCE_ASH
           
static int RESOURCE_ATLANTITE
           
static int RESOURCE_BALSA
           
static int RESOURCE_BAMBOO
           
static int RESOURCE_BANANAS
           
static int RESOURCE_BARLEY
           
static int RESOURCE_BASALT
           
static int RESOURCE_BEANS
           
static int RESOURCE_BEECHWOOD
           
static int RESOURCE_BEEF
           
static int RESOURCE_BERRIES
           
static int RESOURCE_BLACKBERRIES
           
static int RESOURCE_BLOOD
           
static int RESOURCE_BLOODSTONE
           
static int RESOURCE_BLUEBERRIES
           
static int RESOURCE_BONE
           
static int RESOURCE_BOYSENBERRIES
           
static int RESOURCE_BRASS
           
static int RESOURCE_BREAD
           
static int RESOURCE_BRONZE
           
static int RESOURCE_CACTUS
           
static int RESOURCE_CARP
           
static int RESOURCE_CARROTS
           
static int RESOURCE_CATFISH
           
static int RESOURCE_CEDAR
           
static int RESOURCE_CHEESE
           
static int RESOURCE_CHERRIES
           
static int RESOURCE_CHERRYWOOD
           
static int RESOURCE_CHINA
           
static int RESOURCE_CHLORINE
           
static int RESOURCE_CHROMIUM
           
static int RESOURCE_CHRYSOBERYL
           
static int RESOURCE_CITRINE
           
static int RESOURCE_CLAY
           
static int RESOURCE_COAL
           
static int RESOURCE_COCOA
           
static int RESOURCE_COCONUTS
           
static int RESOURCE_COFFEE
           
static int RESOURCE_COFFEEBEANS
           
static int RESOURCE_COPPER
           
static int RESOURCE_CORN
           
static int RESOURCE_COTTON
           
static int RESOURCE_CRACKER
           
static int RESOURCE_CRANBERRIES
           
static int RESOURCE_CRYSTAL
           
static int RESOURCE_DATES
           
static int RESOURCE_DENIM
           
static int RESOURCE_DEUTERIUM
           
static int RESOURCE_DIAMELS
           
static int RESOURCE_DIAMOND
           
static int RESOURCE_DIESEL
           
static int RESOURCE_DILITHIUM
           
static int RESOURCE_DIRT
           
static int RESOURCE_DRAGONBLOOD
           
static int RESOURCE_DRAGONMEAT
           
static int RESOURCE_DRAGONSCALES
           
static int RESOURCE_DRINKABLE
           
static int RESOURCE_DURANIUM
           
static int RESOURCE_DUST
           
static int RESOURCE_EBONY
           
static int RESOURCE_EGGS
           
static int RESOURCE_ELECTRICITY
           
static int RESOURCE_ELM
           
static int RESOURCE_EMERALD
           
static int RESOURCE_ENERGY
           
static int RESOURCE_FEATHERS
           
static int RESOURCE_FIBREGLASS
           
static int RESOURCE_FISH
           
static int RESOURCE_FLINT
           
static int RESOURCE_FLOURINE
           
static int RESOURCE_FLOWERS
           
static int RESOURCE_FRESHWATER
           
static int RESOURCE_FRUIT
           
static int RESOURCE_FUNGUS
           
static int RESOURCE_FUR
           
static int RESOURCE_GARLIC
           
static int RESOURCE_GARNET
           
static int RESOURCE_GASOLINE
           
static int RESOURCE_GEM
           
static int RESOURCE_GLASS
           
static int RESOURCE_GOLD
           
static int RESOURCE_GRANITE
           
static int RESOURCE_GRAPES
           
static int RESOURCE_GREENS
           
static int RESOURCE_HEMP
           
static int RESOURCE_HERBS
           
static int RESOURCE_HICKORY
           
static int RESOURCE_HIDE
           
static int RESOURCE_HONEY
           
static int RESOURCE_HOPS
           
static int RESOURCE_HYDROGEN
           
static int RESOURCE_IRON
           
static int RESOURCE_IRONWOOD
           
static int RESOURCE_IVORY
           
static int RESOURCE_JADE
           
static int RESOURCE_LAMPOIL
           
static int RESOURCE_LAPIS
           
static int RESOURCE_LEAD
           
static int RESOURCE_LEATHER
           
static int RESOURCE_LEMONS
           
static int RESOURCE_LIMES
           
static int RESOURCE_LIMESTONE
           
static int RESOURCE_LIQUOR
           
static int RESOURCE_MAPLE
           
static int RESOURCE_MARBLE
           
static int RESOURCE_MASK
           
static int RESOURCE_MEAT
           
static int RESOURCE_MESQUITE
           
static int RESOURCE_MILK
           
static int RESOURCE_MITHRIL
           
static int RESOURCE_MOONSTONE
           
static int RESOURCE_MUSHROOMS
           
static int RESOURCE_MUTTON
           
static int RESOURCE_NITROGEN
           
static int RESOURCE_NOTHING
           
static int RESOURCE_NUTS
           
static int RESOURCE_OAK
           
static int RESOURCE_OBSIDIAN
           
static int RESOURCE_OLIVES
           
static int RESOURCE_ONIONS
           
static int RESOURCE_ONYX
           
static int RESOURCE_OPAL
           
static int RESOURCE_ORANGES
           
static int RESOURCE_OXYGEN
           
static int RESOURCE_PAPER
           
static int RESOURCE_PEACHES
           
static int RESOURCE_PEARL
           
static int RESOURCE_PEPPERS
           
static int RESOURCE_PERFUME
           
static int RESOURCE_PERIDOT
           
static int RESOURCE_PETROLEUM
           
static int RESOURCE_PINE
           
static int RESOURCE_PINEAPPLES
           
static int RESOURCE_PIPEWEED
           
static int RESOURCE_PLASMA
           
static int RESOURCE_PLASTIC
           
static int RESOURCE_PLATINUM
           
static int RESOURCE_PLUMS
           
static int RESOURCE_POISON
           
static int RESOURCE_POLYESTER
           
static int RESOURCE_PORK
           
static int RESOURCE_POTATOES
           
static int RESOURCE_POULTRY
           
static int RESOURCE_PUMICE
           
static int RESOURCE_QUARTZ
           
static int RESOURCE_RASPBERRIES
           
static int RESOURCE_REDWOOD
           
static int RESOURCE_REED
           
static int RESOURCE_RICE
           
static int RESOURCE_RUBBER
           
static int RESOURCE_RUBY
           
static int RESOURCE_SALMON
           
static int RESOURCE_SALT
           
static int RESOURCE_SALTWATER
           
static int RESOURCE_SAND
           
static int RESOURCE_SANDSTONE
           
static int RESOURCE_SAP
           
static int RESOURCE_SAPPHIRE
           
static int RESOURCE_SCALES
           
static int RESOURCE_SEAWEED
           
static int RESOURCE_SHALE
           
static int RESOURCE_SHRIMP
           
static int RESOURCE_SILICON
           
static int RESOURCE_SILK
           
static int RESOURCE_SILVER
           
static int RESOURCE_SLIME
           
static int RESOURCE_SMURFBERRIES
           
static int RESOURCE_SOAP
           
static int RESOURCE_SOAPSTONE
           
static int RESOURCE_SPICE
           
static int RESOURCE_SPIDERSTEEL
           
static int RESOURCE_SPRUCE
           
static int RESOURCE_STEEL
           
static int RESOURCE_STONE
           
static int RESOURCE_STRAWBERRIES
           
static int RESOURCE_SUGAR
           
static int RESOURCE_SYCAMORE
           
static int RESOURCE_TAR
           
static int RESOURCE_TEAK
           
static int RESOURCE_TIN
           
static int RESOURCE_TITANIUM
           
static int RESOURCE_TOMATOES
           
static int RESOURCE_TOPAZ
           
static int RESOURCE_TROUT
           
static int RESOURCE_TUNA
           
static int RESOURCE_TURQUOISE
           
static int RESOURCE_ULTRANIUM
           
static int RESOURCE_URANIUM
           
static int RESOURCE_VINE
           
static int RESOURCE_WAX
           
static int RESOURCE_WHEAT
           
static int RESOURCE_WHITE_GOLD
           
static int RESOURCE_WILLOW
           
static int RESOURCE_WOOD
           
static int RESOURCE_WOOL
           
static int RESOURCE_YEW
           
static int RESOURCE_ZINC
           
 
Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BEAMWEAPON, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
 
Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Wearable
DEFAULT_WORN_CODES, DEFAULT_WORN_DEPENDENCYGRID, DEFAULT_WORN_DESCS, DEFAULT_WORN_ORDER, DEFAULT_WORN_USUAL_NAMES, DEFAULT_WORN_WEIGHT_POINTS, DEFAULT_WORN_WEIGHTS, FILTER_ANY, FILTER_MOBINVONLY, FILTER_ROOMONLY, FILTER_UNWORNONLY, FILTER_WORNONLY, HIGHEST_WORN_CODE, IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_EARS, WORN_EYES, WORN_FEET, WORN_FLOATING_NEARBY, WORN_HANDS, WORN_HEAD, WORN_HELD, WORN_LEFT_FINGER, WORN_LEFT_WRIST, WORN_LEGS, WORN_MOUTH, WORN_NECK, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WIELD
 
Method Summary
 java.lang.String domainSource()
          Gets the specific origin of this resource.
 java.lang.String getSubType()
          Returns the resource subtype of this rawmaterial.
 void quickDestroy()
          A slightly faster version of Contingent.destroy() that eliminates the item from the owner before calling destroy.
 boolean rebundle()
          Scans the owner of this item (room, mob, whatever) for other rawmaterial resources of the exact same kind and, if found, combines with them.
 void setDomainSource(java.lang.String src)
          Sets the specific origin of this resource.
 void setSubType(java.lang.String subType)
          Sets the resource subtype of this rawmaterial.
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item
baseGoldValue, container, material, numberOfItems, owner, rawSecretIdentity, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setMaterial, setOwner, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, usesRemaining, value
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Rider
riding, setRiding
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Physical
description, displayText, name
 
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, name, tick
 
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, okMessage
 
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, ID, 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
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Affectable
addEffect, addNonUninvokableEffect, basePhyStats, delAllEffects, delEffect, eachEffect, effects, fetchEffect, fetchEffect, numEffects, phyStats, recoverPhyStats, setBasePhyStats
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Behavable
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.DBIdentifiable
canSaveDatabaseID, databaseID, setDatabaseID
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Wearable
amBeingWornProperly, amWearingAt, canWear, compareProperLocations, fitsOn, rawLogicalAnd, rawProperLocationBitmap, rawWornCode, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, unWear, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible, whereCantWear
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Readable
isReadable, readableText, setReadable, setReadableText
 

Field Detail

MATERIAL_UNKNOWN

static final int MATERIAL_UNKNOWN
Item basic material type denoting that this material is of unknown material type

See Also:
Constant Field Values

MATERIAL_CLOTH

static final int MATERIAL_CLOTH
Item basic material type denoting that this material is of a cloth-like type

See Also:
Constant Field Values

MATERIAL_LEATHER

static final int MATERIAL_LEATHER
Item basic material type denoting that this material is of a leather-like type

See Also:
Constant Field Values

MATERIAL_METAL

static final int MATERIAL_METAL
Item basic material type denoting that this material is of a metal-like type

See Also:
Constant Field Values

MATERIAL_MITHRIL

static final int MATERIAL_MITHRIL
Item basic material type denoting that this material is of a special metal mithril-like type

See Also:
Constant Field Values

MATERIAL_WOODEN

static final int MATERIAL_WOODEN
Item basic material type denoting that this material is of a wood-like type

See Also:
Constant Field Values

MATERIAL_GLASS

static final int MATERIAL_GLASS
Item basic material type denoting that this material is of a glass-like type

See Also:
Constant Field Values

MATERIAL_VEGETATION

static final int MATERIAL_VEGETATION
Item basic material type denoting that this material is of a vegetation-like type

See Also:
Constant Field Values

MATERIAL_FLESH

static final int MATERIAL_FLESH
Item basic material type denoting that this material is of a fleshy-like type

See Also:
Constant Field Values

MATERIAL_PAPER

static final int MATERIAL_PAPER
Item basic material type denoting that this material is of a paper-like type

See Also:
Constant Field Values

MATERIAL_ROCK

static final int MATERIAL_ROCK
Item basic material type denoting that this material is of a rocky-like type

See Also:
Constant Field Values

MATERIAL_LIQUID

static final int MATERIAL_LIQUID
Item basic material type denoting that this material is of a liquidy-like type

See Also:
Constant Field Values

MATERIAL_PRECIOUS

static final int MATERIAL_PRECIOUS
Item basic material type denoting that this material is of a jewely-like type

See Also:
Constant Field Values

MATERIAL_ENERGY

static final int MATERIAL_ENERGY
Item basic material type denoting that this material is of a energy-like type

See Also:
Constant Field Values

MATERIAL_SYNTHETIC

static final int MATERIAL_SYNTHETIC
Item basic material type denoting that this material is of a synthetic-like type

See Also:
Constant Field Values

MATERIAL_GAS

static final int MATERIAL_GAS
Item basic material type denoting that this material is of a gassy-like type

See Also:
Constant Field Values

MATERIAL_MASK

static final int MATERIAL_MASK
Item basic material mask that filters out all bits except the basic material type

See Also:
Constant Field Values

RESOURCE_NOTHING

static final int RESOURCE_NOTHING
See Also:
Constant Field Values

RESOURCE_MEAT

static final int RESOURCE_MEAT
See Also:
Constant Field Values

RESOURCE_BEEF

static final int RESOURCE_BEEF
See Also:
Constant Field Values

RESOURCE_PORK

static final int RESOURCE_PORK
See Also:
Constant Field Values

RESOURCE_POULTRY

static final int RESOURCE_POULTRY
See Also:
Constant Field Values

RESOURCE_MUTTON

static final int RESOURCE_MUTTON
See Also:
Constant Field Values

RESOURCE_FISH

static final int RESOURCE_FISH
See Also:
Constant Field Values

RESOURCE_WHEAT

static final int RESOURCE_WHEAT
See Also:
Constant Field Values

RESOURCE_CORN

static final int RESOURCE_CORN
See Also:
Constant Field Values

RESOURCE_RICE

static final int RESOURCE_RICE
See Also:
Constant Field Values

RESOURCE_CARROTS

static final int RESOURCE_CARROTS
See Also:
Constant Field Values

RESOURCE_TOMATOES

static final int RESOURCE_TOMATOES
See Also:
Constant Field Values

RESOURCE_PEPPERS

static final int RESOURCE_PEPPERS
See Also:
Constant Field Values

RESOURCE_GREENS

static final int RESOURCE_GREENS
See Also:
Constant Field Values

RESOURCE_FRUIT

static final int RESOURCE_FRUIT
See Also:
Constant Field Values

RESOURCE_APPLES

static final int RESOURCE_APPLES
See Also:
Constant Field Values

RESOURCE_BERRIES

static final int RESOURCE_BERRIES
See Also:
Constant Field Values

RESOURCE_ORANGES

static final int RESOURCE_ORANGES
See Also:
Constant Field Values

RESOURCE_LEMONS

static final int RESOURCE_LEMONS
See Also:
Constant Field Values

RESOURCE_GRAPES

static final int RESOURCE_GRAPES
See Also:
Constant Field Values

RESOURCE_OLIVES

static final int RESOURCE_OLIVES
See Also:
Constant Field Values

RESOURCE_POTATOES

static final int RESOURCE_POTATOES
See Also:
Constant Field Values

RESOURCE_CACTUS

static final int RESOURCE_CACTUS
See Also:
Constant Field Values

RESOURCE_DATES

static final int RESOURCE_DATES
See Also:
Constant Field Values

RESOURCE_SEAWEED

static final int RESOURCE_SEAWEED
See Also:
Constant Field Values

RESOURCE_STONE

static final int RESOURCE_STONE
See Also:
Constant Field Values

RESOURCE_LIMESTONE

static final int RESOURCE_LIMESTONE
See Also:
Constant Field Values

RESOURCE_FLINT

static final int RESOURCE_FLINT
See Also:
Constant Field Values

RESOURCE_GRANITE

static final int RESOURCE_GRANITE
See Also:
Constant Field Values

RESOURCE_OBSIDIAN

static final int RESOURCE_OBSIDIAN
See Also:
Constant Field Values

RESOURCE_MARBLE

static final int RESOURCE_MARBLE
See Also:
Constant Field Values

RESOURCE_SAND

static final int RESOURCE_SAND
See Also:
Constant Field Values

RESOURCE_JADE

static final int RESOURCE_JADE
See Also:
Constant Field Values

RESOURCE_IRON

static final int RESOURCE_IRON
See Also:
Constant Field Values

RESOURCE_LEAD

static final int RESOURCE_LEAD
See Also:
Constant Field Values

RESOURCE_BRONZE

static final int RESOURCE_BRONZE
See Also:
Constant Field Values

RESOURCE_SILVER

static final int RESOURCE_SILVER
See Also:
Constant Field Values

RESOURCE_GOLD

static final int RESOURCE_GOLD
See Also:
Constant Field Values

RESOURCE_ZINC

static final int RESOURCE_ZINC
See Also:
Constant Field Values

RESOURCE_COPPER

static final int RESOURCE_COPPER
See Also:
Constant Field Values

RESOURCE_TIN

static final int RESOURCE_TIN
See Also:
Constant Field Values

RESOURCE_MITHRIL

static final int RESOURCE_MITHRIL
See Also:
Constant Field Values

RESOURCE_ADAMANTITE

static final int RESOURCE_ADAMANTITE
See Also:
Constant Field Values

RESOURCE_STEEL

static final int RESOURCE_STEEL
See Also:
Constant Field Values

RESOURCE_BRASS

static final int RESOURCE_BRASS
See Also:
Constant Field Values

RESOURCE_WOOD

static final int RESOURCE_WOOD
See Also:
Constant Field Values

RESOURCE_PINE

static final int RESOURCE_PINE
See Also:
Constant Field Values

RESOURCE_BALSA

static final int RESOURCE_BALSA
See Also:
Constant Field Values

RESOURCE_OAK

static final int RESOURCE_OAK
See Also:
Constant Field Values

RESOURCE_MAPLE

static final int RESOURCE_MAPLE
See Also:
Constant Field Values

RESOURCE_REDWOOD

static final int RESOURCE_REDWOOD
See Also:
Constant Field Values

RESOURCE_HICKORY

static final int RESOURCE_HICKORY
See Also:
Constant Field Values

RESOURCE_SCALES

static final int RESOURCE_SCALES
See Also:
Constant Field Values

RESOURCE_FUR

static final int RESOURCE_FUR
See Also:
Constant Field Values

RESOURCE_LEATHER

static final int RESOURCE_LEATHER
See Also:
Constant Field Values

RESOURCE_HIDE

static final int RESOURCE_HIDE
See Also:
Constant Field Values

RESOURCE_WOOL

static final int RESOURCE_WOOL
See Also:
Constant Field Values

RESOURCE_FEATHERS

static final int RESOURCE_FEATHERS
See Also:
Constant Field Values

RESOURCE_COTTON

static final int RESOURCE_COTTON
See Also:
Constant Field Values

RESOURCE_HEMP

static final int RESOURCE_HEMP
See Also:
Constant Field Values

RESOURCE_FRESHWATER

static final int RESOURCE_FRESHWATER
See Also:
Constant Field Values

RESOURCE_SALTWATER

static final int RESOURCE_SALTWATER
See Also:
Constant Field Values

RESOURCE_DRINKABLE

static final int RESOURCE_DRINKABLE
See Also:
Constant Field Values

RESOURCE_GLASS

static final int RESOURCE_GLASS
See Also:
Constant Field Values

RESOURCE_PAPER

static final int RESOURCE_PAPER
See Also:
Constant Field Values

RESOURCE_CLAY

static final int RESOURCE_CLAY
See Also:
Constant Field Values

RESOURCE_CHINA

static final int RESOURCE_CHINA
See Also:
Constant Field Values

RESOURCE_DIAMOND

static final int RESOURCE_DIAMOND
See Also:
Constant Field Values

RESOURCE_CRYSTAL

static final int RESOURCE_CRYSTAL
See Also:
Constant Field Values

RESOURCE_GEM

static final int RESOURCE_GEM
See Also:
Constant Field Values

RESOURCE_PEARL

static final int RESOURCE_PEARL
See Also:
Constant Field Values

RESOURCE_PLATINUM

static final int RESOURCE_PLATINUM
See Also:
Constant Field Values

RESOURCE_MILK

static final int RESOURCE_MILK
See Also:
Constant Field Values

RESOURCE_EGGS

static final int RESOURCE_EGGS
See Also:
Constant Field Values

RESOURCE_HOPS

static final int RESOURCE_HOPS
See Also:
Constant Field Values

RESOURCE_COFFEEBEANS

static final int RESOURCE_COFFEEBEANS
See Also:
Constant Field Values

RESOURCE_COFFEE

static final int RESOURCE_COFFEE
See Also:
Constant Field Values

RESOURCE_OPAL

static final int RESOURCE_OPAL
See Also:
Constant Field Values

RESOURCE_TOPAZ

static final int RESOURCE_TOPAZ
See Also:
Constant Field Values

RESOURCE_AMETHYST

static final int RESOURCE_AMETHYST
See Also:
Constant Field Values

RESOURCE_GARNET

static final int RESOURCE_GARNET
See Also:
Constant Field Values

RESOURCE_AMBER

static final int RESOURCE_AMBER
See Also:
Constant Field Values

RESOURCE_AQUAMARINE

static final int RESOURCE_AQUAMARINE
See Also:
Constant Field Values

RESOURCE_CHRYSOBERYL

static final int RESOURCE_CHRYSOBERYL
See Also:
Constant Field Values

RESOURCE_IRONWOOD

static final int RESOURCE_IRONWOOD
See Also:
Constant Field Values

RESOURCE_SILK

static final int RESOURCE_SILK
See Also:
Constant Field Values

RESOURCE_COCOA

static final int RESOURCE_COCOA
See Also:
Constant Field Values

RESOURCE_BLOOD

static final int RESOURCE_BLOOD
See Also:
Constant Field Values

RESOURCE_BONE

static final int RESOURCE_BONE
See Also:
Constant Field Values

RESOURCE_COAL

static final int RESOURCE_COAL
See Also:
Constant Field Values

RESOURCE_LAMPOIL

static final int RESOURCE_LAMPOIL
See Also:
Constant Field Values

RESOURCE_POISON

static final int RESOURCE_POISON
See Also:
Constant Field Values

RESOURCE_LIQUOR

static final int RESOURCE_LIQUOR
See Also:
Constant Field Values

RESOURCE_SUGAR

static final int RESOURCE_SUGAR
See Also:
Constant Field Values

RESOURCE_HONEY

static final int RESOURCE_HONEY
See Also:
Constant Field Values

RESOURCE_BARLEY

static final int RESOURCE_BARLEY
See Also:
Constant Field Values

RESOURCE_MUSHROOMS

static final int RESOURCE_MUSHROOMS
See Also:
Constant Field Values

RESOURCE_HERBS

static final int RESOURCE_HERBS
See Also:
Constant Field Values

RESOURCE_VINE

static final int RESOURCE_VINE
See Also:
Constant Field Values

RESOURCE_FLOWERS

static final int RESOURCE_FLOWERS
See Also:
Constant Field Values

RESOURCE_PLASTIC

static final int RESOURCE_PLASTIC
See Also:
Constant Field Values

RESOURCE_RUBBER

static final int RESOURCE_RUBBER
See Also:
Constant Field Values

RESOURCE_EBONY

static final int RESOURCE_EBONY
See Also:
Constant Field Values

RESOURCE_IVORY

static final int RESOURCE_IVORY
See Also:
Constant Field Values

RESOURCE_WAX

static final int RESOURCE_WAX
See Also:
Constant Field Values

RESOURCE_NUTS

static final int RESOURCE_NUTS
See Also:
Constant Field Values

RESOURCE_BREAD

static final int RESOURCE_BREAD
See Also:
Constant Field Values

RESOURCE_CRACKER

static final int RESOURCE_CRACKER
See Also:
Constant Field Values

RESOURCE_YEW

static final int RESOURCE_YEW
See Also:
Constant Field Values

RESOURCE_DUST

static final int RESOURCE_DUST
See Also:
Constant Field Values

RESOURCE_PIPEWEED

static final int RESOURCE_PIPEWEED
See Also:
Constant Field Values

RESOURCE_ENERGY

static final int RESOURCE_ENERGY
See Also:
Constant Field Values

RESOURCE_STRAWBERRIES

static final int RESOURCE_STRAWBERRIES
See Also:
Constant Field Values

RESOURCE_BLUEBERRIES

static final int RESOURCE_BLUEBERRIES
See Also:
Constant Field Values

RESOURCE_RASPBERRIES

static final int RESOURCE_RASPBERRIES
See Also:
Constant Field Values

RESOURCE_BOYSENBERRIES

static final int RESOURCE_BOYSENBERRIES
See Also:
Constant Field Values

RESOURCE_BLACKBERRIES

static final int RESOURCE_BLACKBERRIES
See Also:
Constant Field Values

RESOURCE_SMURFBERRIES

static final int RESOURCE_SMURFBERRIES
See Also:
Constant Field Values

RESOURCE_PEACHES

static final int RESOURCE_PEACHES
See Also:
Constant Field Values

RESOURCE_PLUMS

static final int RESOURCE_PLUMS
See Also:
Constant Field Values

RESOURCE_ONIONS

static final int RESOURCE_ONIONS
See Also:
Constant Field Values

RESOURCE_CHERRIES

static final int RESOURCE_CHERRIES
See Also:
Constant Field Values

RESOURCE_GARLIC

static final int RESOURCE_GARLIC
See Also:
Constant Field Values

RESOURCE_PINEAPPLES

static final int RESOURCE_PINEAPPLES
See Also:
Constant Field Values

RESOURCE_COCONUTS

static final int RESOURCE_COCONUTS
See Also:
Constant Field Values

RESOURCE_BANANAS

static final int RESOURCE_BANANAS
See Also:
Constant Field Values

RESOURCE_LIMES

static final int RESOURCE_LIMES
See Also:
Constant Field Values

RESOURCE_SAP

static final int RESOURCE_SAP
See Also:
Constant Field Values

RESOURCE_ONYX

static final int RESOURCE_ONYX
See Also:
Constant Field Values

RESOURCE_TURQUOISE

static final int RESOURCE_TURQUOISE
See Also:
Constant Field Values

RESOURCE_PERIDOT

static final int RESOURCE_PERIDOT
See Also:
Constant Field Values

RESOURCE_QUARTZ

static final int RESOURCE_QUARTZ
See Also:
Constant Field Values

RESOURCE_LAPIS

static final int RESOURCE_LAPIS
See Also:
Constant Field Values

RESOURCE_BLOODSTONE

static final int RESOURCE_BLOODSTONE
See Also:
Constant Field Values

RESOURCE_MOONSTONE

static final int RESOURCE_MOONSTONE
See Also:
Constant Field Values

RESOURCE_ALEXANDRITE

static final int RESOURCE_ALEXANDRITE
See Also:
Constant Field Values

RESOURCE_TEAK

static final int RESOURCE_TEAK
See Also:
Constant Field Values

RESOURCE_CEDAR

static final int RESOURCE_CEDAR
See Also:
Constant Field Values

RESOURCE_ELM

static final int RESOURCE_ELM
See Also:
Constant Field Values

RESOURCE_CHERRYWOOD

static final int RESOURCE_CHERRYWOOD
See Also:
Constant Field Values

RESOURCE_BEECHWOOD

static final int RESOURCE_BEECHWOOD
See Also:
Constant Field Values

RESOURCE_WILLOW

static final int RESOURCE_WILLOW
See Also:
Constant Field Values

RESOURCE_SYCAMORE

static final int RESOURCE_SYCAMORE
See Also:
Constant Field Values

RESOURCE_SPRUCE

static final int RESOURCE_SPRUCE
See Also:
Constant Field Values

RESOURCE_MESQUITE

static final int RESOURCE_MESQUITE
See Also:
Constant Field Values

RESOURCE_BASALT

static final int RESOURCE_BASALT
See Also:
Constant Field Values

RESOURCE_SHALE

static final int RESOURCE_SHALE
See Also:
Constant Field Values

RESOURCE_PUMICE

static final int RESOURCE_PUMICE
See Also:
Constant Field Values

RESOURCE_SANDSTONE

static final int RESOURCE_SANDSTONE
See Also:
Constant Field Values

RESOURCE_SOAPSTONE

static final int RESOURCE_SOAPSTONE
See Also:
Constant Field Values

RESOURCE_SALMON

static final int RESOURCE_SALMON
See Also:
Constant Field Values

RESOURCE_CARP

static final int RESOURCE_CARP
See Also:
Constant Field Values

RESOURCE_TROUT

static final int RESOURCE_TROUT
See Also:
Constant Field Values

RESOURCE_SHRIMP

static final int RESOURCE_SHRIMP
See Also:
Constant Field Values

RESOURCE_TUNA

static final int RESOURCE_TUNA
See Also:
Constant Field Values

RESOURCE_CATFISH

static final int RESOURCE_CATFISH
See Also:
Constant Field Values

RESOURCE_BAMBOO

static final int RESOURCE_BAMBOO
See Also:
Constant Field Values

RESOURCE_SOAP

static final int RESOURCE_SOAP
See Also:
Constant Field Values

RESOURCE_SPIDERSTEEL

static final int RESOURCE_SPIDERSTEEL
See Also:
Constant Field Values

RESOURCE_ASH

static final int RESOURCE_ASH
See Also:
Constant Field Values

RESOURCE_PERFUME

static final int RESOURCE_PERFUME
See Also:
Constant Field Values

RESOURCE_ATLANTITE

static final int RESOURCE_ATLANTITE
See Also:
Constant Field Values

RESOURCE_CHEESE

static final int RESOURCE_CHEESE
See Also:
Constant Field Values

RESOURCE_BEANS

static final int RESOURCE_BEANS
See Also:
Constant Field Values

RESOURCE_CRANBERRIES

static final int RESOURCE_CRANBERRIES
See Also:
Constant Field Values

RESOURCE_DRAGONBLOOD

static final int RESOURCE_DRAGONBLOOD
See Also:
Constant Field Values

RESOURCE_DRAGONMEAT

static final int RESOURCE_DRAGONMEAT
See Also:
Constant Field Values

RESOURCE_RUBY

static final int RESOURCE_RUBY
See Also:
Constant Field Values

RESOURCE_EMERALD

static final int RESOURCE_EMERALD
See Also:
Constant Field Values

RESOURCE_SAPPHIRE

static final int RESOURCE_SAPPHIRE
See Also:
Constant Field Values

RESOURCE_AGATE

static final int RESOURCE_AGATE
See Also:
Constant Field Values

RESOURCE_CITRINE

static final int RESOURCE_CITRINE
See Also:
Constant Field Values

RESOURCE_REED

static final int RESOURCE_REED
See Also:
Constant Field Values

RESOURCE_ALABASTER

static final int RESOURCE_ALABASTER
See Also:
Constant Field Values

RESOURCE_CHROMIUM

static final int RESOURCE_CHROMIUM
See Also:
Constant Field Values

RESOURCE_WHITE_GOLD

static final int RESOURCE_WHITE_GOLD
See Also:
Constant Field Values

RESOURCE_DRAGONSCALES

static final int RESOURCE_DRAGONSCALES
See Also:
Constant Field Values

RESOURCE_PLASMA

static final int RESOURCE_PLASMA
See Also:
Constant Field Values

RESOURCE_ELECTRICITY

static final int RESOURCE_ELECTRICITY
See Also:
Constant Field Values

RESOURCE_DEUTERIUM

static final int RESOURCE_DEUTERIUM
See Also:
Constant Field Values

RESOURCE_SLIME

static final int RESOURCE_SLIME
See Also:
Constant Field Values

RESOURCE_AIR

static final int RESOURCE_AIR
See Also:
Constant Field Values

RESOURCE_OXYGEN

static final int RESOURCE_OXYGEN
See Also:
Constant Field Values

RESOURCE_HYDROGEN

static final int RESOURCE_HYDROGEN
See Also:
Constant Field Values

RESOURCE_FLOURINE

static final int RESOURCE_FLOURINE
See Also:
Constant Field Values

RESOURCE_NITROGEN

static final int RESOURCE_NITROGEN
See Also:
Constant Field Values

RESOURCE_CHLORINE

static final int RESOURCE_CHLORINE
See Also:
Constant Field Values

RESOURCE_ALUMINUM

static final int RESOURCE_ALUMINUM
See Also:
Constant Field Values

RESOURCE_TITANIUM

static final int RESOURCE_TITANIUM
See Also:
Constant Field Values

RESOURCE_FIBREGLASS

static final int RESOURCE_FIBREGLASS
See Also:
Constant Field Values

RESOURCE_ULTRANIUM

static final int RESOURCE_ULTRANIUM
See Also:
Constant Field Values

RESOURCE_DURANIUM

static final int RESOURCE_DURANIUM
See Also:
Constant Field Values

RESOURCE_URANIUM

static final int RESOURCE_URANIUM
See Also:
Constant Field Values

RESOURCE_ANTIMATTER

static final int RESOURCE_ANTIMATTER
See Also:
Constant Field Values

RESOURCE_DIAMELS

static final int RESOURCE_DIAMELS
See Also:
Constant Field Values

RESOURCE_PETROLEUM

static final int RESOURCE_PETROLEUM
See Also:
Constant Field Values

RESOURCE_GASOLINE

static final int RESOURCE_GASOLINE
See Also:
Constant Field Values

RESOURCE_DIESEL

static final int RESOURCE_DIESEL
See Also:
Constant Field Values

RESOURCE_SILICON

static final int RESOURCE_SILICON
See Also:
Constant Field Values

RESOURCE_POLYESTER

static final int RESOURCE_POLYESTER
See Also:
Constant Field Values

RESOURCE_DENIM

static final int RESOURCE_DENIM
See Also:
Constant Field Values

RESOURCE_DILITHIUM

static final int RESOURCE_DILITHIUM
See Also:
Constant Field Values

RESOURCE_TAR

static final int RESOURCE_TAR
See Also:
Constant Field Values

RESOURCE_SALT

static final int RESOURCE_SALT
See Also:
Constant Field Values

RESOURCE_SPICE

static final int RESOURCE_SPICE
See Also:
Constant Field Values

RESOURCE_DIRT

static final int RESOURCE_DIRT
See Also:
Constant Field Values

RESOURCE_FUNGUS

static final int RESOURCE_FUNGUS
See Also:
Constant Field Values

RESOURCE_MASK

static final int RESOURCE_MASK
See Also:
Constant Field Values
Method Detail

domainSource

java.lang.String domainSource()
Gets the specific origin of this resource. If a resource has a specific source that may be of interest to the owner, here it is. For example, if the resource is meat then this may be Cow meat, or Horse meat, making "Cow" and "Horse" the domain source.

Returns:
the specific origin of this resource

setDomainSource

void setDomainSource(java.lang.String src)
Sets the specific origin of this resource. If a resource has a specific source that may be of interest to the owner, here it is. For example, if the resource is meat then this may be Cow meat, or Horse meat, making "Cow" and "Horse" the domain source.

Parameters:
src - the specific origin of this resource

rebundle

boolean rebundle()
Scans the owner of this item (room, mob, whatever) for other rawmaterial resources of the exact same kind and, if found, combines with them. May result in this item being destroyed.

Returns:
true if this item was rebundled, false otherwise.

quickDestroy

void quickDestroy()
A slightly faster version of Contingent.destroy() that eliminates the item from the owner before calling destroy.


setSubType

void setSubType(java.lang.String subType)
Sets the resource subtype of this rawmaterial.

Parameters:
subType - the resource subtype
See Also:
RawMaterial.ResourceSubType, getSubType()

getSubType

java.lang.String getSubType()
Returns the resource subtype of this rawmaterial.

Returns:
the resource subtype
See Also:
RawMaterial.ResourceSubType, setSubType(String)