Prototype properties as functions?
Posted: Tue Jul 05, 2016 4:22 pm
I'm going to guess that setting the property of a prototype as a function to be determined at runtime is not possible, like this:
As I said, I don't think this will work but I'd like confirmation because it would make my life easier if it did, but I don't want to go marching off down a dead end if it can be avoided
Thanks!
Code: Select all
{
type = "item",
name = "an-item",
icon = "__modmodmod__/graphics/icons/thing.png",
stack_size = some_function()
}
Thanks!