DotA's six inventory slots came from the APIgame-engineswarcraft-3jassDotA was a text script inside a map archive, written against a trigger layer with no global unit event, and the genre kept the shape of that layer.