Inconsistent use of "count" and "amount" in modding api
Posted: Fri Dec 13, 2024 7:50 pm
i posted a topic on the modding interface requests, noting that the use of count and amount should be consistent across prototype and runtime stage.
why was this deleted?
maybe at least send me a pm when you delete my topics
edit:
thanks for moving the topic, but it's more of an api change request, maybe for the next major release you could make the api a bit more consistent.
another thing to make more consistent is the .name field, which returns a prototype on some stuff since recently (been modding 0.16-0.18 and .name was never anything else than a string iirc)
if it's a prototype, like an item, the field could be named .item for example
why was this deleted?
maybe at least send me a pm when you delete my topics
edit:
thanks for moving the topic, but it's more of an api change request, maybe for the next major release you could make the api a bit more consistent.
another thing to make more consistent is the .name field, which returns a prototype on some stuff since recently (been modding 0.16-0.18 and .name was never anything else than a string iirc)
if it's a prototype, like an item, the field could be named .item for example