mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-27 16:37:17 +00:00
Updated Lua template (textile)
+1
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user