Page 1 of 1

Grim Dawn DLC Item Unlocker

Posted: Tue May 12, 2015 3:11 pm
by atom0s
Here is a script for my Grim Dawn Hook project. This requires GrimLua to be loaded in order to work!

Place the following code into a .lua file called dlcitems.lua and put the file at:
GDHook\Plugins\GrimLua\dlcitems.lua
  1. --[[
  2.  
  3.     Grim Dawn DLC Item Unlocker (c) 2015 atom0s [atom0s@live.com]
  4.    
  5.     This is a simple Lua script for Grim Dawn Hook's GrimLua plugin
  6.     that will give a player all the current DLC items.
  7.    
  8.     This file requires GrimLua to work!
  9.    
  10. ]]--
  11.  
  12. -- Obtain the local player..
  13. local me = Game.GetLocalPlayer();
  14.  
  15. -- Give the local player the DLC items..
  16. me:GiveItem('records/items/bonusitems/bonus_burrwitchbrew.dbr', 1, true);
  17. me:GiveItem('records/items/bonusitems/bonus_summonwisp.dbr', 1, true);
  18. me:GiveItem('records/items/transmutes/dlc_head_powderedwig.dbr', 1, true);
  19. me:GiveItem('records/items/transmutes/dlc_torso_swashbucklerscoat.dbr', 1, true);
  20. me:GiveItem('records/items/transmutes/transmute_powderedwig.dbr', 1, true);
  21. me:GiveItem('records/items/transmutes/transmute_swashbucklerscoat.dbr', 1, true);

Re: Grim Dawn DLC Item Unlocker

Posted: Mon Sep 21, 2015 4:09 pm
by tt300
Neighborhoods:
I want to add a backpack, how to write the script?
==========================================
The problem has been resolved!

Code: Select all

-- Obtain the local player..
local me = Game.GetLocalPlayer();

-- Give the local player the DLC items..
me:GiveItem('records/items/misc/inventorybag.dbr',1,true);
:D

Re: Grim Dawn DLC Item Unlocker

Posted: Sat Mar 19, 2016 11:20 am
by swaglord123
Even tho I'am not interested in this game, I'am following the progress of exploring this game, and I can say great stuff