Author Topic: [C#, ScriptSDK] EggFarmer  (Read 46946 times)

0 Members and 1 Guest are viewing this topic.

Offline unisharpTopic starter

  • Elite
  • ***
  • *
  • Posts: 196
  • Activity:
    0%
  • Reputation Power: 4
  • unisharp has no influence.
  • Gender: Male
  • Respect: +40
  • Referrals: 0
    • View Profile
Re: [C#, ScriptSDK] EggFarmer
« Reply #90 on: October 01, 2020, 07:36:57 AM »
0
It is preferable to use tuples instead lists if the arrays will not be edited.
There is no need to use global operator if your variables will not be reassigned (OnClilocSpeech function).
There is a wrong using SetFindDistance and SetFindVertical functions. They are functions.

I hope you continue to write python scripts, cause this script is a good one. If you will, there is some styling conventions PEP-8.

Thank you!  -Updated 10/01/20

More optimizations to come...
« Last Edit: October 01, 2020, 07:41:21 AM by unisharp »

Tags: