Blowing up the reactor sets karma to 0, all jobs except assistant require a certain karma level

This commit is contained in:
juanjp600
2017-12-04 17:05:22 -03:00
parent 2347f2937e
commit a0782e5d8d
9 changed files with 57 additions and 15 deletions
@@ -47,6 +47,12 @@ namespace Barotrauma
private set;
}
public float MinKarma
{
get;
private set;
}
public float Commonness
{
get;
@@ -61,6 +67,7 @@ namespace Barotrauma
MinNumber = element.GetAttributeInt("minnumber", 0);
MaxNumber = element.GetAttributeInt("maxnumber", 10);
MinKarma = element.GetAttributeFloat("minkarma", 0.0f);
Commonness = element.GetAttributeInt("commonness", 10);