function actor_have_items(first_speaker, second_speaker) local n=3 -- количество local count=0 db.actor:iterate_inventory(function (dummy, item) if item:section()=="твой предмет" then count=count+1 end end, nil) if count>=n then return true else return false end end
Желаю всем удачного модостроения Ростян:-) Если вы хотите отправить сообщение шлите на Yandayks3003
|