It’s common to have debug properties in the form of
{ name = "debug", type = "boolean", default = false },
{ name = "overrideSomething'", type = "number", visibleIf=function(p) return p.debug end }
You don’t typically want to publish something with debug mode on, becuase you might obliterate someone’s save data.
I’d like the option to add a blockPublish
flag to any boolean property. If the blockPublish flag is true, and the property its associated with is true, you won’t be able to publish the game.
{ name = "debug", type = "boolean", blockPublish = true }