Advertisement
neonblack

Lunatic Status Weapons Positions

Oct 19th, 2014
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.51 KB | None | 0 0
  1.       item_locations_array = [[2, 0], [2, 24], [2, 48], [2, 72], [2, 96]]
  2.       actor.equips.each_with_index do |e,i|
  3.         next unless e
  4.         result.push(["$icon[#{e.icon_index}]", item_locations_array[i], 255])
  5.         xp, yp = item_locations_array[i][0] + 24, item_locations_array[i][1]
  6.         result.push([e.name, [xp,yp], [contents.width, 0], [255, 255, 255],
  7.           [contents.font.name, contents.font.size, contents.font.bold,
  8.           contents.font.italic], [0, 0, 0]])
  9.       end
  10.      
  11.       result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement