Inventory functions, the actions? Not so much.
Javascript doesn't have unsigned...