implement player rooking

This commit is contained in:
ErikasKontenis
2019-12-30 18:46:57 +02:00
parent 0da6ba2269
commit 2735c32651
4 changed files with 9 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
function onLogin(player)
if player:getLastLoginSaved() <= 0 then
if player:getStorageValue(17571) ~= 1 then
player:setStorageValue(17571, 1)
-- Items
if player:getSex() == PLAYERSEX_FEMALE then
player:addItem(3562, 1, true, -1, CONST_SLOT_ARMOR)