Hi Barade I found this maybe it can give you some ideas for your resource system~Spell
ResourceBar ItemShop
ResourceBar ItemShop
function GetLanguage takes nothing returns string
if (GetObjectName('hfoo') == "Soldat") then
return "German"
endif
return "English"
endfunction