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().
А взагалі мод цікавий, хоча не всім може сподобатись.
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()
.А взагалі мод цікавий, хоча не всім може сподобатись.
Дякую за відгук!
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.