mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-24 15:52:26 +00:00
Updated Lua template (textile)
parent
8875f705b5
commit
53a9913df8
@ -1,4 +1,5 @@
|
|||||||
<pre><code>
|
<pre><code>
|
||||||
|
|
||||||
e.self:Say(string.format(" %s ",e.other:GetName())); -- to use player name in place of %s in the text.
|
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.
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
e.self:Say(string.format("",e.other:GetName()));
|
|
||||||
|
|
||||||
local fac = e.other:GetFaction(e.self);
|
|
||||||
|
|
||||||
function event_trade(e)
|
function event_trade(e)
|
||||||
local item_lib = require("items");
|
local item_lib = require("items");
|
||||||
if(item_lib.check_turn_in(e.trade, {item1 = 0})) then
|
if(item_lib.check_turn_in(e.trade, {item1 = 0})) then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user