npc=(new \sammo\Scenario\GeneralBuilder( $rng, $name, false, $picturePath, $nationID )) ->setCity($locatedCity) ->setStat($leadership, $strength, $intel) ->setEgo($ego) ->setSpecialSingle($char) ->setNPCText($text?:'') ->setAffinity($affinity) ->setLifeSpan($birth, $death) ->setNPCType(6); } public function run(array $env){ $result = $this->npc->fillRemainSpecAsZero($env)->build($env); return [__CLASS__, $result]; } }