Shop Shortcut

Fast & Convenient

< Feedback on Shop Shortcut

Review: قالتىس - قوليازما ئىشلەيدۇ

§
يوللانغان ۋاقتى: 2022-01-13

A few tips for this:
+ You can see inventory items' tiers with game.ui.inventory, no need to slice the string from shop menu.
+ You can use the switch keyword to make your code a little bit more pretty.

§
يوللانغان ۋاقتى: 2022-01-13

A few tips for this:
+ You can see inventory items' tiers with game.ui.inventory, no need to slice the string from shop menu.
+ You can use the switch keyword to make your code a little bit more pretty.

Another one for this is that you should use the anchor html tag for buttons, it is better than using the button tag.

vn_Havyئاپتور
§
يوللانغان ۋاقتى: 2022-01-15
تەھرىرلەنگەن ۋاقتى: 2022-01-15

A few tips for this:
+ You can see inventory items' tiers with game.ui.inventory, no need to slice the string from shop menu.
+ You can use the switch keyword to make your code a little bit more pretty.

well, that wont work, for example when you havent buy spear, game.ui.inventory.Spear.tier doesnt return anything, so u cant by level 1 spear

§
يوللانغان ۋاقتى: 2022-01-15
تەھرىرلەنگەن ۋاقتى: 2022-01-15

A few tips for this:
+ You can see inventory items' tiers with game.ui.inventory, no need to slice the string from shop menu.
+ You can use the switch keyword to make your code a little bit more pretty.

well, that wont work, for example when you havent buy spear, game.ui.inventory.Spear.tier doesnt return anything, so u cant by level 1 spear

You can check if it's defined or not, for example if you don't have a spear of any tier, using !game.ui.inventory.Spear will return true.
Trust me, it's better this way.

vn_Havyئاپتور
§
يوللانغان ۋاقتى: 2022-01-16

ok

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.