local unlocked_count = 0
for _ in pairs(data.unlocked) do
unlocked_count = unlocked_count + 1
end
Наскільки я бачу, ми рахуємо unlocked_count, і потім ніяк не використовуємо.
Також, наскільки я бачу, мод Awards в АПІ містить функцію awards.register_on_unlock(func(name, def)), пропоную розглянути її використання замість перевизначення awards.unlock().
А взагалі мод цікавий, хоча не всім може сподобатись.
Дякую за відгук! Якщо раптом буде цікаво, мод встановлений на сервері Tunnelers' Abyss, щоправда на поточний момент квестів доволі мало, і винагороди зазвичай невеликі. Думаю, швидше за все, це пов'язано з тим, що тим, хто створює квести, доводиться роздавати винагороди за проходження зі своїх запасів, і взамін нічого не отримувати, і мало хто хоче цим займатись. Я планую в майбутньому зробити щось на кшталт платних квестів, де користувач повинен платити ресурсами чи валютою за спробу проходження для отримання винагороди, але в такому випадку повинна бути можливість пройти безкоштовно без отримання винагороди, щоб той, хто буде проходити, міг взагалі перевірити, чи можливо фізично його пройти.
I've just updated the mod to the latest version (which includes 2-block flags and support for multiple language). Also, I added more detailed information about automatic triggering to README.md. If you wish, feel free to create a PR with translation to French. Thank you!
Thank you for the feedback!
I've increased the height of flags to 2 blocks, will be applied on the next release.
Regarding two coordinates for the same cube, the main idea is that it allows flags to be not only in the center of the cube but anywhere inside it. For example, we can have a 10x10x10 cube with a flag right at its corner. It might be crucial in some cases, for example, there is a wide passage with a flag on the wall, and we want to trigger the flag when we pass the passage in any place but avoid triggering the flag when we pass another passage that is right behind the wall with the flag.
Regarding translating it to other languages, it'd be great. However, currenlty the mod doesn't support translations but I'm going to add it in the future.
Наскільки я бачу, ми рахуємо
unlocked_count
, і потім ніяк не використовуємо. Також, наскільки я бачу, мод Awards в АПІ містить функціюawards.register_on_unlock(func(name, def))
, пропоную розглянути її використання замість перевизначенняawards.unlock()
.А взагалі мод цікавий, хоча не всім може сподобатись.
Дякую за відгук! Якщо раптом буде цікаво, мод встановлений на сервері Tunnelers' Abyss, щоправда на поточний момент квестів доволі мало, і винагороди зазвичай невеликі. Думаю, швидше за все, це пов'язано з тим, що тим, хто створює квести, доводиться роздавати винагороди за проходження зі своїх запасів, і взамін нічого не отримувати, і мало хто хоче цим займатись. Я планую в майбутньому зробити щось на кшталт платних квестів, де користувач повинен платити ресурсами чи валютою за спробу проходження для отримання винагороди, але в такому випадку повинна бути можливість пройти безкоштовно без отримання винагороди, щоб той, хто буде проходити, міг взагалі перевірити, чи можливо фізично його пройти.
I've just updated the mod to the latest version (which includes 2-block flags and support for multiple language). Also, I added more detailed information about automatic triggering to README.md. If you wish, feel free to create a PR with translation to French. Thank you!
Thank you for the feedback! I've increased the height of flags to 2 blocks, will be applied on the next release. Regarding two coordinates for the same cube, the main idea is that it allows flags to be not only in the center of the cube but anywhere inside it. For example, we can have a 10x10x10 cube with a flag right at its corner. It might be crucial in some cases, for example, there is a wide passage with a flag on the wall, and we want to trigger the flag when we pass the passage in any place but avoid triggering the flag when we pass another passage that is right behind the wall with the flag. Regarding translating it to other languages, it'd be great. However, currenlty the mod doesn't support translations but I'm going to add it in the future.