In-Game DefinitionsGlobalsScripting FunctionsResourceLogicSpendResourceOn this pageSpendResource Function name in ResourceLogic.lua Usage SpendResource(name, amount, source, args) Parameters name, amount, source, args Returns bool