phreddrickk
Member
Right now, I'm logged into mafia and it knows about 0 and 1:
However, across languages, we seem to have trouble accessing this:
EDIT:
I'm not sure what the best way forward is, but it might be worth changing their names to "[11789]0" and "[11788]1"
> ash $item[11789]
Returned: 0
id => 11789
name => 0
However, across languages, we seem to have trouble accessing this:
> ash to_item("0")
Returned: none
id => -1
> ash $item[0]
Bad item value: "0" (char 7 to char 8)
> js Item.get("0")
Script exception: Bad item value: 0
Returned: null
> js Item.get("1")
Returned: seal-clubbing club
id => 1
It looks like these are the very first items whose name is only digits.> js toItem("0")
Returned: none
id => -1
EDIT:
I'm not sure what the best way forward is, but it might be worth changing their names to "[11789]0" and "[11788]1"
Last edited: