Skip to content

Developer: E2 Checklist

Denneisk edited this page Nov 15, 2023 · 1 revision

Use this for reference when creating/reviewing an E2 addition. This list contains best practices for creating an E2 extension and will help simplify the review process.

Extensions

  • Used registerExtension to register the extension if it's optional OR defined the extension in core/extloader.lua if it's required
  • Comes with sufficient test code that includes invalid use

Types

  • Default value (argument 3) is not nil
  • Invalid function (argument 7) is sufficient for the type
  • Comes with sufficient test code that includes invalid use

E2 Functions

  • E2 description defined
  • All code paths return a proper value
    • Including early returns
  • Uses self:Throw for improper usage
  • Uses attributes whenever possible
  • Assigned a fitting cost
  • Comes with sufficient test code that includes invalid use

Events

  • Defined on Events page after accepted
  • Comes with sufficient test code that includes invalid use

Expression 2 ⚛️

Tutorials (In learning order) 🎓

Extras ❔

Tools 🛠️

Click To Expand

Advanced

Beacon 💡

Control 🎛️

Data 💿

Detection 👀

Display 💻

Render

I/O 🔌

Physics 🚀

Utilities 🛠️

RFID

Wireless 🛜

Gates 🚥

Click To Expand

TBD

Clone this wiki locally