We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9aea54d + dd8bb34 commit b5fa9f5Copy full SHA for b5fa9f5
1 file changed
lib/data-stage.lua
@@ -17,6 +17,11 @@ py.empty_image = function()
17
}
18
end
19
20
+---Returns if the feature flag spoilage and the mod setting for decay are enabled
21
+py.spoilage_enabled = function()
22
+ return feature_flags.spoiling and mods.pyalternativeenergy and settings.startup["py-enable-decay"].value or false
23
+end
24
+
25
---Returns a localised name with the respective properties of this item/entity/recipe, generalized to make localisation easier
26
---@param base_name string
27
---@param tier string?
0 commit comments