<filename>Modules/Gekokujo_vanilla_enhanced/Code/Module_system/process_global_variables_unused.py
from module_info import *
from process_common import *
from process_operations import *


print "Checking global variable usages..."
variable_uses = []
variables = load_variables(export_dir,variable_uses)
i = 0
while (i < len(variables)):
  if (variable_uses[i] == 0):
    print "WARNING: Global variable never used: " + variables[i]
  i = i + 1

<filename>Modules/Gekokujo_vanilla_enhanced/Code/Module_system/process_global_variables_unused.py
from module_info import *
from process_common import *
from process_operations import *


print "Checking global variable usages..."
variable_uses = []
variables = load_variables(export_dir,variable_uses)
i = 0
while (i < len(variables)):
  if (variable_uses[i] == 0):
    print "WARNING: Global variable never used: " + variables[i]
  i = i + 1
