eliasdaler

super_chest.lua

May 2nd, 2015
844
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. super_chest = {
  2.     template_init = function(this)
  3.         copyEntity(this, "chest")
  4.     end,
  5.     GraphicsComponent = {
  6.         filename = "res/images/super_chest.png",
  7.         animations = {
  8.             closed = {
  9.                 frame = {0, 0, 32, 32},
  10.             },
  11.             opened = {
  12.                 frame = {32, 0, 32, 32},            
  13.             }
  14.         }
  15.     },
  16.     InteractionComponent = {
  17.         interactionRect = { -8, 32, 48, 16 },
  18.     },
  19. }
RAW Paste Data