it will fail for "if it hasn't been initialized". 

```coffeescript
a = {}
a.b > 0 # false
```

Maybe this? 

```coffeescript
user.items[type][key] = 0  if !user.items[type][key]? or user.items[type][key] < 0
```