public static class SalvageEntityGenDataSpec.DropData
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
int |
chances |
java.lang.String |
group |
int |
maxChances |
int |
value |
float |
valueMult |
Constructor and Description |
---|
SalvageEntityGenDataSpec.DropData() |
Modifier and Type | Method and Description |
---|---|
void |
addCommodity(java.lang.String id,
float weight) |
void |
addCustom(java.lang.String data,
float weight) |
void |
addFighterChip(java.lang.String id,
float weight) |
void |
addHullMod(java.lang.String id,
float weight) |
void |
addNothing(float weight) |
void |
addRandomFighters(int tier,
float weight) |
void |
addRandomFighters(int tier,
float weight,
java.lang.String... tags) |
void |
addRandomHullmods(int tier,
float weight) |
void |
addRandomHullmods(int tier,
float weight,
java.lang.String... tags) |
void |
addRandomWeapons(int tier,
float weight) |
void |
addRandomWeapons(int tier,
float weight,
java.lang.String... tags) |
void |
addSpecialItem(java.lang.String data,
float weight) |
void |
addWeapon(java.lang.String id,
float weight) |
void |
clearCustom() |
SalvageEntityGenDataSpec.DropData |
clone() |
WeightedRandomPicker<DropGroupRow> |
getCustom() |
void |
initCustom() |
public transient java.lang.String group
public transient int chances
public transient int maxChances
public transient int value
public transient float valueMult
public void addWeapon(java.lang.String id, float weight)
public void addHullMod(java.lang.String id, float weight)
public void addFighterChip(java.lang.String id, float weight)
public void addNothing(float weight)
public void addCommodity(java.lang.String id, float weight)
public void addSpecialItem(java.lang.String data, float weight)
public void addCustom(java.lang.String data, float weight)
public void addRandomWeapons(int tier, float weight)
public void addRandomWeapons(int tier, float weight, java.lang.String... tags)
public void addRandomHullmods(int tier, float weight)
public void addRandomHullmods(int tier, float weight, java.lang.String... tags)
public void addRandomFighters(int tier, float weight)
public void addRandomFighters(int tier, float weight, java.lang.String... tags)
public void initCustom()
public void clearCustom()
public WeightedRandomPicker<DropGroupRow> getCustom()
public SalvageEntityGenDataSpec.DropData clone()
clone
in class java.lang.Object
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.