local Module = {} local Gui = require("utils.gui") local Utils = require("utils.utils"); local Game = require 'utils.game' local report_frame_name = Gui.uid_name() local report_close_button_name = Gui.uid_name() local report_tab_button_name = Gui.uid_name() local jail_offender_button_name = Gui.uid_name() local report_body_name = Gui.uid_name() local jail_name = 'Jail' local prefix = '------------------NOTICE-------------------' local prefix_e = '--------------------------------------------' global.reports = {} global.player_report_data = {} local function draw_report(parent, report_id) local report = global.reports[report_id] if report_id == 0 or not report then parent.add {type = "label", caption="No reports yet."} return end local reported_player_name = Game.get_player_by_index(report.reported_player_index).name local reporting_player_name = "