<commit_before>#include "../../../ScriptObject.h"

// Quest Script: SubFst002_00025
// Quest Name: Quarrels with Squirrels
// Quest ID: 65561
// Start NPC: 1000263
// End NPC: 1000263

class SubFst002 : public EventScript
{
private:
   static constexpr auto SEQ_0 = 0;
   static constexpr auto SEQ_1 = 1;
   static constexpr auto SEQ_2 = 2;
   static constexpr auto SEQ_FINISH = 255;
   static constexpr auto ACTOR0 = 1000263;
   static constexpr auto ENEMY0 = 37;
   static constexpr auto SEQ_0_ACTOR0 = 0;
   static constexpr auto SEQ_2_ACTOR0 = 1;

   void Scene00000( Entity::Player& player )
   {
      auto callback = [&]( Entity::Player& player, uint32_t eventId, uint16_t param1, uint16_t param2, uint16_t param3 )
      {
         if( param2 == 1 ) // accept quest
         {
            player.updateQuest( getId(), SEQ_1 );
         }
      };

      player.eventPlay( getId (), 0, NONE, callback );
   }

   void Scene00001(Entity::Player& player)
   {
      auto callback = [&]( Entity::Player& player, uint32_t eventId, uint16_t param1, uint16_t param2, uint16_t param3 )
      {
         if( param2 == 1 ) // finish quest
         {
            if( player.giveQuestRewards( getId(), 0 ) )
               player.finishQuest( getId() );
         }
      };

      player.eventPlay( getId (), 1, NONE, callback );
   }

public:
   SubFst002() : EventScript( "SubFst002", 65561 ) {}

   void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
   {
      auto actor = Event::mapEventActorToRealActor( static_cast< uint32_t >(actorId) );

      if( actor == ACTOR0 && !player.hasQuest( getId() ) )
         Scene00000( player );
      else if( actor == ACTOR0 && player.getQuestSeq( getId() ) == SEQ_FINISH )<commit_msg>Added Space in Func Call Arguments<commit_after>#include "../../../ScriptObject.h"

// Quest Script: SubFst002_00025
// Quest Name: Quarrels with Squirrels
// Quest ID: 65561
// Start NPC: 1000263
// End NPC: 1000263

class SubFst002 : public EventScript
{
private:
   static constexpr auto SEQ_0 = 0;
   static constexpr auto SEQ_1 = 1;
   static constexpr auto SEQ_2 = 2;
   static constexpr auto SEQ_FINISH = 255;
   static constexpr auto ACTOR0 = 1000263;
   static constexpr auto ENEMY0 = 37;
   static constexpr auto SEQ_0_ACTOR0 = 0;
   static constexpr auto SEQ_2_ACTOR0 = 1;

   void Scene00000( Entity::Player& player )
   {
      auto callback = [&]( Entity::Player& player, uint32_t eventId, uint16_t param1, uint16_t param2, uint16_t param3 )
      {
         if( param2 == 1 ) // accept quest
         {
            player.updateQuest( getId(), SEQ_1 );
         }
      };

      player.eventPlay( getId (), 0, NONE, callback );
   }

   void Scene00001(Entity::Player& player)
   {
      auto callback = [&]( Entity::Player& player, uint32_t eventId, uint16_t param1, uint16_t param2, uint16_t param3 )
      {
         if( param2 == 1 ) // finish quest
         {
            if( player.giveQuestRewards( getId(), 0 ) )
               player.finishQuest( getId() );
         }
      };

      player.eventPlay( getId (), 1, NONE, callback );
   }

public:
   SubFst002() : EventScript( "SubFst002", 65561 ) {}

   void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
   {
      auto actor = Event::mapEventActorToRealActor( static_cast< uint32_t >( actorId ) );

      if( actor == ACTOR0 && !player.hasQuest( getId() ) )
         Scene00000( player );
      else if( actor == ACTOR0 && player.getQuestSeq( getId() ) == SEQ_FINISH )
{'fraction_non_alphanumeric': 0.11768033946251769, 'fraction_numerical': 0.06789250353606789, 'mean_word_length': 2.645360824742268, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4895436', 'n_tokens_mistral': 1346, 'n_tokens_neox': 1145, 'n_words': 321}