allow = { resource_stockpile_compare = { resource = $RESOURCE$ value >= $AMOUNT$ } } add_resource = { $RESOURCE$ = -1 mult = $AMOUNT$ }