mirror of
https://github.com/otland/forgottenserver
synced 2026-08-15 16:32:07 -04:00
12 lines
297 B
Lua
12 lines
297 B
Lua
local firstItems = {2050, 2382}
|
|
|
|
function onLogin(player)
|
|
if player:getLastLoginSaved() == 0 then
|
|
for i = 1, #firstItems do
|
|
player:addItem(firstItems[i], 1)
|
|
end
|
|
player:addItem(player:getSex() == 0 and 2651 or 2650, 1)
|
|
player:addItem(ITEM_BAG, 1):addItem(2674, 1)
|
|
end
|
|
return true
|
|
end
|