Pizzeria Simulator is the sixth FNAF game, and it comes after FNAF 3 and Sister Location and right before Ultimate Custom Night. It contains lore-based mini-games that come far earlier in the timeline.