mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed foods defaulting to being inedible for humans
This commit is contained in:
parent
3d5fe40950
commit
eed9a404d6
2 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@ public interface ToxicHolder {
|
|||
}
|
||||
|
||||
default Toxic getDefaultToxic() {
|
||||
return getOriginalFoodComponent() == null ? Toxic.EMPTY : Toxics.FORAGE_EDIBLE;
|
||||
return getOriginalFoodComponent() == null ? Toxic.EMPTY : Toxics.EDIBLE;
|
||||
}
|
||||
|
||||
default void clearFoodOverride() {}
|
||||
|
|
|
@ -14,6 +14,10 @@ public interface Toxics {
|
|||
|
||||
Toxic SEVERE_INNERT = Toxic.innert(Toxicity.SEVERE);
|
||||
|
||||
Toxic EDIBLE = register("edible", new Toxic.Builder(Ailment.INNERT)
|
||||
.with(Race.CHANGELING, of(FAIR, LOVE_SICKNESS))
|
||||
);
|
||||
|
||||
Toxic FORAGE_EDIBLE = register("forage_edible", new Toxic.Builder(Ailment.INNERT)
|
||||
.food(UFoodComponents.RANDOM_FOLIAGE)
|
||||
.with(Race.HUMAN, of(LETHAL, FOOD_POISONING))
|
||||
|
|
Loading…
Reference in a new issue