Unhardcode species age ranges (#11979)

This commit is contained in:
Rane
2022-10-22 18:13:46 -04:00
committed by GitHub
parent 471f5dbf10
commit 916c4f9522
5 changed files with 50 additions and 17 deletions

View File

@@ -121,7 +121,7 @@ public class IdentitySystem : SharedIdentitySystem
InventoryComponent? inventory=null,
HumanoidComponent? appearance=null)
{
int age = HumanoidCharacterProfile.MinimumAge;
int age = 18;
Gender gender = Gender.Epicene;
// Always use their actual age and gender, since that can't really be changed by an ID.