Updated Lua template (textile)

regneq 2013-07-08 14:43:38 -07:00
parent 8875f705b5
commit 53a9913df8

@ -1,4 +1,5 @@
<pre><code>
e.self:Say(string.format(" %s ",e.other:GetName())); -- to use player name in place of %s in the text.
local fac = e.other:GetFaction(e.self); -- to use for faction condition in an if statement.
@ -15,10 +16,6 @@ function event_say(e)
end
end
e.self:Say(string.format("",e.other:GetName()));
local fac = e.other:GetFaction(e.self);
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.trade, {item1 = 0})) then