Gender Enum Refactor

This commit is contained in:
AconiteX
2021-06-27 01:46:50 -04:00
parent dd853fc370
commit aae953a7e1
42 changed files with 118 additions and 154 deletions
@@ -575,7 +575,7 @@ public class npe extends script.base_script
{
obj_id pInv = utils.getInventoryContainer(player);
int pSpecies = getSpecies(player);
int pGender = getGender(player);
Gender pGender = getGender(player);
HashSet theSet = new HashSet();
if (utils.isProfession(player, utils.FORCE_SENSITIVE))
{
@@ -684,7 +684,7 @@ public class npe extends script.base_script
}
else if (utils.isProfession(player, utils.ENTERTAINER))
{
if (pGender == GENDER_MALE)
if (pGender == Gender.MALE)
{
theSet.add(static_item.createNewItemFunction("item_entertainer_shirt_02_01", pInv));
theSet.add(static_item.createNewItemFunction("item_entertainer_pants_02_01", pInv));