View Single Post
  #7  
Old 11-23-2015, 03:31 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Bump for a lua version of this...

http://wiki.eqemulator.org/i?Module=...Paste=aJ7HOI90

name that "custom.lua" and place it into the /lua_modules/ folder...


When using it here is an example... that loads a naked character with 8 bags and 100 food / water

Place that on a random NPC.. hail it and magic should happen! :p

This is just a basic example :p

If there is no where for the item to go.. it will just default to the cursor as well!

Code:
function event_say(e)
	local custom = require("custom");
	custom.summon_into_inventory(e.other, 17403, 8);
	custom.summon_into_inventory(e.other, 13005, 100);
	custom.summon_into_inventory(e.other, 13006, 100);
end
Reply With Quote