broad-gpu-14081
02/18/2023, 2:33 AMicy-kangaroo-12650
02/18/2023, 2:35 AMbroad-gpu-14081
02/18/2023, 2:39 AMicy-kangaroo-12650
02/18/2023, 2:42 AMbroad-gpu-14081
02/18/2023, 2:46 AMicy-kangaroo-12650
02/18/2023, 2:49 AMicy-kangaroo-12650
02/18/2023, 2:55 AMbreezy-account-94066
02/18/2023, 4:21 AMhx
typedef BankItems = {
var slotLimit:Int;
}
class BankManager {
public static var slotLimit = 10;
public static function slotLimit{
}
}
Items for the inventory are being called from a different script, but tbh i have no idea how to set this up 😅handsome-vase-97531
02/18/2023, 4:31 AMhandsome-vase-97531
02/18/2023, 4:32 AMhaxe
if (whateverVariableForAmount >= BankManager.slotLimit) return;handsome-vase-97531
02/18/2023, 4:32 AMhandsome-vase-97531
02/18/2023, 4:36 AMhandsome-vase-97531
02/18/2023, 4:37 AMsome-answer-38938
02/18/2023, 7:38 AMsome-answer-38938
02/18/2023, 7:53 AMbroad-gpu-14081
02/18/2023, 9:55 AMthousands-state-46635
02/18/2023, 4:16 PMthousands-state-46635
02/18/2023, 4:18 PMearly-apartment-19010
02/18/2023, 4:18 PMthousands-state-46635
02/18/2023, 4:20 PMthousands-state-46635
02/18/2023, 4:20 PMambitious-knife-25690
02/18/2023, 4:20 PMambitious-knife-25690
02/18/2023, 4:20 PMthousands-state-46635
02/18/2023, 4:21 PMthousands-state-46635
02/18/2023, 4:22 PMhallowed-ocean-84954
02/18/2023, 4:36 PMpurple-toddler-22641
02/18/2023, 6:02 PMpurple-toddler-22641
02/18/2023, 6:03 PMclean to get it all to updateearly-apartment-19010
02/18/2023, 6:17 PMearly-apartment-19010
02/18/2023, 7:27 PM