This is not ESP-01 pins, this is not ESP8266 chip pins itself either ...
About Lua, I don't use that at all, so maybe you're better posting questions in Lua sub-forum.
https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout/using-nodemcu-lua
So if using lua script you have to use lua pin numbers...
As it says on the website gpio 4 & 5 could be switched so in your diagram http://www.esp8266.com/viewtopic.php?p=50828#p50828 they are switched.
So I am guessing for esp8266 01 the pin numbering would be the same although it does not have all the pins broke-out.