Guest User

codpiece load

a guest
Jul 30th, 2015
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.27 KB | None | 0 0
  1.  
  2. local InventoryUI = require "engine.ui.Inventory"
  3. local ActorStats = require "engine.interface.ActorStats"
  4. local ActorResource = require "engine.interface.ActorResource"
  5. local ActorTalents = require "engine.interface.ActorTalents"
  6. local ActorTemporaryEffects = require "engine.interface.ActorTemporaryEffects"
  7. local ActorInventory = require "engine.interface.ActorInventory"
  8.  
  9.  
  10. ActorInventory:defineInventory("CODPIECE", "On Groin", true, "Codpiece is a special armor worn over the groin.", nil, {equipdoll_back="ui/equipdoll/codpiece_inv.png"})
  11.  
  12.  
  13. ActorInventory.equipdolls = {
  14.     default = { w=48, h=48, itemframe="ui/equipdoll/itemframe48.png", itemframe_sel="ui/equipdoll/itemframe-sel48.png", ix=3, iy=3, iw=42, ih=42, doll_x=116, doll_y=168+64, list={
  15.         PSIONIC_FOCUS = {{weight=1, x=48, y=48, subshift="left"}},
  16.         MAINHAND = {{weight=2, x=48, y=120, subshift="left"}},
  17.         OFFHAND = {{weight=3, x=48, y=192, subshift="left"}},
  18.         BODY = {{weight=4, x=48, y=264, subshift="left"}},
  19.         QUIVER = {{weight=5, x=48, y=336, subshift="left"}},
  20.         FINGER = {{weight=6, x=48, y=408, subshift="bottom"}, {weight=7, x=120, y=408, text="bottom", subshift="bottom"}},
  21.         LITE = {{weight=8, x=192, y=408, subshift="bottom"}},
  22.         TOOL = {{weight=9, x=264, y=408, subshift="bottom", text="bottom"}},
  23.         FEET = {{weight=10, x=264, y=336}},
  24.         BELT = {{weight=11, x=264, y=264}},
  25.         HANDS = {{weight=12, x=264, y=192}},
  26.         CLOAK = {{weight=13, x=264, y=120}},
  27.         NECK = {{weight=14, x=192, y=48, subshift="bottom", text="topright"}},
  28.         HEAD = {{weight=15, x=120, y=48, subshift="bottom", text="topleft"}},
  29.         CODPIECE = {{weight=16, x=160, y=410}}, -- need to check to see if correct placement as this was guess
  30.     }},
  31.     alchemist_golem = { w=48, h=48, itemframe="ui/equipdoll/itemframe48.png", itemframe_sel="ui/equipdoll/itemframe-sel48.png", ix=3, iy=3, iw=42, ih=42, doll_x=116, doll_y=168+64, list={
  32.         MAINHAND = {{weight=1, x=48, y=120}},
  33.         OFFHAND = {{weight=2, x=48, y=192}},
  34.         BODY = {{weight=3, x=48, y=264}},
  35.         GEM = {{weight=4, x=264, y=120}, {weight=5, x=264, y=192}},
  36.     }},
  37. }
  38.  
  39. ActorResource:defineResource("Libido", "libido", ActorTalents.T_LIBIDO_POOL, "libido_regen", "Libido....")
  40. -- codpiece could use this stuff
  41. ActorStats:defineStat("Charm",      "cha", 10, 1, 100, "Charm....")
Advertisement
Add Comment
Please, Sign In to add comment