DefaultManufacturer
public interface Manufacturer extends CMCommon
idConverter
Modifier and Type | Method | Description |
---|---|---|
double |
getEfficiencyPct() |
Returns a pct, from 0-2, to multiply by the power requirements
of electronic items for certain purposes.
|
MaskingLibrary.CompiledZMask |
getItemMask() |
Returns the item mask that describes what kind of items this
manufacturer makes.
|
java.lang.String |
getItemMaskStr() |
Returns the item mask that describes what kind of items this
manufacturer makes.
|
java.lang.String |
getManufactureredTypesList() |
Returns a comma-delimited list of the types of things this manufacturer will make.
|
byte |
getMaxTechLevelDiff() |
Returns a positive difference from Max Tech Level-10.
|
byte |
getMinTechLevelDiff() |
Returns a positive difference from Max Tech Level-10.
|
double |
getReliabilityPct() |
Returns a pct, from 0-2, to multiply by the amt of damage taken,
and the chance of failure, esp.
|
java.lang.String |
getXml() |
Returns an Xml document representing this manufacturer.
|
boolean |
isManufactureredType(Technical T) |
Returns whether the given item will be manufacturered by this manufacturer.
|
void |
setEfficiencyPct(double pct) |
Sets a pct, from 0-2, to multiply by the power requirements
of electronic items for certain purposes.
|
void |
setItemMask(java.lang.String newMask) |
Sets the item mask that describes what kind of items this
manufacturer makes.
|
void |
setManufactureredTypesList(java.lang.String list) |
Sets the comma-delimited list of the types of things this manufacturer will make.
|
void |
setMaxTechLevelDiff(byte max) |
Sets a positive difference from Max Tech Level-10.
|
void |
setMinTechLevelDiff(byte min) |
Sets a positive difference from Max Tech Level-10.
|
void |
setName(java.lang.String name) |
Sets the name of the manufacturer
|
void |
setReliabilityPct(double pct) |
Sets a pct, from 0-2, to multiply by the amt of damage taken,
and the chance of failure, esp.
|
void |
setXml(java.lang.String xml) |
Sets an Xml document representing this manufacturer.
|
copyOf, ID, initializeClass, name, newInstance
boolean isManufactureredType(Technical T)
T
- the item typejava.lang.String getManufactureredTypesList()
void setManufactureredTypesList(java.lang.String list)
list
- the comma-delimited list of the types of things this manufacturer will make.byte getMaxTechLevelDiff()
void setMaxTechLevelDiff(byte max)
max
- a number from 0-10byte getMinTechLevelDiff()
void setMinTechLevelDiff(byte min)
min
- a number from 0-10void setName(java.lang.String name)
name
- of the manufacturerdouble getEfficiencyPct()
void setEfficiencyPct(double pct)
pct
- from 0-2double getReliabilityPct()
void setReliabilityPct(double pct)
pct
- from 0-2void setItemMask(java.lang.String newMask)
newMask
- the zapperMaskMaskingLibrary
MaskingLibrary.CompiledZMask getItemMask()
MaskingLibrary
java.lang.String getItemMaskStr()
MaskingLibrary
java.lang.String getXml()
void setXml(java.lang.String xml)
xml
- Xml document representing this manufacturer.