Editing Module:EcoVersionString
From Eco - English Wiki
Your changes will be displayed to readers once an authorized user accepts them. (help)
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
assert(VersionData.eco, "Failed to load Data from Module:EcoVersionData!") | assert(VersionData.eco, "Failed to load Data from Module:EcoVersionData!") | ||
local EcoVersionString = VersionData.eco["eco"][" | local EcoVersionString = VersionData.eco["eco"]["ecoVersion"] | ||
if EcoVersionString then | if EcoVersionString then | ||
return '[https://steamcommunity.com/app/382310/announcements/ ' .. EcoVersionString .. ']' | return '[[https://steamcommunity.com/app/382310/announcements/ ' .. EcoVersionString .. ']]' | ||
else | else | ||
return "<span style=\"color:red\">ERROR: Failed to load Eco version from Data.</span>" | return "<span style=\"color:red\">ERROR: Failed to load Eco version from Data.</span>" |