├── CNAME ├── .github ├── CODEOWNERS └── ISSUE_TEMPLATE │ ├── template-request.md │ ├── feature_request.md │ └── bug_report.md ├── test ├── .requirements.txt ├── meta.py ├── .test.py ├── templates.py ├── img.py ├── credits.py └── pencode.py ├── .codebeatignore ├── .jshintignore ├── favicon.png ├── img ├── daislogo.png ├── eclogo.png ├── ntlogo.png ├── sfplogo.png ├── sollogo.png ├── torchltd.png ├── uscmlogo.png ├── wylogo.png ├── xynlogo.png ├── bluentlogo.png ├── fleetlogo.png └── terralogo.png ├── templates ├── general │ ├── cover_end.txt │ └── cover.txt ├── records │ ├── sierrakomodo │ │ ├── security_contractor.txt │ │ ├── security_military.txt │ │ ├── employment_contractor.txt │ │ ├── public_military.txt │ │ ├── public_contractor.txt │ │ ├── employment_military.txt │ │ └── medical.txt │ ├── public.txt │ ├── antag.txt │ ├── medical.txt │ ├── security.txt │ └── employment_fleet.txt ├── command │ ├── exo │ │ ├── memo.txt │ │ ├── memo_ext.txt │ │ ├── termination.txt │ │ ├── complaint_exo.txt │ │ ├── complaint_nexo.txt │ │ ├── visa.txt │ │ ├── pod.txt │ │ ├── test_subject_no.txt │ │ ├── test_subject.txt │ │ └── sales.txt │ ├── department_audit.txt │ ├── visa.txt │ ├── transmission.txt │ ├── incident.txt │ ├── access_mod.txt │ ├── arrival.txt │ ├── crew_transfer.txt │ └── sitrep.txt ├── medical │ ├── discharge.txt │ ├── prescription.txt │ ├── cyborgification.txt │ ├── autopsy.txt │ ├── autopsy2.txt │ └── blood_donation.txt ├── cm │ ├── companyfax.txt │ └── commandfax.txt ├── admin │ ├── excom_autoreply.txt │ └── exo_autoreply.txt ├── security │ ├── investigation.txt │ ├── personnel_watchlist.txt │ ├── armory.txt │ ├── secarm_inventory.txt │ ├── shift_report.txt │ ├── personnel_watchlist2.txt │ ├── incident_report.txt │ ├── hot_sheet.txt │ ├── patrol_assignment.txt │ ├── patrol_assignment2.txt │ └── arrest_report.txt ├── research │ ├── anomaly.txt │ └── xenoflora.txt ├── supply │ ├── docked_vessel.txt │ └── uf102b_requisition_special.txt ├── exploration │ ├── away_manifest.txt │ ├── fauna.txt │ ├── exoplanet.txt │ └── uf301a_preflight.txt ├── service │ └── kosher.txt ├── engineering │ └── compliance.txt ├── instructions.txt └── index.json ├── .jshintrc ├── package.json ├── script ├── jquery-ui-1.12.1.custom │ ├── images │ │ ├── ui-icons_333333_256x240.png │ │ ├── ui-icons_444444_256x240.png │ │ ├── ui-icons_555555_256x240.png │ │ ├── ui-icons_777777_256x240.png │ │ └── ui-icons_ffffff_256x240.png │ ├── LICENSE.txt │ ├── package.json │ ├── jquery-ui.theme.min.css │ ├── AUTHORS.txt │ ├── jquery-ui.structure.min.css │ └── jquery-ui.theme.css ├── templates.js ├── settings.js ├── credits.js └── pen.js ├── .travis.yml ├── .gitignore ├── style ├── dark.css ├── solarized.css └── main.css ├── credits.json ├── README.md └── index.html /CNAME: -------------------------------------------------------------------------------- 1 | ps.ss13.net -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @Dibasic -------------------------------------------------------------------------------- /test/.requirements.txt: -------------------------------------------------------------------------------- 1 | ansicolors 2 | regex -------------------------------------------------------------------------------- /.codebeatignore: -------------------------------------------------------------------------------- 1 | script/jquery-ui-1.12.1.custom/** -------------------------------------------------------------------------------- /test/meta.py: -------------------------------------------------------------------------------- 1 | print('Python tests reached!') 2 | exit(0) -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | script/jquery-ui-1.12.1.custom/** 2 | test/** 3 | node_modules/** -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/favicon.png -------------------------------------------------------------------------------- /img/daislogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/daislogo.png -------------------------------------------------------------------------------- /img/eclogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/eclogo.png -------------------------------------------------------------------------------- /img/ntlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/ntlogo.png -------------------------------------------------------------------------------- /img/sfplogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/sfplogo.png -------------------------------------------------------------------------------- /img/sollogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/sollogo.png -------------------------------------------------------------------------------- /img/torchltd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/torchltd.png -------------------------------------------------------------------------------- /img/uscmlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/uscmlogo.png -------------------------------------------------------------------------------- /img/wylogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/wylogo.png -------------------------------------------------------------------------------- /img/xynlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/xynlogo.png -------------------------------------------------------------------------------- /templates/general/cover_end.txt: -------------------------------------------------------------------------------- 1 | [center][b]END TRANSMISSION[/b] 2 | 3 | 4 | [solcrest][/center] -------------------------------------------------------------------------------- /img/bluentlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/bluentlogo.png -------------------------------------------------------------------------------- /img/fleetlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/fleetlogo.png -------------------------------------------------------------------------------- /img/terralogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/img/terralogo.png -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser": true, 3 | "devel": true, 4 | "globalstrict": true, 5 | "jquery": true 6 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "jshint": "^2.6.0" 4 | }, 5 | "scripts": { 6 | "test": "jshint ." 7 | } 8 | } -------------------------------------------------------------------------------- /script/jquery-ui-1.12.1.custom/images/ui-icons_333333_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/script/jquery-ui-1.12.1.custom/images/ui-icons_333333_256x240.png -------------------------------------------------------------------------------- /script/jquery-ui-1.12.1.custom/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/script/jquery-ui-1.12.1.custom/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /script/jquery-ui-1.12.1.custom/images/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/script/jquery-ui-1.12.1.custom/images/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /script/jquery-ui-1.12.1.custom/images/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/script/jquery-ui-1.12.1.custom/images/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /script/jquery-ui-1.12.1.custom/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/HEAD/script/jquery-ui-1.12.1.custom/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | matrix: 2 | include: 3 | - language: node_js 4 | node_js: 5 | - node 6 | - language: python 7 | python: 8 | - 3.6 9 | install: 10 | - pip install -r test/.requirements.txt 11 | script: 12 | - python test/.test.py -------------------------------------------------------------------------------- /templates/records/sierrakomodo/security_contractor.txt: -------------------------------------------------------------------------------- 1 | [b]Arrest/Criminal Record[/b]: 2 | - Dated notes on public civilian arrest records 3 | - YYYY - Charge. Precinct/Location. Sentencing. 4 | 5 | [b]Security Notes[/b]: 6 | - Summarized list of anything security personnel should probably be aware of, that isn't included above 7 | -------------------------------------------------------------------------------- /templates/command/exo/memo.txt: -------------------------------------------------------------------------------- 1 | [small][center][logo] 2 | Department Memo HR-NTCO-03[/center] 3 | 4 | [b]Internal Memorandum[/b] 5 | Vessel: SEV Torch 6 | DTG: [date], [time] 7 | 8 | Subject: [field] 9 | Body: 10 | 11 | [field] 12 | 13 | [hr] 14 | Authorizing Signature: 15 | [field] 16 | 17 | [center]Stamp below if Approved[/center][hr][/small] -------------------------------------------------------------------------------- /templates/medical/discharge.txt: -------------------------------------------------------------------------------- 1 | [logo] 2 | [u][center]Discharge from Medical Bay[/center][/u] 3 | 4 | The discharged: [field] 5 | Was treated in the medical bay for: [field] 6 | Discharge date: [date] 7 | Discharge reason: [field] 8 | 9 | [hr][b]Treating Doctor[/b]: [field] 10 | [b]Signature[/b]: [field] 11 | [b]Date[/b]: [field] 12 | [hr] 13 | -------------------------------------------------------------------------------- /templates/command/exo/memo_ext.txt: -------------------------------------------------------------------------------- 1 | [small][center][logo] 2 | Inter-Department Memo HR-NTCO-03a[/center] 3 | 4 | [b]External Memorandum[/b] 5 | Vessel: SEV Torch 6 | DTG: [date], [time] 7 | 8 | Subject: [field] 9 | Body: 10 | 11 | [field] 12 | 13 | [hr] 14 | Authorizing Signature: 15 | [field] 16 | 17 | [center]Stamp below if Approved[/center][hr][/small] -------------------------------------------------------------------------------- /templates/command/exo/termination.txt: -------------------------------------------------------------------------------- 1 | [b][center]Notice of Termination of Employment[/center][/b] 2 | 3 | Name: [field] 4 | 5 | Age: [field] 6 | 7 | Position: [field] 8 | 9 | Reason for Termination: [field] 10 | 11 | Date: [field] 12 | 13 | Authorized by: [field] 14 | 15 | [small]**Please attach employment records alongside notice of termination[/small] -------------------------------------------------------------------------------- /templates/cm/companyfax.txt: -------------------------------------------------------------------------------- 1 | [center][wy] 2 | [small][b]Corporate. Special Services Division[/b][/small][/center] 3 | 4 | [small]Form 435 5 | Liaison Operations Report[hr]Facility: USS Almayer 6 | Index: [field] 7 | Date: [field] 8 | 9 | To: The Company, Special Services Division Director 10 | Subject: [field][list][field][/list][hr] Signature: [field][/small] 11 | -------------------------------------------------------------------------------- /templates/cm/commandfax.txt: -------------------------------------------------------------------------------- 1 | [center][uscm] 2 | [small][b]United States Colonial Marine Corps.[/b] 3 | 4 | 5 | Form X342 6 | 7 | Situation Report[/small][/center][hr] 8 | 9 | [small]Facility: USS Almayer 10 | 11 | Date: [field] 12 | 13 | 14 | To: USCMC High Command - Missions Director 15 | 16 | Subject: [field][list][field][/list][hr] 17 | 18 | Signature: [field][/small] 19 | -------------------------------------------------------------------------------- /templates/command/department_audit.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][/center] 2 | [br] 3 | SEV Torch Department Audit 4 | Date:[date] 5 | [br] 6 | Time:[time] 7 | [br] 8 | Name of Department: [field] 9 | [br] 10 | Positive Observations: [field] 11 | [br] 12 | Negative Observations: [field] 13 | [br] 14 | Other Notes: [field] 15 | [br] 16 | Signature: [sign] 17 | [br] 18 | Note: Document not valid unless stamped -------------------------------------------------------------------------------- /templates/command/visa.txt: -------------------------------------------------------------------------------- 1 | [center][Solcrest] 2 | Issuing Form SCG-03b[/center] 3 | 4 | Work Visa Issuing Form 5 | Date: [date] 6 | 7 | Recipient of Work Visa: 8 | [field] 9 | 10 | Rank and Position of Recipient: 11 | [field] 12 | 13 | Species of Recipient: 14 | [field] 15 | 16 | Issuer of Work Visa Signature: 17 | [field] 18 | 19 | Recipient of Work Visa Signature: 20 | [field] 21 | 22 | Stamp Below: -------------------------------------------------------------------------------- /templates/command/transmission.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][/center] 2 | [center][small][i]This paper has been transmitted by the Command of the SEV Torch[/i][/small][/center][hr][hr][small]Date: [field] 3 | Time: [field] 4 | 5 | Name: [field] 6 | Rank: [field] 7 | Position: [field] 8 | 9 | Priority: [field] 10 | Subject: [field] 11 | Transmission: 12 | [field] 13 | 14 | [/small][hr][hr][small][i]Signed, [sign][/i][/small] -------------------------------------------------------------------------------- /templates/admin/excom_autoreply.txt: -------------------------------------------------------------------------------- 1 | [small]Thank you for your Inquiry! 2 | 3 | Unfortunately due to a high volume of requests, we cannot get back to you right now. We shall respond to your query in 2-3 business days. 4 | 5 | Thank you for your Patience. 6 | 7 | Regards, 8 | 9 | Expeditionary Command 10 | Sol Central Government Expeditionary Corps Observatory, Sol 11 | 12 | [i][b]This is an automated reply[/b][/i] 13 | [/small] -------------------------------------------------------------------------------- /templates/records/public.txt: -------------------------------------------------------------------------------- 1 | [b]NAME:[/b] Last, First Middle 2 | [b]DOB:[/b] YYYY-MM-DD 3 | 4 | [b]LAST UPDATE:[/b] YYYY-MM-DD 5 | 6 | [b]SPECIES:[/b] 7 | [b]ETHNICITY/SUBSPECIES/MAKE/MODEL/COLORATION/GRADE/FLAVOR:[/b] (Make something up) 8 | 9 | [b]BRANCH:[/b] (Remove for civilians) 10 | [b]DIVISION:[/b] (Remove for civilians; UNIT: for Fleet; Field Operations for EC; Territory Support for SFP) 11 | 12 | [b]ASSIGNMENT:[/b] (Whatever job title) -------------------------------------------------------------------------------- /templates/admin/exo_autoreply.txt: -------------------------------------------------------------------------------- 1 | [small]Thank you for your Inquiry! 2 | 3 | Unfortunately due to a high volume of requests, we cannot get back to you right now. We shall respond to your query in 2-3 business days. 4 | 5 | Thank you for your Patience. 6 | 7 | Regards, 8 | Expeditionary Corps Organisation 9 | New Amsterdam, Luna, Sol 10 | 11 | [b]Major Bill's! When you need it moved, Call Bill.[/b] 12 | 13 | [i][b]This is an automated reply[/b][/i] 14 | [/small] -------------------------------------------------------------------------------- /templates/records/sierrakomodo/security_military.txt: -------------------------------------------------------------------------------- 1 | [b]Arrest/Criminal Record[/b]: 2 | - Dated notes on public civilian arrest records 3 | - YYYY - Charge. Precinct/Location. Sentencing. 4 | 5 | [b]SCUJ Record[/b]: 6 | - Dated notes on SCUJ/military violations 7 | - YYYY - Charge. Precinct/Location. Sentencing. 8 | 9 | [b]Security Notes[/b]: 10 | - Summarized list of anything security personnel should probably be aware of, that isn't included above 11 | -------------------------------------------------------------------------------- /templates/medical/prescription.txt: -------------------------------------------------------------------------------- 1 | [hr][logo] 2 | [u][center]Prescription[/center][/u] 3 | 4 | [b]Reagent name[/b]: [field] 5 | [b]Treatment period[/b]: [field] - [field] 6 | [b]Dose[/b]: [field] 7 | [b]Intake instructions[/b]: [field] 8 | 9 | Do not exceed prescribed dose. 10 | Do not cease treatment prematurely. 11 | Side effects may occur; consult physician if severe. 12 | 13 | [hr][b]Prescribing doctor[/b]: [field] 14 | [b]Signature[/b]: [field] 15 | [b]Date[/b]: [field] 16 | 17 | [hr] -------------------------------------------------------------------------------- /templates/command/exo/complaint_exo.txt: -------------------------------------------------------------------------------- 1 | [small][center][Logo] 2 | Corporate Complaint Form C-2202[/center] 3 | 4 | [b]EXO Personnel Complaint Form[/b] 5 | Vessel: SEV Torch 6 | DTG: [date], [time] 7 | 8 | [b]Complainant:[/b] [field] 9 | [b]Complainee(s):[/b] [field] 10 | 11 | Complaint Overview: 12 | [field] 13 | 14 | Complaint Details: 15 | [field] 16 | 17 | [hr] 18 | Complainant Signature: [field] 19 | Witness Signature: [field] 20 | 21 | [center]Stamp below if Approved[/center][hr][/small] 22 | -------------------------------------------------------------------------------- /templates/command/exo/complaint_nexo.txt: -------------------------------------------------------------------------------- 1 | [small][center][Logo] 2 | Corporate Complaint Form C-2204[/center] 3 | 4 | [b]Non-EXO Personnel Complaint Form[/b] 5 | Vessel: SEV Torch 6 | DTG: [date], [time] 7 | 8 | [b]Complainant:[/b] [field] 9 | [b]Complainee(s):[/b] [field] 10 | 11 | Complaint Overview: 12 | [field] 13 | 14 | Complaint Details: 15 | [field] 16 | 17 | [hr] 18 | Complainant Signature: [field] 19 | Witness Signature: [field] 20 | 21 | [center]Stamp below if Approved[/center][hr][/small] -------------------------------------------------------------------------------- /templates/command/exo/visa.txt: -------------------------------------------------------------------------------- 1 | [small][center][logo] 2 | Request Form HR-NTCO-05[/center] 3 | 4 | [b]Sol Central Government Work Visa Request Form[/b] 5 | Vessel: SEV Torch 6 | DTG: [date], [time] 7 | Index: [field] 8 | 9 | Intended Recipient of Visa: (Name, Position 10 | [field] 11 | 12 | Reason for Request: 13 | [field] 14 | [hr] 15 | 16 | Request Issuer's Signature: [field] 17 | Recipient's Signature: [field] 18 | Issuing Authority's Signature: [field] 19 | 20 | [center]Stamp below if Approved[/center][hr][/small] -------------------------------------------------------------------------------- /templates/security/investigation.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][/center] 2 | [center][b]Investigation Report[/b][/center] 3 | [center][small]For internal use only[/small][/center] 4 | [hr] 5 | [table][row][cell][b]Name: [/b][cell][field] 6 | [row][cell][b]Date: [/b][cell][date] 7 | [row][cell][b]Casename: [/b][cell][field] 8 | [row][cell][b]Summary: [/b][cell][field] 9 | [row][cell][b]Attachments: [/b][cell][field] 10 | [/table] 11 | 12 | [b]Observations: [/b][field] 13 | [hr] 14 | [center][small]SEV Torch Security Department[/small][/center] -------------------------------------------------------------------------------- /templates/research/anomaly.txt: -------------------------------------------------------------------------------- 1 | [center][i][b] Anomalistic Object Report [/b][/i][/center] 2 | 3 | [center][logo][/center] 4 | 5 | [center][b] AO Codename:[/b][field][/center] 6 | 7 | [center][b] Reporting Scientist:[/b] [field] [/center] 8 | 9 | [center][b] Overviewing Research Director:[/b] [field] [/center] 10 | 11 | [center][b]Containment Procedures[/b][/center] 12 | 13 | [field] 14 | 15 | [center][b]Generalized Overview[/b][/center] 16 | 17 | [field] 18 | 19 | [b]Approximate Age of AO:[/b][field] 20 | 21 | [b]Threat Level of AO: [/b][field] 22 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/template-request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Template request 3 | about: Request a new paperwork template 4 | title: 'Template Request: ' 5 | labels: content 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the template you'd like** 11 | 12 | Which department would use this template: 13 | 14 | A clear and concise description of the template you want to be added: 15 | 16 | A description of the situation or workflow this template would be used in: 17 | 18 | What fields are important for this template: 19 | 20 | **Additional context** 21 | Add any other context about your request here. 22 | -------------------------------------------------------------------------------- /templates/command/exo/pod.txt: -------------------------------------------------------------------------------- 1 | [small][center][logo] 2 | Request Form HR-NTCO-05a[/center] 3 | 4 | [b]Next of Kin Payout Authorization[/b] 5 | Vessel: SEV Torch 6 | DTG: [date], [time] 7 | Index: [field] 8 | 9 | This document hereby authorizes the payout of the remaining salary of: 10 | [field] 11 | 12 | As well as the net-worth of any remaining personal assets: (Asset, Thaler Amount) 13 | [field] 14 | 15 | Including personal effects: 16 | [field] 17 | 18 | To be shipped and delivered directly to the employee's next of kin without delay. 19 | 20 | [hr] 21 | Signature: [field] 22 | 23 | [center]Stamp below if Approved[/center][hr][/small] -------------------------------------------------------------------------------- /templates/medical/cyborgification.txt: -------------------------------------------------------------------------------- 1 | [center][b]Cyborgification Contract[/b][br] 2 | Name: [field][br] 3 | Rank: [field][br] 4 | [b][i]SolGov Expeditionary Corps - SEV Torch[/i][/b][/center][hr] 5 | I, undersigned, hereby agree to willingly undergo a Regulation Lobotimization with intention of cyborgification or AI assimilation, and I am aware of all the consequences of such act. I also understand that this operation may be irreversible, and that my employment contract will be terminated.[hr] 6 | Signature of Subject: [field][br][br] 7 | Signature of Captain or Commanding Officer: [field][br][br] 8 | Stamp below with the Captains or Commanding Officers stamp: -------------------------------------------------------------------------------- /templates/command/incident.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][hr][b]Incident Report[/b][/center] 2 | [small][b]Date: [/b][date] 3 | [b]Time: [/b][time] 4 | [b]Name: [/b][field][hr][i]For any section that does not apply, simply fill in that it is not applicable or N/A, do not leave any section blank.[/i] 5 | [b]Incident Type: [/b][field] 6 | [b]Location: [/b][field] 7 | [b]Action Taken: [/b][field] 8 | [b]Action Still Needed: [/b][field] 9 | [b]Involved Parties: [/b][field] 10 | [b]Witnesses (if different than involved parties): [/b][field] 11 | [hr] 12 | [b]Incident Summary: [/b][field] 13 | [hr] 14 | [b]Additional Comments: [/b][field] 15 | 16 | [b]Signed: [/b][field][/small] -------------------------------------------------------------------------------- /templates/medical/autopsy.txt: -------------------------------------------------------------------------------- 1 | [b]Autopsy Report[/b] 2 | [b]Name of Deceased:[/b] [field] 3 | [b]Time of Death:[/b] [date] [field] 4 | [b]Time of Retrieval:[/b] [field] 5 | [hr][i][small]Do not leave any section blank. For any section that does not apply, fill in N/A.[/small][/i] 6 | [b]Marks and Wounds on the Body:[/b] [field] 7 | [b]Location Body Discovered:[/b] [field] 8 | [b]Blood Analysis Results:[/b] [field] 9 | [b]Organ Scan Results:[/b] [field] 10 | [b]Witnesses:[/b] [field] 11 | [hr][b]Summary of the Narrative[/b] 12 | [field] 13 | [hr][b]Additional Comments[/b] 14 | [field] 15 | 16 | [b]Signed:[/b] [field] 17 | [b]Date:[/b] [date] 18 | [b]Time of Report:[/b] [time] -------------------------------------------------------------------------------- /test/.test.py: -------------------------------------------------------------------------------- 1 | import os, subprocess 2 | 3 | FAILED = False 4 | 5 | # Make sure we're in the expected directory 6 | # Ubuntu and Windows act differently here 7 | if os.getcwd().upper().endswith('SS13PAPERWORKSIMULATOR'): 8 | os.chdir('test') 9 | 10 | tests = [t for t in os.listdir() if t.endswith('.py') and not t.startswith('.')] 11 | 12 | print(f'Found these tests: {tests}') 13 | 14 | for test in tests: 15 | result = subprocess.call(['python', test]) 16 | if result != 0 and not FAILED: 17 | FAILED = True 18 | print(f'{test} returned {result}') 19 | 20 | exit_code = 0 21 | 22 | if FAILED: 23 | exit_code = 1 24 | 25 | print(exit_code) 26 | exit(exit_code) -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # IDEs and editors 15 | .idea 16 | .project 17 | .classpath 18 | .c9/ 19 | *.launch 20 | .settings/ 21 | *.sublime-workspace 22 | 23 | # IDE - VSCode 24 | .vscode/* 25 | !.vscode/settings.json 26 | !.vscode/tasks.json 27 | !.vscode/launch.json 28 | !.vscode/extensions.json 29 | 30 | # misc 31 | .sass-cache 32 | connect.lock 33 | typings 34 | 35 | # Logs 36 | logs 37 | *.log 38 | npm-debug.log* 39 | yarn-debug.log* 40 | yarn-error.log* 41 | 42 | # System Files 43 | .DS_Store 44 | Thumbs.db 45 | -------------------------------------------------------------------------------- /templates/records/antag.txt: -------------------------------------------------------------------------------- 1 | [b]MASKING UPLINK SIGNAL[/b] 2 | [b]PAYMENT RECEIVED...[/b] 3 | [b]INITIATING DATA TRANSFER...[/b] 4 | [b]....[/b] 5 | [b]....COMPLETE[/b] 6 | [b]DISPLAYING INFORMATION:[/b] 7 | [hr] 8 | [b]Name:[/b] Last, First Middle 9 | [b]Age:[/b] [age]-[b]SOL[/b] 10 | [b]Sex:[/b] 11 | [b]Species:[/b] 12 | [b]Subtype/Race:[/b] 13 | [b]Coloration:[/b] 14 | [b]Place of Residence:[/b] house number/etc, street/etc, City, Planet Region (SYSTEM) 15 | [hr] 16 | [b]Close Kin and Associates:[/b] [list][*]Surname, Forname | Relation, age | job | house number/etc, street/etc, City, Planet Region (SYSTEM) 17 | [/list][hr] 18 | [large][b]ADDITIONAL INFORMATION[/b][/large] 19 | [i]INFO - INFO BROKER NAME[/i] 20 | 21 | [b]...[/b] -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: 'Feature Request: ' 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /templates/records/sierrakomodo/employment_contractor.txt: -------------------------------------------------------------------------------- 1 | [b]Experience[/b]: 2 | - General notes on industry and years of experience in each industry - Ordered by longest experience to shortest 3 | - Field/Area - Y year(s) 4 | 5 | [b]Current Certifications[/b]: 6 | - Summarized list of current valid, non-expired certifications (I.e. piloting, EMT, etc) 7 | - Certification (Exp. YYYY-MM-DD) [i](Notes)[/i] 8 | 9 | [b]Education History[/b]: 10 | - Dated notes on post-high school enrollment, graduation, acquired degrees, etc 11 | - YYYY - School/Institution. Field/Degree. Enrollment/Graduation Status. 12 | 13 | [b]Employment History[/b]: 14 | - Dated notes on employment - Hired, fired, laid off, quit, notable promotions, etc 15 | - YYYY - Company Name. Job Title. Employment Status. 16 | -------------------------------------------------------------------------------- /templates/security/personnel_watchlist.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][h1]Crew POIs[/h1][i]Revision [date] - [time][/i] 2 | [hr][table] 3 | [row][cell][b]Name[/b][cell][b]Rank[/b][cell][b]Job[/b][cell][b]Details[/b] 4 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 5 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 6 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 7 | [/table] 8 | [hr][h3]Instructions Regarding Crew POIs[/h3][small][i]For interactions with POIs[/i][/small] 9 | Increase priority in monitoring the listed crew due to the nature of their interest, avoiding the possibility of them becoming aware of the hightened surveillance. [b]Under no circumstance must the POI become aware of their surveillance status.[/b] 10 | [sign] 11 | [/center] -------------------------------------------------------------------------------- /templates/command/exo/test_subject_no.txt: -------------------------------------------------------------------------------- 1 | [small][center][logo] 2 | Rejection Form HR-NTCO-02b-A[/center] 3 | 4 | [b]Rejection of Test Subject Volunteer Notice[/b] 5 | Vessel: SEV Torch 6 | DTG: [date], [time] 7 | Index: [field] 8 | 9 | [i]Dear Sir/Madam, 10 | 11 | We regret to inform you that your volunteer application for service as a test subject with the Expeditionary Corps Organisation has been rejected. We thank you for your interest in the progression of research. Attached, you will find a copy of your original volunteer form for your records. 12 | 13 | Regards,[/i] 14 | 15 | [sign] 16 | [hr] 17 | Reason for Rejection: 18 | [[field]] Physically Unfit 19 | [[field]] Mentally Unfit 20 | [[field]] Project Cancellation 21 | [[field]] Other 22 | 23 | [center]Stamp below if Approved[/center][hr][/small] -------------------------------------------------------------------------------- /test/templates.py: -------------------------------------------------------------------------------- 1 | import json, os 2 | 3 | # Make sure we're in the expected directory 4 | # Ubuntu and Windows act differently here 5 | if os.getcwd().upper().endswith('SS13PAPERWORKSIMULATOR'): 6 | os.chdir('test') 7 | 8 | DATA = {} 9 | 10 | with open('../templates/index.json') as json_data: 11 | DATA = json.load(json_data) 12 | 13 | def is_valid(obj): 14 | if isinstance(obj, dict): 15 | valid = True 16 | for i in obj.keys(): 17 | valid = valid and is_valid(obj[i]) 18 | return valid 19 | elif isinstance(obj, str): 20 | result = file_exists(obj) 21 | print(f'> {obj} exists : {result}') 22 | return result 23 | 24 | def file_exists(path): 25 | return os.path.isfile(f'../templates/{path}') 26 | 27 | exit_code = 0 28 | 29 | if not is_valid(DATA): 30 | exit_code = 1 31 | 32 | exit(exit_code) -------------------------------------------------------------------------------- /templates/supply/docked_vessel.txt: -------------------------------------------------------------------------------- 1 | [center] 2 | [solcrest] 3 | 4 | [h3]SEV Torch[/h3][h2]Docked Vessel Report[/h2][hr][/center] 5 | [b]GENERAL INFO[/b] 6 | Date: [field] 7 | Vessel Name: [field] 8 | Vessel Pilot/Owner: [field] 9 | Vessel Intended Purpose: [field] 10 | Docking Authorized by: [field] 11 | 12 | [hr] 13 | [b]GENERAL CARGO INFO[/b] 14 | List the types of cargo onboard the vessel: [field] 15 | 16 | [hr] 17 | [b]HAZARDOUS CARGO INFO[/b] 18 | Weaponry? [field] 19 | Live cargo? [field] 20 | Biohazardous material? [field] 21 | Chemical or radiation hazard? [field] 22 | 23 | [hr] 24 | To indicate authorization for vessel entry, sign/stamp here: [field] 25 | -[small]Hangar Staff[/small] 26 | 27 | [hr] 28 | [b]UNDOCKING AND DEPARTURE[/b] 29 | Undocking Time: [field] 30 | Additional Undocking Comments: [field] 31 | 32 | [hr] 33 | [i]SEV Torch Supply and Hangar-Control Department[/i] -------------------------------------------------------------------------------- /templates/security/armory.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][h1]Armory Inventory[/h1][i]Revision [date] - [time][/i][/center] 2 | [hr] 3 | [b]Equipment[/b] 4 | P.A.C.M.A.N. Generator: [field] 5 | Deployable Barriers: [field] 6 | Deployable Flashes: [field] 7 | Maintenance Jack: [field] 8 | Airlock Braces: [field] 9 | Flares: [field] 10 | Handcuffs: [field] 11 | Pepper Spray Grenades: [field] 12 | Flashbang Grenades: [field] 13 | Medical Supplies: [field] 14 | [field] 15 | [hr] 16 | [b]Armor[/b] 17 | Riot Armor: [field] 18 | Ballistics Armor: [field] 19 | Ablative Armor: [field] 20 | Riot Helmets: [field] 21 | Ballistics Helmets: [field] 22 | Ablative Helmets: [field] 23 | Riot Shields: [field] 24 | [field] 25 | [hr] 26 | [b]Weaponry[/b] 27 | Smart Guns: [field] 28 | Stun Rifles: [field] 29 | Grenade Launcher: [field] 30 | Ion Rifle: [field] 31 | [field] 32 | [hr] 33 | I hereby declare all inventory of the armory at [time]. 34 | [sign] 35 | -------------------------------------------------------------------------------- /templates/general/cover.txt: -------------------------------------------------------------------------------- 1 | [center][b]Sol Central Goverment Internal Communication[/b] 2 | [i]SEV Torch[/i] 3 | 4 | [solcrest] 5 | 6 | [b][u]Fax Transmission[/u][/b] 7 | [/center] 8 | 9 | [b]From:[/b] [field] 10 | 11 | [b]To:[/b] [field] 12 | 13 | [b]Subject:[/b] [field] 14 | 15 | [hr] 16 | 17 | [b]Summary:[/b] 18 | [field] 19 | 20 | [b]Contents:[/b] 21 | [field] 22 | 23 | [b]Total Number of Pages:[/b] [field] 24 | [hr][small][i] 25 | This message, and the documents attached hereto, are intended only for the addressee and may contain confidential information. Any unauthorized disclosure is strictly prohibited. 26 | 27 | If this transmission is received in error, please notify both the sender and the office of Internal Affairs immediately so that corrective action may be taken. Failure to comply is a breach of government regulation and will be prosecuted to the fullest extent of the law, where applicable. 28 | [/i][/small] -------------------------------------------------------------------------------- /templates/exploration/away_manifest.txt: -------------------------------------------------------------------------------- 1 | [center][eclogo] 2 | 3 | [large][b]SEV Torch 4 | 5 | Away Mission Manifest: [field] 6 | [/b][/large][/center] 7 | [hr] 8 | [small][i]The following is to be completed by members of an expedition team in order to keep an accurate crew manifest for record keeping purposes.[/i][/small] 9 | 10 | [u]Expeditionary Team Leader:[/u] [field] 11 | [u]Expeditionary Deputy Leader:[/u] [field] 12 | [u]Member:[/u] [field] 13 | [u]Member:[/u] [field] 14 | [u]Member:[/u] [field] 15 | [hr] 16 | [u]Pilot:[/u] [field] 17 | [hr] 18 | [u]Security Personnel:[/u] [field] 19 | [u]Security Personnel:[/u] [field] 20 | [u]Engineering Personnel:[/u] [field] 21 | [u]Engineering Personnel:[/u] [field] 22 | [u]Medical Personnel:[/u] [field] 23 | [u]Medical Personnel:[/u] [field] 24 | [hr] 25 | [u]Other Personnel:[/u] [field] 26 | [u]Other Personnel:[/u] [field] 27 | [u]Other Personnel:[/u] [field] 28 | [u]Other Personnel:[/u] [field] 29 | -------------------------------------------------------------------------------- /templates/exploration/fauna.txt: -------------------------------------------------------------------------------- 1 | [center][eclogo] 2 | 3 | [large][b]SEV Torch 4 | 5 | Alien Fauna Report: [field] 6 | [/b][/large][/center] 7 | [hr] 8 | [small][i]The following is to be filled out by members of a Expedition team after discovery and study of new alien life.[/i][/small] 9 | 10 | [u]Location:[/u] [field] 11 | [u]Date:[/u] [date] 12 | 13 | [u]Personnel Involved:[/u] [field] 14 | 15 | [u]Anatomy/Appearance:[/u] [field] 16 | [u]Locomotion:[/u] [field] 17 | 18 | [u]Diet:[/u] [field] 19 | [u]Habitat:[/u] [field] 20 | [u]Homeworld:[/u] [field] 21 | 22 | [u]Behavior:[/u] [field] 23 | [u]Defense/Offense:[/u] [field] 24 | [u]Special Characteristics:[/u] [field] 25 | 26 | [u]Classification:[/u] [field] 27 | 28 | [i][small]On completion of this form and form approval, the Research Director should fax the form to both the corporate liaison and the commanding officer and should keep a carbon copy on file alongside any relevant exoplanet file.[/small][/i] 29 | -------------------------------------------------------------------------------- /test/img.py: -------------------------------------------------------------------------------- 1 | import io, re, os 2 | 3 | # Make sure we're in the expected directory 4 | # Ubuntu and Windows act differently here 5 | if os.getcwd().upper().endswith('SS13PAPERWORKSIMULATOR'): 6 | os.chdir('test') 7 | 8 | images = [] 9 | pattern = r'^\s+\.replaceAll\(\'\[.*?\]\', ?\'' 10 | 11 | with open('../script/pen.js') as file: 12 | for line in file: 13 | match = re.match(pattern, line) 14 | if match: 15 | images.append(match.group(1)) 16 | 17 | images = ['../' + i.lstrip('./') for i in images] 18 | 19 | FAILED = False 20 | 21 | if len(images) < 4: 22 | print('> Detecting fewer than 4 image calls in pen.js - not likely!') 23 | FAILED = True 24 | else: 25 | for i in images: 26 | exists = os.path.isfile(i) 27 | print(f'> {i} exists : {exists}') 28 | FAILED = FAILED or not exists 29 | 30 | exit_code = 0 31 | 32 | if FAILED: 33 | exit_code = 1 34 | 35 | exit(exit_code) -------------------------------------------------------------------------------- /templates/service/kosher.txt: -------------------------------------------------------------------------------- 1 | [hr][center] 2 | [small]With God's help[/small] 3 | [large][b]Kosher Certificate[/b][/large] 4 | [/center] 5 | 6 | Type of Kosher: [b][field][/b] 7 | We hereby certify the following: [b][field][/b] 8 | Located at: [b][field][/b] 9 | Owned by: [b][field][/b] 10 | From stardate [b][date][/b] to stardate [b][field][/b] 11 | [small] 12 | [center][u]Note the expiry date[/u][/center] 13 | Do noy copy this certificate. 14 | [list][*]This certificate will expire at the stardate listed above. 15 | [*]This certificate is the sole property of the listed rabbinate. It is in the power of that rabbinate to revoke this certificate at its discretion. 16 | [*]All products sold from various sources are certified by local rabbinates. 17 | [*]Unsigned certificates are expired.[/list] 18 | The public is requested to report any violations to their local rabbinate. 19 | [/small] 20 | 21 | Kosher supervisor: [b][field][/b] 22 | Signature: [b][field][/b] 23 | [hr] 24 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Report a format or functionality issue 4 | title: '' 5 | labels: bug 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Web Browser (please complete the following information):** 24 | - Browser [e.g. chrome, safari] 25 | - Version [e.g. 22] 26 | 27 | **Screenshots** 28 | If applicable, add screenshots to help explain your problem. Include BOTH simulator and ingame screenshots, if the way pencode is displayed differs. 29 | 30 | **Pen Code** 31 | If applicable, add pencode that reproduces the problem. 32 | 33 | **Additional context** 34 | Add any other context about the problem here. 35 | -------------------------------------------------------------------------------- /templates/exploration/exoplanet.txt: -------------------------------------------------------------------------------- 1 | [center][eclogo] 2 | 3 | [large][b]SEV Torch 4 | 5 | Exoplanet Report: [field] 6 | [/b][/large][/center] 7 | [hr] 8 | [small][i]The following is to be filled out by members of a Expedition team after an Expedition to an uncharted Exoplanet.[/i][/small] 9 | 10 | [u]Location:[/u] [field] 11 | [u]Date:[/u] [date] 12 | [cell][u]Personnel Involved:[/u] [field] 13 | 14 | [u]Atmospheric Information:[/u] [field] 15 | [u]Terrain Information:[/u] [field] 16 | [u]Habitable:[/u] [field] 17 | 18 | [u]Existence of Fauna[/u] [field] 19 | [u]Existence of Flora[/u] [field] 20 | 21 | [u]Materials/Tools Used:[/u] [field] 22 | [u]Items Retrieved:[/u] [field] 23 | 24 | [u]Observations:[/u] [field] 25 | 26 | [u]Reporting Personnel Signature: [field][/u] 27 | [hr] 28 | [i][small]On completion of this form and form approval, the Research Director should fax the form to both the corporate liason and the commanding officer and should keep a carbon copy on file.[/small][/i] 29 | -------------------------------------------------------------------------------- /templates/records/sierrakomodo/public_military.txt: -------------------------------------------------------------------------------- 1 | [b][u]SOLGOV MILITARY PERSONNEL FILE[/u][/b] 2 | [b]Date of Birth[/b]: YYYY-MM-DD 3 | [b]Citizenship[/b]: Nation [i](Home)[/i] 4 | [b]Known Languages[/b]: 5 | - Language (Fluency) 6 | 7 | [b]Branch[/b]: Service Branch 8 | [b]Rank[/b]: Rank 9 | [b]Division[/b]: i.e., 3rd Fleet; Observatory; etc 10 | [b]Enlistment Date[/b]: YYYY-MM-DD 11 | [b]Assignment(s)[/b]: 12 | - Job Title [i](Notes)[/i] 13 | 14 | [b]Height[/b]: 000cm (0'00") 15 | [b]Weight[/b]: 000kg (000lb) 16 | [b]Identifying Features[/b]: Skin/fur/scale/chassis color. Hair color. Eye color. Other distinguishing features. 17 | [b]Photo[/b]: link-to-image.jpeg 18 | [i](Credit: Artwork by artist-name-here)[/i] 19 | 20 | [b]General Notes[/b]: 21 | - Public employment notes that appear on medical and security records 22 | 23 | [b]Security Notes[/b]: 24 | - Public security notes that appear on medical and employment records 25 | 26 | [b]Medical Notes[/b]: 27 | - Public medical notes that appear on employment and security records 28 | -------------------------------------------------------------------------------- /templates/records/sierrakomodo/public_contractor.txt: -------------------------------------------------------------------------------- 1 | [b][u]SOLGOV CIVILIAN CONTRACTOR PERSONNEL FILE[/u][/b] 2 | [b]Date of Birth[/b]: YYYY-MM-DD 3 | [b]Citizenship[/b]: Nation [i](Home)[/i] 4 | [b]Known Languages[/b]: 5 | - Language (Fluency) 6 | 7 | [b]Contracted From[/b]: Company Name/Independent Contractor 8 | [b]Contract Start Date[/b]: YYYY-MM-DD 9 | [b]Contract End Date[/b]: YYYY-MM-DD 10 | [b]Assignment(s)[/b]: 11 | - Job Title [i](Notes)[/i] 12 | 13 | [b]Height[/b]: 000cm (0'00") 14 | [b]Weight[/b]: 000kg (000lb) 15 | [b]Identifying Features[/b]: Skin/fur/scale/chassis color. Hair color. Eye color. Other distinguishing features. 16 | [b]Photo[/b]: link-to-image.jpeg 17 | [i](Credit: Artwork by artist-name-here)[/i] 18 | 19 | [b]General Notes[/b]: 20 | - Public employment notes that appear on medical and security records 21 | 22 | [b]Security Notes[/b]: 23 | - Public security notes that appear on medical and employment records 24 | 25 | [b]Medical Notes[/b]: 26 | - Public medical notes that appear on employment and security records 27 | -------------------------------------------------------------------------------- /templates/command/exo/test_subject.txt: -------------------------------------------------------------------------------- 1 | [small][center][logo] 2 | Liability Form HR-NTCO-02b[/center] 3 | 4 | [b]Corporate Test Subject Volunteer Form[/b] 5 | Vessel: SEV Torch 6 | DTG: [date], [time] 7 | Index: [field] 8 | 9 | Name of Volunteer: 10 | [field] 11 | (Attach Crew Record) 12 | 13 | Intended Procedure(s): 14 | [field] 15 | 16 | Compensation for Volunteer: (if any) 17 | [field] 18 | 19 | Handling Researcher(s): (Name, Position) 20 | [field] 21 | [hr] 22 | [i]By signing, the "Volunteer" agrees to absolve the Expeditionary Corps Organisation, including partner corporations, and its employees, of any liability or responsibility for injuries, damages, property loss or side-effects that may result from the intended procedure. If signed by an authorized representative of the ECO, such as a Research Director or Corporate Executive - this form is deemed reviewed, but is only approved if stamped.[/i] 23 | 24 | Corporate Representative's Signature: 25 | [field] 26 | 27 | Volunteer's Signature: 28 | [field] 29 | 30 | [center]Stamp below if Approved[/center][hr][/small] -------------------------------------------------------------------------------- /templates/security/secarm_inventory.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest] 2 | [b][large]SEV Torch[/large][/b] 3 | 4 | [i]Armory Inventory - Revision [date][/i][/center][hr][center][small]General Armory[/small][/center] 5 | [b]Pepperspray grenades[/b]: [field] 6 | [b]Flashbangs[/b]: [field] 7 | [b]Handcuffs[/b]: [field] 8 | [b]Airlock Braces:[/b] [field] 9 | [b]maintnenance Jack[/b]: [field] 10 | [b]Flares[/b]: [field] 11 | [b]PACMAN portable generator[/b]: [field] 12 | [b]First Aid Kit[/b]: [field] 13 | [b]Fire First Aid Kit[/b]: [field] 14 | [field][hr][center][small]Secure Armory - Weapons[/small][/center] 15 | [b]LAEP90 Perun energy gun[/b]: [field] 16 | [b]A&M X10 Thor stun rifle[/b]: [field] 17 | [b]NT Mk60 EW Halicon ion rifle[/b]: [field] 18 | [b]Grenade Launcher[/b]: [field] 19 | [field][hr][center][small]Secure Armory - Armor[/small][/center] 20 | [b]Riot Vest & Helmet[/b]: [field] 21 | [b]Ballistic Vest & Helmet[/b]: [field] 22 | [b]Ablative Vest & Helmet[/b]: [field] 23 | [b]Riot Shield[/b]: [field] 24 | [field][hr] 25 | [b]Completed By[/b]: [field] 26 | [b]Date Completed[/b]: [date] [time] -------------------------------------------------------------------------------- /templates/records/sierrakomodo/employment_military.txt: -------------------------------------------------------------------------------- 1 | [b]Experience[/b]: 2 | - General notes on industry and years of experience in each industry - Ordered by longest experience to shortest 3 | - Field/Area - Y year(s) 4 | 5 | [b]Current Certifications[/b]: 6 | - Summarized list of current valid, non-expired certifications (I.e. piloting, EMT, etc) 7 | - Certification (Exp. YYYY-MM-DD) [i](Notes)[/i] 8 | 9 | [b]Education History[/b]: 10 | - Dated notes on post-high school enrollment, graduation, acquired degrees, etc 11 | - YYYY - School/Institution. Field/Degree. Enrollment/Graduation Status. 12 | 13 | [b]Civilian Employment History[/b]: 14 | - Dated notes on employment - Hired, fired, laid off, quit, notable promotions, etc 15 | - YYYY - Company Name. Job Title. Employment Status. 16 | 17 | [b]Military Service Record[/b]: 18 | - Dated notes on military service history - Date of enlistment, promotions, transfers, demotions, etc 19 | - YYYY - Promotion/Demotion to RANK. Assigned Facility/Vessel. Promoting Officer. 20 | - YYYY - Transfer/Assignment to JOB. New assigned Facility/Vessel. New direct superior. 21 | -------------------------------------------------------------------------------- /templates/security/shift_report.txt: -------------------------------------------------------------------------------- 1 | [center][hr][small][i]LEO/S - LAW ENFORCEMENT USE ONLY 2 | NOT FOR PUBLIC DISSEMINATION[/i][/small][hr][solcrest] 3 | [b][large]SEV Torch[/large][/b] 4 | 5 | [i]Security Shift Report - Revision [date][/i][/center][hr][center][small]Incidents of Note[/small][/center] 6 | [table][row][cell][b]Time[/b][cell][b]Summary[/b] 7 | [row][cell][field][cell][field] 8 | [row][cell][field][cell][field] 9 | [row][cell][field][cell][field] 10 | [row][cell][field][cell][field] 11 | [row][cell][field][cell][field] 12 | [row][cell][field][cell][field] 13 | [row][cell][field][cell][field] 14 | [row][cell][field][cell][field] 15 | [row][cell][field][cell][field] 16 | [row][cell][field][cell][field] 17 | [row][cell][field][cell][field] 18 | [row][cell][field][cell][field] 19 | [row][cell][field][cell][field] 20 | [row][cell][field][cell][field] 21 | [row][cell][field][cell][field] 22 | [row][cell][field][cell][field] 23 | [row][cell][field][cell][field] 24 | [row][cell][field][cell][field] 25 | [/table] 26 | [hr][center][small][i]LEO/S - LAW ENFORCEMENT USE ONLY 27 | NOT FOR PUBLIC DISSEMINATION[/i][/small][/center][hr] -------------------------------------------------------------------------------- /templates/command/access_mod.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][logo][/center] 2 | [large][i][center]SEV Torch - Office of the Executive Officer[/center][/i][br] 3 | [small][center]YOUR RANK YOUR NAME[/center][/small] 4 | [center][b][i]Crew Access Modification Application - AMA-SGF02[/i][/b][/center][/large] 5 | [hr][br] 6 | 7 | [small]Print your full ID name, and rank and branch, if applicable.[/small][br] 8 | Rank: [u][field][/u][br] 9 | Applicant: [u][field][/u][br] 10 | Organization: [u][field][/u][br] 11 | [br] 12 | Time applied: [u][field][/u][br] 13 | Present position: [u][field][/u][br] 14 | Requested access: [u][field][/u] 15 | 16 | [hr] 17 | 18 | Reason stated: [u][field][/u][br] 19 | Duration of expanded access: [u][field][/u] 20 | 21 | [hr] 22 | 23 | [small]The following fields render the document invalid if not signed clearly.[/small][br] 24 | Applicant signature: [u][field][/u][br] 25 | Executive Officer: [u][field][/u] 26 | [hr] 27 | 28 | [small]The following fields are for the executive officer only.[/small][br] 29 | Date filed: [u][date][/u][br] 30 | [br] 31 | Number of personnel in relevant position: [u][field][/u][br] 32 | Approved?: [u][field][/u] 33 | [hr] -------------------------------------------------------------------------------- /templates/command/exo/sales.txt: -------------------------------------------------------------------------------- 1 | [center][logo] 2 | [small]SEV Torch - Expeditionary Corps Organisation[br] 3 | Corporate Sales Contract and Receipt HR-ECOCO-04[/small][/center] 4 | [hr] 5 | [b]Product Information[/b] 6 | 7 | Product Name: [field] 8 | Product Type: 9 | [[field]] Weapon 10 | [[field]] Tool 11 | [[field]] Entertainment 12 | [[field]] Other: [u][field][/u] 13 | 14 | Product Unit Cost: T[field] 15 | Product Units Requested: x[field] 16 | Total Cost: T[field] 17 | 18 | [b]Terms and Conditions[/b] 19 | [i]The 'Purchaser' may not return any sold product units for re-compensation in thalers, but may return the item for an identical item, or item of equal material (not thaler) value. The 'Seller' agrees to make their best effort to repair, or replace any items that fail to accomplish their designed purpose, due to malfunction or manufacturing error - but not user-caused damage. 20 | [/i] 21 | 22 | [b]Purchaser Information[/b] 23 | 24 | Name: [field] 25 | Position: [field] 26 | Signature: [field] 27 | 28 | [b]Seller Information[/b] 29 | 30 | Name: [field] 31 | Position: [field] 32 | Signature: [field] 33 | 34 | [center]Stamp below if Approved[/center][hr] -------------------------------------------------------------------------------- /templates/command/arrival.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][u][large]Welcome to the SEV Torch![/large][/u][eclogo][/center] 2 | [hr] 3 | The Torch is a Mako-class exploratory corvette. The vessel is the result of a deep space exploration project overseen by the Sol Central Government (SCG) and multiple corporate investors, primarily the Expeditionary Corps Organisation (EXO) and certain Skrellian organizations. 4 | 5 | For your familiarization with the ship, and the departments becoming aware of your presence, you're required to fill the following form: 6 | 7 | [b]Arrival name[/b]: [field] 8 | [b]Arrival date[/b]: [field] 9 | [table] 10 | [row][cell]Department[cell]Signature[cell]Signers name[cell]Signature date[cell]Deck # 11 | [row][cell]Security[cell][field][cell][field][cell][field][cell]1 12 | [row][cell]Medical[cell][field][cell][field][cell][field][cell]1 13 | [row][cell]Supply[cell][field][cell][field][cell][field][cell]4 14 | [row][cell]Service[cell][field][cell][field][cell][field][cell]3 15 | [row][cell]Engineering[cell][field][cell][field][cell][field][cell]2 16 | [/table] 17 | [b]Executive Officer signature[/b]: [field] 18 | [b]Executive Officer stamp[/b]: [field] 19 | -------------------------------------------------------------------------------- /templates/security/personnel_watchlist2.txt: -------------------------------------------------------------------------------- 1 | [center][hr][small][i]LEO/S - LAW ENFORCEMENT USE ONLY 2 | NOT FOR PUBLIC DISSEMINATION[/i][/small][hr][solcrest][/center][b] 3 | SEV Torch Security Department 4 | [large]Special Attention Watchlist[/large][/b] 5 | [i]Revision [date] - [time][/i] 6 | [hr][table] 7 | [row][cell][b]Name[/b][cell][b]Rank[/b][cell][b]Job[/b][cell][b]Details[/b] 8 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 9 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 10 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 11 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 12 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 13 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 14 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 15 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 16 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 17 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 18 | [/table] 19 | [hr][small][i]LEO/S - LAW ENFORCEMENT USE ONLY 20 | NOT FOR PUBLIC DISSEMINATION[/i][/small][hr] -------------------------------------------------------------------------------- /templates/command/crew_transfer.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][logo][/center] 2 | [large][i][center]SEV Torch - Office of the Executive Officer[/center][/i][br] 3 | [small][center]YOUR RANK YOUR NAME[/center][/small] 4 | [center][b][i]Crew Transfer Application - CTA-SGF01[/i][/b][/center][/large] 5 | [hr][br] 6 | 7 | [small]Print your full ID name, and rank and branch, if applicable.[/small][br] 8 | Rank: [u][field][/u][br] 9 | Applicant: [u][field][/u][br] 10 | Organization: [u][field][/u][br] 11 | [br] 12 | Time applied: [u][field][/u][br] 13 | Present position: [u][field][/u][br] 14 | Requested position: [u][field][/u] 15 | 16 | [hr] 17 | 18 | Reason stated: [u][field][/u] 19 | 20 | [hr] 21 | 22 | [small]The following fields render the document invalid if not [b]signed clearly[/b].[/small][br] 23 | Applicant signature: [u][field][/u][br] 24 | Executive Officer: [u][field][/u] 25 | [hr] 26 | 27 | [small]The following fields are for the executive officer only.[/small][br] 28 | Date filed: [u][date][/u][br] 29 | 30 | Number of personnel in present/previous position: [u][field][/u][br] 31 | Number of personnel in requested position: [u][field][/u][br] 32 | Approved?: [u][field][/u] 33 | [hr] -------------------------------------------------------------------------------- /templates/security/incident_report.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][h1]Security Incident Report[/h1][field][/center] 2 | [i]Revision [date] - [time][/i] 3 | [b]Offense/Incident Type: [/b][field] 4 | [b]Location: [/b][field] 5 | [br][hr][h3]Personnel Involved in Incident[/h3] 6 | [b]Reporting Officer: [/b][field][br] 7 | [b]Assisting Officer(s) [/b][br] 8 | [table][row][cell][b]Rank[/b][cell][b]Name[/b][cell][b]Position[/b] 9 | [row][cell][b][field][/b][cell][field][cell][field] 10 | [/table] 11 | [b]Other Personnel[/b] 12 | [small][i](V-Victim, S-Suspect, W-Witness, M-Missing, A-Arrested, RP-Reporting Person, D-Deceased)[/i][/small][br] 13 | [table][row][cell][b]Rank[/b][cell][b]Name[/b][cell][b]Position[/b][cell][b]Code[/b] 14 | [row][cell][b][field][/b][cell][field][cell][field][cell][field] 15 | [/table] 16 | [hr][h3]Description of Items/Property [/h3] 17 | [small][i](D-Damaged, E-Evidence, L-Lost, R-Recovered, S-Stolen)[/i][/small][br] 18 | [table][row][cell][b]Name[/b][cell][b]Description[/b][cell][b]Department[/b][cell][b]Code[/b] 19 | [row][cell][b][field][/b][cell][field][cell][field][cell][field] 20 | [/table] 21 | [hr][h3]Narrative [/h3] 22 | [field][br] 23 | [b]Reporting Officer's Signature[/b][br] 24 | -------------------------------------------------------------------------------- /templates/medical/autopsy2.txt: -------------------------------------------------------------------------------- 1 | [hr] 2 | [center][solcrest] 3 | [b][large]SCG MEDICAL SERVICES[/large] 4 | AUTOPSY REPORT[/b][/center] 5 | [hr] 6 | [center]PATIENT INFORMATION[/center] 7 | Name: [field] 8 | Organization: [field] 9 | Rank: [field] 10 | [hr] 11 | [center]INVESTIGATIVE FINDINGS:[/center] 12 | Date of Death: [field] 13 | Time of Death: [field] 14 | Known/Estimated: [field] 15 | 16 | Cause of Death: [field] 17 | Attended or Unattended Death: [field] 18 | 19 | Narrative: 20 | 21 | [field] 22 | [hr] 23 | [center]POST-MORTEM REQUESTS:[/center] 24 | Narrative: 25 | 26 | [field] 27 | [hr] 28 | [center]REVIEW INFORMATION:[/center] 29 | Vessel/Station Performed: [field] 30 | 31 | [small][i]I hereby declare that after receiving notice of the death described herein, I took charge of the body and made inquiries regarding the cause of death in accordance with local laws and standing orders, and that the information contained herein regarding said death is true and correct to the best of my knowledge and belief.[/i] 32 | [/small] 33 | Name: [field] 34 | Signature: [field] 35 | Organization: [field] 36 | Rank (If Applicable): [field] 37 | 38 | Chief Medical Officer on Shift: [field] 39 | Organization: [field] 40 | Rank: [field] 41 | [hr] -------------------------------------------------------------------------------- /templates/records/medical.txt: -------------------------------------------------------------------------------- 1 | [b]HEIGHT:[/b] XXX cm (X' X") 2 | [b]WEIGHT:[/b] XX kg (XXX lbs.) 3 | 4 | [b]POSTMORTEM INSTRUCTIONS:[/b] When I'm dead just throw me into the traash. 5 | 6 | [b]EMERGENCY CONTACT[/b] 7 | [b]NAME:[/b] Last, First M. 8 | [b]RELATION:[/b] Sibling/Parent/Acquaintenace/Dogsitter 9 | [b]ADDRESS:[/b] D-1140.104, City, PLANET Region (SYSTEM) (Just make up a fancy sci-fi address) 10 | [b]MAIL:[/b] whatever@scifi.email 11 | 12 | [b]PROSETHESES/IMPLANTS:[/b] NONE 13 | 14 | [b]LATEX ALLERGY:[/b] NO 15 | [b]DRUG ALLERGIES:[/b] NONE 16 | [b]SKIN/CONTACT ALLERGIES:[/b] NONE 17 | [b]OTHER ALLERGIES:[/b] NONE 18 | 19 | [b]SURGICAL HISTORY:[/b] 20 | No surgical history available. 21 | 22 | [b]OBSTETRIC HISTORY:[/b] 23 | No obstetric history available. 24 | 25 | [b]MEDICATION HISTORY:[/b] 26 | No medication history available. 27 | 28 | [b]CURRENT MEDICATIONS/PRESCRIPTIONS:[/b] 29 | No current prescriptions. 30 | 31 | [b]DOCUMENTED PHYSIOLOGICAL DISORDERS:[/b] 32 | No physiological disorders listed. 33 | 34 | [b]PHYSICAL EVALUATION:[/b] Pass (exp. YYYY-MM-DD) 35 | [b]PSYCHOLOGICAL EVALUATIONS:[/b] Pass (exp. YYYY-MM-DD) 36 | 37 | [b]Medical Doctor's Notes:[/b] 38 | [i]Rank LastName is physically and mentally fit for service.[/i] 39 | 40 | [b]FROM:[/b] OfficerRank First Last, MD, Nth Fleet, ShipOrHQ 41 | [b]DATE:[/b] YYYY-MM-DD -------------------------------------------------------------------------------- /style/dark.css: -------------------------------------------------------------------------------- 1 | .dark-theme { 2 | background-color: #1a1a1a; 3 | color: white; 4 | } 5 | 6 | .dark-theme #menu { 7 | background-color: #1f1f1f; 8 | border-color: #3f3f3f; 9 | } 10 | 11 | .dark-theme #template, .dark-theme .ui-menu-item-wrapper, .dark-theme select { 12 | background-color: black; 13 | color: white; 14 | } 15 | .dark-theme .ui-menu-item-wrapper:hover { 16 | background-color: #3f3f3f; 17 | } 18 | 19 | .dark-theme #input, .dark-theme #output { 20 | background-color: black; 21 | color: white; 22 | border-color: #3f3f3f; 23 | box-shadow: -6px -6px 16px #1f1f1f inset; 24 | } 25 | 26 | .dark-theme #menu > legend { 27 | background-color: #1f1f1f; 28 | color: white; 29 | } 30 | 31 | .dark-theme .control, .dark-theme .control:focus { 32 | background-color: #1f1f1f; 33 | color: white; 34 | } 35 | .dark-theme .control:hover { 36 | background-color: #3f3f3f; 37 | } 38 | 39 | .dark-theme .ui-dialog { 40 | background-color: #1f1f1f; 41 | color: white; 42 | } 43 | .dark-theme .ui-dialog-titlebar, .dark-theme .ui-dialog-titlebar-close { 44 | background-color: #3f3f3f; 45 | color: white; 46 | border: none; 47 | } 48 | 49 | .dark-theme .input-field { 50 | color: white; 51 | } 52 | 53 | .dark-theme #credits, .dark-theme .ui-widget-content a { 54 | color: white; 55 | } 56 | -------------------------------------------------------------------------------- /templates/records/sierrakomodo/medical.txt: -------------------------------------------------------------------------------- 1 | [b]DO NOT XYZ (Prosthetics, borgification, resuscitation, etc)[/b] 2 | 3 | [b]Physical Status[/b]: Simple note on results from latest physical 4 | [b]Mental Status[/b]: Simple note on results from latest psych eval 5 | 6 | [b]Current Prescriptions[/b]: 7 | - Medication. Dosage. Date Prescribed - End Date. Prescribing Doctor. [i](Notes)[/i] 8 | 9 | [b]Previous Prescriptions[/b]: 10 | - Medication. Dosage. Date Prescribed - Date Ended. Prescribing Doctor. [i](Notes)[/i] 11 | 12 | [b]Next of Kin[/b]: 13 | - Name. Relation. [i](Notes)[/i] 14 | 15 | [b]Medical History[/b]: 16 | - Notes regarding dated medical procedure, surgery, physicals, checkups, diagnosis, medical leave, prescription start/stop dates, etc 17 | - YYYY - Procedure/Surgery/Physical/etc. Facility/Location. Doctor. Summary of results. 18 | 19 | [b]Medical Notes[/b]: 20 | - Summarized notes of non-dated information - Allergens, current illnesses, disabilities, etc 21 | 22 | [b]Psychiatric History[/b]: 23 | - Notes regarding dated psychiatric evaluations, diagnosis, prescription start/stop dates, etc 24 | - YYYY - Procedure/Surgery/Physical/etc. Facility/Location. Doctor. Summary of results. 25 | 26 | [b]Psychiatric Notes[/b]: 27 | - Summarized notes of non-dated information - Mental illnesses, disabilities, risks of stress-induced issues, etc 28 | 29 | [b]Post-Mortem Instructions[/b]: 30 | - What to do on death. 31 | -------------------------------------------------------------------------------- /templates/security/hot_sheet.txt: -------------------------------------------------------------------------------- 1 | [center][hr][small][i]LEO/S - LAW ENFORCEMENT USE ONLY 2 | NOT FOR PUBLIC DISSEMINATION[/i][/small][hr][solcrest][b] 3 | SEV Torch Security Department 4 | [large]Hot Sheet[/large][/b] 5 | [i]Revision [date] - [time][/i] 6 | [hr][small][b]Persons Requiring Special Attention:[/b][/small][table] 7 | [row][cell][b]Name[/b][cell][b]Rank[/b][cell][b]Job[/b][cell][b]Details[/b] 8 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 9 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 10 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 11 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 12 | [row][cell][field][cell][b][field][/b][cell][field][cell][field] 13 | [/table][hr][small][b]Areas Requiring Special Attention:[/b][/small][table] 14 | [row][cell][b]Location[/b][cell][b]Reason[/b] 15 | [row][cell][field][cell][field] 16 | [row][cell][field][cell][field] 17 | [row][cell][field][cell][field] 18 | [row][cell][field][cell][field] 19 | [row][cell][field][cell][field][/table][hr][small][b]Active Special Orders:[/b][/small][table] 20 | [row][cell][b]Unit(s)[/b][cell][b]Order[/b] 21 | [row][cell][field][cell][field] 22 | [row][cell][field][cell][field] 23 | [row][cell][field][cell][field] 24 | [row][cell][field][cell][field] 25 | [row][cell][field][cell][field][/table][hr][small][i]LEO/S - LAW ENFORCEMENT USE ONLY 26 | NOT FOR PUBLIC DISSEMINATION[/i][/small][hr][/center] -------------------------------------------------------------------------------- /templates/security/patrol_assignment.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][h1]Patrol Designations[/h1][i]Revision [date] - [time][/i] 2 | 3 | [table][row][cell][b]Callsign[/b][cell][b]Rank[/b][cell][b]Name[/b][cell][b]Assignment[/b] 4 | [row][cell][b]SECCOM[/b][cell][field][cell][field][cell]Bridge Duty 5 | [row][cell][b]BRIG[/b][cell][field][cell][field][cell]Patrol Overwatch 6 | [row][cell][b]FORS[/b][cell][field][cell][field][cell]Forensics 7 | [row][cell][b]P1[/b][cell][field][cell][field][cell]Bridge Deck 8 | [row][cell][b]P2[/b][cell][field][cell][field][cell]Operations Deck 9 | [row][cell][b]P3[/b][cell][field][cell][field][cell]Habitation Deck 10 | [row][cell][b]P4[/b][cell][field][cell][field][cell]Hangar Deck 11 | [/table] 12 | [hr][h3]Emergency Pairings[/h3][small][i]For code blue and above[/i][/small] 13 | [table][row][cell][b]Callsign[/b][cell][b]Composition[/b][cell][b]Rally Point[/b] 14 | [row][cell][b]QRF (Quick Response Force)[/b][cell]BRIG, FORS[cell]Brig Lobby 15 | [row][cell][b]ODDS (Even Patrols)[/b][cell]P1, P3[cell]Deck 1 Checkpoint 16 | [row][cell][b]EVENS (Odd Patrols)[/b][cell]P2, P4[cell]Deck 3 Checkpoint 17 | [/table] 18 | [hr][h3]Initial orders[/h3][small][i]For patrol commencement[/i][/small] 19 | Complete a full patrol sweep of your deck, searching through maintenance at your discretion. Maintain your position within your assigned decks and only respond to calls on other decks when patrol overwatch tells you to. [b]You are responsible for the overseeing of your own assigned decks.[/b] 20 | [sign] 21 | [/center] -------------------------------------------------------------------------------- /templates/records/security.txt: -------------------------------------------------------------------------------- 1 | [b]HUMAN IDENTIFYING FEATURES[/b] (Adjust for non-humans, color/patterning, chassis make/model, etc.) 2 | [b]HEIGHT:[/b] XXX cm (X' X") 3 | [b]WEIGHT:[/b] XX kg (XXX lbs.) 4 | [b]SKIN COLOR:[/b] X 5 | [b]HAIR COLOR:[/b] X 6 | [b]EYE COLOR:[/b] X 7 | [b]VISIBLE PROSTHESES:[/b] None 8 | 9 | [b]CITIZENSHIP STATUS:[/b] Natural-born citizen 10 | [b]PLACE OF BIRTH:[/b] City, Planet Region (System) 11 | [b]PLACE OF RESIDENCE:[/b] None Listed 12 | 13 | [b]POLITICAL AFFILIATION:[/b] X 14 | [b]RELIGION:[/b] X 15 | 16 | [b]SMALL ARMS QUALIFICATION:[/b] Yes (exp. 2567-01-01) 17 | [hr] 18 | [b]CRIMINAL RECORD:[/b] 19 | No criminal history found. 20 | 21 | [b]ARREST RECORD:[/b] 22 | No arrest history found. 23 | 24 | [b]THREAT ASSESSMENT:[/b] 25 | Hostile/Covert Actions Against the Sol Central Government 26 | Threat Level: Very Low 27 | Agent Notes: [i]A few sentences about how likely it is that your character is a shitter.[/i] 28 | 29 | Hostile/Covert Actions Against the Crew 30 | Threat Level: Very Low 31 | Agent Notes: [i]See above.[/i] 32 | 33 | [i]The point of contact for this matter will be Supervisory Agent First Last at the SFP Territory Support Division headquarters in Alpha Centauri.[/i] 34 | 35 | [b]FROM:[/b] Supervisory Agent First Last, SFP-TSD Alpha Centauri 36 | [b]DATE:[/b] YYYY-MM-DD 37 | 38 | [hr] 39 | [b]EMERGENCY CONTACT[/b] 40 | [b]NAME:[/b] Last, First M. 41 | [b]RELATION:[/b] Sibling/Parent/Acquaintenace/Dogsitter 42 | [b]ADDRESS:[/b] D-1140.104, City, PLANET Region (SYSTEM) (Just make up a fancy sci-fi address) 43 | [b]MAIL:[/b] whatever@scifi.email -------------------------------------------------------------------------------- /templates/engineering/compliance.txt: -------------------------------------------------------------------------------- 1 | [small][center] [solcrest][/center][/small] 2 | [b][h1] Engineering Certificate of Compliance[/h1][/b] 3 | [hr] 4 | [u][date][/u] 5 | 6 | This is a certificate of compliance for the [field] department/area/deck/ of the S.E.V. Torch, completed by a competent Electrical Engineer of the S.E.V. Torch Engineering Department. 7 | 8 | [b]Department inspected: [/b] [field] 9 | 10 | [b]Department essentials checked:[/b] 11 | [i][small]This field is for any essential equipment inside the department/area, this includes APC’s, Fire Alarms, Intercoms and anything else deemed essential.[/small][/i] 12 | [field] 13 | [br]Notes: 14 | [field] 15 | 16 | [b]Department machinery checked:[/b] 17 | [i][small]This field is for any machinery used by the department/area, such as an autolathe.[/small][/i] 18 | [field] 19 | [br]Notes: 20 | [field] 21 | 22 | [b]Department modular computers checked: [/b] 23 | [i][small]This field is for any modular computers in the department/area, this does not include any department specific computers[/small][/i] 24 | [field] 25 | [br]Notes: 26 | [field] 27 | 28 | [b]Department vendors checked: [/b] 29 | [i][small] This field is for anything in the department/area that vends items.[/small][/i] 30 | [field] 31 | [br] Notes: 32 | [field] 33 | 34 | [hr] 35 | Inspection conducted by[small] see below[/small] with the time of completion being [field]. 36 | [i][small] Your Signature Here:[/small][/i] [field] 37 | [i][small] Your Rank Here:[/small][/i] [field] 38 | [i][small] Your Rating Here:[/small][/i] [field] 39 | 40 | [hr] 41 | [large] Inspection Result:[/large] [field] -------------------------------------------------------------------------------- /templates/security/patrol_assignment2.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][h1]Patrol Designations[/h1][i]Revision [date] - [time][/i] 2 | 3 | [table][row][cell][b]Callsign[/b][cell][b]Rank[/b][cell][b]Name[/b][cell][b]Assignment[/b] 4 | [row][cell][b]SECCOM[/b][cell][field][cell][field][cell]Bridge Duty 5 | [row][cell][b]BRIG[/b][cell][field][cell][field][cell]Patrol Overwatch 6 | [row][cell][b]FORS[/b][cell][field][cell][field][cell]Forensics 7 | [row][cell][b]P1[/b][cell][field][cell][field][cell]Bridge Deck through Engineering Deck 8 | [row][cell][b]P2[/b][cell][field][cell][field][cell]Habitation Deck through Hangar Deck 9 | [row][cell][b]P3[/b][cell][field][cell][field][cell]Bridge Deck through Engineering Deck 10 | [row][cell][b]P4[/b][cell][field][cell][field][cell]Habitation Deck through Hangar Deck 11 | [/table] 12 | [hr][h3]Emergency Pairings[/h3][small][i]For code blue and above[/i][/small] 13 | [table][row][cell][b]Callsign[/b][cell][b]Composition[/b][cell][b]Rendezvous[/b] 14 | [row][cell][b]QRF (Quick Response Force)[/b][cell]BRIG, FORS[cell]Brig Lobby 15 | [row][cell][b]ODDS[/b][cell]P1, P3[cell]D1 outside Medical 16 | [row][cell][b]EVENS[/b][cell]P2, P4[cell]D3 Stairwell 17 | [/table] 18 | [hr][h3]Initial orders[/h3][small][i]For patrol commencement[/i][/small][/center] 19 | [*]Completely gear up as expected per past procedure. Double-check your gear. 20 | [*]Complete a full patrol sweep of your deck, searching through maintenance at your discretion. 21 | [*]Maintain your position within your assigned decks and only respond to calls on other decks when patrol overwatch tells you to. 22 | [*]If another officer is requesting backup, respond to it. 23 | [*][b]You are responsible for the overseeing of your own assigned decks.[/b] -------------------------------------------------------------------------------- /style/solarized.css: -------------------------------------------------------------------------------- 1 | .solarized-theme { 2 | background-color: #05262e; 3 | color: #839496; 4 | } 5 | 6 | .solarized-theme #menu { 7 | background-color: #073642; 8 | border-color: #93a1a1; 9 | } 10 | 11 | .solarized-theme #template, .solarized-theme .ui-menu-item-wrapper, .solarized-theme select { 12 | background-color: #073642; 13 | color: #839496; 14 | } 15 | .solarized-theme .ui-menu-item-wrapper:hover { 16 | background-color: #0b4d5e; 17 | } 18 | 19 | .solarized-theme #input, .solarized-theme #output { 20 | background-color: #002b36; 21 | color: #839496; 22 | border-color: #93a1a1; 23 | box-shadow: -6px -6px 16px #1f1f1f inset; 24 | } 25 | 26 | .solarized-theme #menu > legend { 27 | background-color: #073642; 28 | color: #839496; 29 | } 30 | 31 | .solarized-theme .control, .solarized-theme .control:focus { 32 | background-color: #073642; 33 | color: #839496; 34 | } 35 | .solarized-theme .control:hover { 36 | background-color: #0b4d5e; 37 | } 38 | 39 | .solarized-theme .ui-dialog { 40 | background-color: #05262e; 41 | color: #839496; 42 | box-shadow: 3px 3px 8px black; 43 | } 44 | .solarized-theme .ui-dialog-titlebar, .solarized-theme .ui-dialog-titlebar-close { 45 | background-color: #073642; 46 | color: #839496; 47 | border: none; 48 | } 49 | 50 | .solarized-theme .input-field { 51 | color: #839496; 52 | } 53 | 54 | .solarized-theme #credits, .solarized-theme .ui-widget-content a { 55 | color: #839496; 56 | } 57 | 58 | .solarized-theme i { 59 | color: #586e75; 60 | } 61 | 62 | .solarized-theme b, .solarized-theme h1, .solarized-theme h2, .solarized-theme h3, .solarized-theme h4, .solarized-theme h5 { 63 | color: #93a1a1; 64 | } 65 | 66 | .solarized-theme .ui-state-highlight, .solarized-theme .ui-state-highlight b { 67 | color: #586e75; 68 | background-color: #b58900; 69 | border-color: #b58900; 70 | } -------------------------------------------------------------------------------- /templates/security/arrest_report.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest][h1]Arrest Report[/h1][field][/center] 2 | [i]Revision [date] - [time][/i] 3 | [b]Offense/Incident Type: [/b][field] 4 | [b]Location: [/b][field] 5 | [hr][h3]Arrestee Information[/h3] 6 | [small][i](B##-Brigged, ## time, H-Indefinite Hold, C-Court Martial, P-Parole/Probation, V-Verbal Warning) 7 | [table][row][cell][b]Rank[/b][cell][b]Name[/b][cell][b]Position[/b][cell][b]Charge(s)[/b][cell][b]Disposition[/b] 8 | [row][cell][b][field][/b][cell][field][cell][field][cell][field][cell][field] 9 | [/table][/i][/small][br][br][hr][h3]Personnel Involved in Incident[/h3] 10 | [b]Arresting Officer(s): [/b][field][br] 11 | [b]Other Personnel[/b] 12 | [small][i](V-Victim, S-Suspect, W-Witness, M-Missing, A-Arrested, RP-Reporting Person, D-Deceased)[/i][/small][br] 13 | [table][row][cell][b]Rank[/b][cell][b]Name[/b][cell][b]Position[/b][cell][b]Relation[/b] 14 | [row][cell][b][field][/b][cell][field][cell][field][cell][field] 15 | [row][cell][b][field][/b][cell][field][cell][field][cell][field] 16 | [row][cell][b][field][/b][cell][field][cell][field][cell][field] 17 | [row][cell][b][field][/b][cell][field][cell][field][cell][field] 18 | [row][cell][b][field][/b][cell][field][cell][field][cell][field] 19 | [/table][br][br][hr][h3]Booking Checklist[/h3] 20 | [b]Booking Officer: [/b][field][br] 21 | [table][row][cell][b]Escape Risk[/b][cell][field] 22 | [row][cell][b]Suicide Risk[/b][cell][field] 23 | [row][cell][b]Combative[/b][cell][field] 24 | [row][cell][b]Provided Required Medical Treatment[/b][cell][field] 25 | [row][cell][b]Warrant Presented[/b][cell][field] 26 | [row][cell][b]Advised of Rights[/b][cell][field] 27 | [row][cell][b]Prisoner Searched[/b][cell][field] 28 | [row][cell][b]Provided an Opportunity for Statement[/b][cell][field] 29 | [/table] 30 | [hr][small]BRIG OFFICER MUST STAMP OR SIGN THIS DOCUMENT 31 | ATTACH ALL RELEVANT DOCUMENTS TO THIS ARREST REPORT[/small] 32 | [hr] 33 | -------------------------------------------------------------------------------- /credits.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "title": "Development and Design", 4 | "columns": 1, 5 | "credits": [ 6 | { 7 | "_name": "Persona E", 8 | "fab fa-github": "https://github.com/Dibasic/", 9 | "fas fa-toolbox": "https://forums.baystation12.net/members/persona-e.4702/" 10 | }, 11 | { 12 | "_name": "Climax708", 13 | "fab fa-github": "https://github.com/soryy708/", 14 | "fas fa-toolbox": "https://forums.baystation12.net/members/climax708.7963/" 15 | } 16 | ] 17 | }, 18 | { 19 | "title": "Template Design and Writing", 20 | "columns": 3, 21 | "credits": [ 22 | "AlabasterTempest", 23 | "Atseuki", 24 | "Boznar", 25 | "Cakey", 26 | "Climax708", 27 | "CrimsonShrike", 28 | "DisreputableSquid", 29 | "dryerlint", 30 | "Eonoc", 31 | "Kyos", 32 | "Legodude9", 33 | "masterrbc", 34 | "Novus Luna", 35 | "Persona E", 36 | "Piccione", 37 | "Randall Hynes", 38 | "sabiram", 39 | "SierraKomodo", 40 | "ThatOneGuy", 41 | "YourDaddy117", 42 | "Za_Redman", 43 | "Lorwp" 44 | ] 45 | }, 46 | { 47 | "title": "Other Thanks", 48 | "columns": 1, 49 | "credits": [ 50 | "The many players and lore staff who have contributed to the Baystation12 setting and story", 51 | "The many players and developers who have contributed to Baystation12 on GitHub", 52 | "The many people who have contributed to the Baystation 12 Wiki", 53 | "The many developers of /tg/station, /vg/station, GoonStation and the original Space Station 13", 54 | "The past and present maintainers of BYOND" 55 | ] 56 | } 57 | ] -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/Dibasic/SS13PaperworkSimulator.svg?branch=master)](https://travis-ci.org/Dibasic/SS13PaperworkSimulator) 2 | [![codebeat badge](https://codebeat.co/badges/84dbf211-3be0-4d21-a76a-3b340dade910)](https://codebeat.co/projects/github-com-dibasic-ss13paperworksimulator-master) 3 | [![License: CC BY-NC-SA 3.0](https://img.shields.io/badge/license-CC%20BY--NC--SA%203.0-blue.svg)](https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode) 4 | 5 | # SS13PaperworkSimulator 6 | Renders SS13 (Baystation12) pencode into HTML. 7 | 8 | It aims to replicate the same process the game uses to render pencode, so whatever you see in the output will look similar to the same pencode rendered on paper ingame. 9 | 10 | Hosted on GitHub Pages at [ps.ss13.net](http://ps.ss13.net/) 11 | Baystation12 Forums thread: [Paperwork Simulator 2307](https://forums.baystation12.net/threads/paperwork-simulator-2307.6877/) 12 | Baystation12 Wiki resources: [Guide to Paperwork](https://wiki.baystation12.net/Guide_to_Paperwork), [Example Paperwork](https://wiki.baystation12.net/Example_Paperwork) 13 | 14 | # Contribution 15 | Please feel free to submit your own work if you are willing to have it available under CC BY-NC-SA 3.0. 16 | 17 | To add a template, place it in a `.txt` file in a directory inside `templates/`, then add its name and path to `templates/index.json`. Submit via pull request and check here for requested changes until it is merged. When submitting your work, you may add your name or ckey to `credits.json`. 18 | 19 | # Attribution 20 | All included images have been sourced from the Baystation12/Baystation12 repository and are attributed to their respective original authors. All included templates, whether sourced from the Baystation12 Wiki or committed by or on behalf of their original authors, are attributed to their respective original authors. Any characters, settings, and events referred to as part of the Baystation12 story and lore are attributed to their respective original authors. 21 | -------------------------------------------------------------------------------- /script/jquery-ui-1.12.1.custom/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright jQuery Foundation and other contributors, https://jquery.org/ 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals. For exact contribution history, see the revision history 5 | available at https://github.com/jquery/jquery-ui 6 | 7 | The following license applies to all parts of this software except as 8 | documented below: 9 | 10 | ==== 11 | 12 | Permission is hereby granted, free of charge, to any person obtaining 13 | a copy of this software and associated documentation files (the 14 | "Software"), to deal in the Software without restriction, including 15 | without limitation the rights to use, copy, modify, merge, publish, 16 | distribute, sublicense, and/or sell copies of the Software, and to 17 | permit persons to whom the Software is furnished to do so, subject to 18 | the following conditions: 19 | 20 | The above copyright notice and this permission notice shall be 21 | included in all copies or substantial portions of the Software. 22 | 23 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 27 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 28 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 29 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 | 31 | ==== 32 | 33 | Copyright and related rights for sample code are waived via CC0. Sample 34 | code is defined as all source code contained within the demos directory. 35 | 36 | CC0: http://creativecommons.org/publicdomain/zero/1.0/ 37 | 38 | ==== 39 | 40 | All files located in the node_modules and external directories are 41 | externally maintained libraries used by this software which have their 42 | own licenses; we recommend you read them, as their terms may differ from 43 | the terms above. 44 | -------------------------------------------------------------------------------- /script/jquery-ui-1.12.1.custom/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-ui", 3 | "title": "jQuery UI", 4 | "description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.", 5 | "version": "1.12.1", 6 | "homepage": "http://jqueryui.com", 7 | "author": { 8 | "name": "jQuery Foundation and other contributors", 9 | "url": "https://github.com/jquery/jquery-ui/blob/1.12.1/AUTHORS.txt" 10 | }, 11 | "main": "ui/widget.js", 12 | "maintainers": [ 13 | { 14 | "name": "Scott González", 15 | "email": "scott.gonzalez@gmail.com", 16 | "url": "http://scottgonzalez.com" 17 | }, 18 | { 19 | "name": "Jörn Zaefferer", 20 | "email": "joern.zaefferer@gmail.com", 21 | "url": "http://bassistance.de" 22 | }, 23 | { 24 | "name": "Mike Sherov", 25 | "email": "mike.sherov@gmail.com", 26 | "url": "http://mike.sherov.com" 27 | }, 28 | { 29 | "name": "TJ VanToll", 30 | "email": "tj.vantoll@gmail.com", 31 | "url": "http://tjvantoll.com" 32 | }, 33 | { 34 | "name": "Felix Nagel", 35 | "email": "info@felixnagel.com", 36 | "url": "http://www.felixnagel.com" 37 | }, 38 | { 39 | "name": "Alex Schmitz", 40 | "email": "arschmitz@gmail.com", 41 | "url": "https://github.com/arschmitz" 42 | } 43 | ], 44 | "repository": { 45 | "type": "git", 46 | "url": "git://github.com/jquery/jquery-ui.git" 47 | }, 48 | "bugs": "https://bugs.jqueryui.com/", 49 | "license": "MIT", 50 | "scripts": { 51 | "test": "grunt" 52 | }, 53 | "dependencies": {}, 54 | "devDependencies": { 55 | "commitplease": "2.3.0", 56 | "grunt": "0.4.5", 57 | "grunt-bowercopy": "1.2.4", 58 | "grunt-cli": "0.1.13", 59 | "grunt-compare-size": "0.4.0", 60 | "grunt-contrib-concat": "0.5.1", 61 | "grunt-contrib-csslint": "0.5.0", 62 | "grunt-contrib-jshint": "0.12.0", 63 | "grunt-contrib-qunit": "1.0.1", 64 | "grunt-contrib-requirejs": "0.4.4", 65 | "grunt-contrib-uglify": "0.11.1", 66 | "grunt-git-authors": "3.1.0", 67 | "grunt-html": "6.0.0", 68 | "grunt-jscs": "2.1.0", 69 | "load-grunt-tasks": "3.4.0", 70 | "rimraf": "2.5.1", 71 | "testswarm": "1.1.0" 72 | }, 73 | "keywords": [] 74 | } 75 | -------------------------------------------------------------------------------- /templates/research/xenoflora.txt: -------------------------------------------------------------------------------- 1 | [center][logo] 2 | [b][large]Xenoflora Genetics Report[/large][/b][/center][hr] 3 | 4 | The following table contains the Genetic Identifier and purpose of the Xenofloral genes as identified by [u][field][/u] in the Xenobotanical Labratory aboard the SEV Torch on [u][date][/u]. 5 | 6 | [table][cell][b]Genetic Identifier[/b][cell]Genetic Sequence[row] 7 | [cell][b][field] [/b][cell][small][b]Hardiness:[/b] Endurance. Tolerance to toxins, pests, and/or weeds[/small][row][cell]-[b][field] [/b][cell][small][b]Vigour:[/b] How long the plant takes to mature and produce fruit. How much fruit it produces. Whether it can spread out of its tray(vine).[/small][row][cell]-[b][field] [/b][cell][small][b]Biochemistry:[/b] Which reagents the fruit contains; which gases the plant generates.[/small][row][cell][b]-[field] [/b][cell][small][b]Fruit:[/b] Whether the fruit is juicy and will splatter when thrown; whether the plant has stinging spines and will inject its reagents into anyone coming in contact with it.[/small][row][cell]-[b][field] [/b][cell][small][b]Diet:[/b] Whether the plant consumes gases in its environment; whether the plant is carnivorous (eats pests) or eats tray weeds; how much water and fertilizer it consumes.[/small][row][cell]-[b][field] [/b][cell][small][b]Metabolism:[/b] Whether the plant requires water or fertilizer. Whether it alters the ambient temperature.[/small][row][cell]-[b][field] [/b][cell][small][b]Environment:[/b] Plant's preferred temperature and light levels, and how much tolerance it has for changes in light level.[/small][row][cell]-[b][field] [/b][cell][small][b]Atmosphere:[/b] The plant's tolerance for changes in temperature and pressure away from its preferred levels.[/small][row][cell]-[b][field] [/b][cell][small][b]Output:[/b] Whether the plant produces electrical power or bioluminescent light.[/small][row][cell]-[b][field] [/b][cell][small][b]Appearance:[/b] The "shape" of the plant. Also affects whether it can be harvested only once or multiple times.[/small][row][cell]-[b][field] [/b][cell][small][b]Pigment:[/b] The color of the plant and its fruit; the color of any bioluminescence.[/small][row][cell][b]-[field] [/b][cell][small][b]Special:[/b] The ability to teleport the thrower or target when thrown.[/small][row][/table] -------------------------------------------------------------------------------- /script/templates.js: -------------------------------------------------------------------------------- 1 | /* exported loadFile */ 2 | /* global run */ 3 | 'use strict'; 4 | 5 | $(document).ready(function() { 6 | $('#template').css('display', 'none'); 7 | $('#load').click(function() { 8 | if ($('#template').css('display') === 'none') { 9 | $('#template').css('display', ''); 10 | } else { 11 | closeTemplateMenu(); 12 | } 13 | }); 14 | $(document).keydown(function(e) { 15 | if (e.key === 'Escape') { 16 | closeTemplateMenu(); 17 | } 18 | }); 19 | $('#input').click(closeTemplateMenu); 20 | 21 | $.getJSON('./templates/index.json', null, function(data) { 22 | var html = constructHtml(data); 23 | $('#template').html(html); 24 | $('#template').menu({ autoOpen: false }); // should not be changed after initialization. 25 | $('.controlgroup').controlgroup('refresh'); 26 | 27 | function constructHtml(data) { 28 | var str = ''; 29 | for (var i = 0; i < Object.keys(data).length; ++i) { 30 | var key = Object.keys(data)[i]; 31 | var value = Object.values(data)[i]; 32 | str += '
  • '; 33 | if (jQuery.type(value) === 'string') { 34 | str += '
    ' + key + '
    '; 35 | 36 | } else if (jQuery.type(value) === 'object') { 37 | str += '
    ' + key + '
    '; 38 | 39 | } else { 40 | console.warn('Unexpected value type in templates/index.json:', jQuery.type(value)); 41 | } 42 | str += '
  • '; 43 | } 44 | return str; 45 | } 46 | }); 47 | }); 48 | 49 | function loadFile(filename) { 50 | var newHash = filename.substr(0, filename.indexOf('.txt')); 51 | $(location).attr('hash', newHash); 52 | 53 | $.get('./templates/' + filename, function(data) { 54 | $('#input').val(data); 55 | run(); 56 | }, 'text'); 57 | 58 | closeTemplateMenu(); 59 | } 60 | 61 | function closeTemplateMenu() { 62 | $('#template').css('display', 'none'); 63 | $('#template').menu('collapseAll'); 64 | } 65 | -------------------------------------------------------------------------------- /test/credits.py: -------------------------------------------------------------------------------- 1 | import colors, json, os 2 | 3 | # Make sure we're in the expected directory 4 | # Ubuntu and Windows act differently here 5 | if os.getcwd().upper().endswith('SS13PAPERWORKSIMULATOR'): 6 | os.chdir('test') 7 | 8 | DATA = {} 9 | 10 | with open('../credits.json') as json_data: 11 | DATA = json.load(json_data) 12 | 13 | def is_valid(obj): 14 | valid = True 15 | 16 | print('> Checking first section of credits, devs') 17 | 18 | valid = valid and check(DATA[0], 'credits[0]', dict) 19 | valid = valid and check(DATA[0]['title'], 'credits[0]["title"]', str) 20 | valid = valid and check(DATA[0]['columns'], 'credits[0]["columns"]', int) 21 | valid = valid and check(DATA[0]['credits'], 'credits[0]["credits"]', list) 22 | 23 | for credit in DATA[0]['credits']: 24 | valid = valid and check(credit, 'dev credit', dict, indents=2) 25 | is_valid = valid_credit(credit) 26 | if not is_valid: 27 | print(f'{colors.color("! ! ! ", fg="red")}dev credit is not properly formed: {credit["_name"]}') 28 | valid = valid and is_valid 29 | 30 | print('> Checking second section of credits, template contributors') 31 | 32 | valid = valid and check(DATA[1], 'credits[1]', dict) 33 | valid = valid and check(DATA[1]['title'], 'credits[1]["title"]', str) 34 | valid = valid and check(DATA[1]['columns'], 'credits[1]["columns"]', int) 35 | valid = valid and check(DATA[1]['credits'], 'credits[1]["credits"]', list) 36 | 37 | for credit in DATA[1]['credits']: 38 | valid = valid and check(credit, str(credit), str, indents=2) 39 | 40 | print('> Checking third section of credits, other') 41 | 42 | valid = valid and check(DATA[2], 'credits[2]', dict) 43 | valid = valid and check(DATA[2]['title'], 'credits[2]["title"]', str) 44 | valid = valid and check(DATA[2]['columns'], 'credits[2]["columns"]', int) 45 | valid = valid and check(DATA[2]['credits'], 'credits[2]["credits"]', list) 46 | 47 | for credit in DATA[2]['credits']: 48 | valid = valid and check(credit, f'credit "{str(credit)[:24]}..."', str, indents=2) 49 | return valid 50 | 51 | def valid_credit(obj): 52 | valid = True 53 | valid = valid and check(obj['_name'], '_name', str, indents=2) 54 | for key in [key for key in obj.keys() if not key.startswith('_')]: 55 | valid = valid and check(obj[key], f'{obj["_name"]}["{key}""]', str, indents=3) 56 | return valid 57 | 58 | def check(obj, name, t, indents = 1): 59 | check = isinstance(obj, t) 60 | if not check: 61 | print(f'{colors.color("! "*indents, fg="red")}{name} exists and is type {t.__name__}: {check}') 62 | return check 63 | 64 | exit_code = 0 65 | 66 | if not is_valid(DATA): 67 | exit_code = 1 68 | 69 | exit(exit_code) -------------------------------------------------------------------------------- /templates/command/sitrep.txt: -------------------------------------------------------------------------------- 1 | [center][solcrest] 2 | [h1]SCGEC SITREP[/h1][/center][hr] 3 | [b]SITREP no.[/b][field] 4 | [b]DATE:[/b] [date] 5 | [b]TIME:[/b] [time] 6 | 7 | [b]REMOTE ASSET:[/b] EXPEDITIONARY COMMAND 8 | [b]ONSITE ASSET:[/b] SEV Torch 9 | 10 | [hr] 11 | [b]1.0 SITUATION TO DATE[/b] 12 | [field] 13 | 14 | [b]2.0 ACTIONS TO DATE[/b] 15 | [field] 16 | 17 | [b]3.0 ACTIONS TO BE COMPLETED[/b] 18 | [field] 19 | 20 | [b]4.0 ISSUES OUTSTANDING[/b] 21 | [field] 22 | 23 | [b]5.0 ESCALATION ACTIONS/DETAILS REQUIRED[/b] 24 | [field] 25 | 26 | [hr] 27 | [grid][row][cell][b]FROM:[/b][cell][field] 28 | [row][cell][b]RANK:[/b][cell][field] 29 | [row][cell][b]ROLE: [/b][cell][field] 30 | [row][cell][b]SIGN:[/b][cell][field][/grid] 31 | [grid][row][cell][b]VIA:[/b][cell][field] 32 | [row][cell][b]RANK:[/b][cell][field] 33 | [row][cell][b]ROLE: [/b][cell][field] 34 | [row][cell][b]SIGN:[/b][cell][field][/grid] 35 | [hr] 36 | 37 | [small][i]Information in a SITREP should be factual and largely without interpretation and conjecture. Information in a SITREP should cover the period between the last SITREP and the next SITREP. A SITREP should be brief and not a narrative (reading time 3-5 minutes); a report should be used for the provision of more detailed information. A SITREP should be specific for a given functional area and not present information that is outside the specific functional area. It is acceptable for a SITREP to be issued that states no change since previous SITREP, in which case the recipient should be directed to see the previous SITREP for information. A photograph or other graphic can be part of a SITREP; ensure date and time are present on the graphic and there is a reference between the graphic and the SITREP. A SITREP and an Incident Action Plan (IAP) are not interchangeable. The first part of an IAP, the Situation, is likely to contain much of the content in a SITREP assuming their time period and functional area are the same. Each electronically produced SITREP should be saved as a separate document and saved to the same directory or archive for transmission.[/i][/small] 38 | 39 | [small][i]Only a commissioned Expeditionary Corps or Fleet line officer, an acting line officer, or the resident officer in charge of the relevant command ("ONSITE ASSET") may authorize this SITREP. This SITREP is authorized if it is signed or stamped by an approving officer ("FROM") who may authorize it or if its transmission has been requested by an authorized officer of the recipient ("REMOTE ASSET") and it is signed or stamped by the approving officer. This SITREP is void unless authorized. By authorizing the transmission of this SITREP, the approving officer and preparing officer ("VIA") both verify its contents are true and correct to the best of their knowledge, and that no relevant detail has been knowingly and purposely omitted.[/i][/small] -------------------------------------------------------------------------------- /templates/medical/blood_donation.txt: -------------------------------------------------------------------------------- 1 | [center][b]Blood Donation Informed Consent Form[/b][/center] 2 | [hr] 3 | Have you donated blood before? [field] [small](yes/no)[/small][br] 4 | [hr] 5 | [u]For Repeat Donors[/u][br] 6 | Did you encounter any problems in your last donation? [field] 7 | [small](No problems / fainting / bruise / difficulties finding vein / other)[/small][br] 8 | [hr] 9 | Blood type: [field][br] 10 | Date of Birth: [field] Sex: [field] Height: [field] Weight: [field][i]kg[/i][br] 11 | If more than 60 years old, do you have medical certificate? [field] [small](yes/no)[/small][br] 12 | Occupation: [field][br] 13 | Name: [i]Mr. / Ms. / Mrs.[/i] [field] Signature: [field][br] 14 | [hr] 15 | [hr] 16 | [center][b]For your own safety and the safety of the patient who will receive your blood, please answer the following questions, if applicable, to the best of your knowledge:[/b][/center] 17 | [hr] 18 | Category 1: [u]Obstetric History[small](if applicable)[/small][/u][br] 19 | 1. Are you now or do you plan to become pregnant? [field][br] 20 | 2. Do you breastfeed? [field][br] 21 | 3. Have you given birth or miscarried in the last 6 months? [field][br] 22 | [hr] 23 | [u]Category 2[/u] 24 | 4. Have you had diarrhea in the last 7 days? [field][br] 25 | 5. Have you undergone any surgery in the last 6 months? [field][br] 26 | 6. Do you drink alcohol? [field] If so, how many drinks do you have in a typical week? [field][br] 27 | 7. Do you have any history of drug addiction or have you been imprisoned in the last 3 years? [field][br] 28 | 8. Have you had a blood transfusion in the past 12 months? [field][br] 29 | [u]Category 3[/u] 30 | 9. Are you menstruating? [small](if applicable)[/small] [field][br] 31 | 10. Do you feel fit and well rested? [field][br] 32 | 11. What medication have you taken in the last 7 days? [field][br] 33 | 12. Do you have any history or family history of hepatitis? [field][br] 34 | 13. Do you have asthma, epilepsy, chronic skin disease, chronic cough, tuberculosis, allergies, high blood pressure, heart/kidney/thyroid disease, cancer, any bleeding disorder, or any communicable disease? [small](please list which, if any, apply)[/small] [field][br] 35 | 14. Have you had any body piercing, any tattoo applied or removed, or any acupuncture in the last 12 months? [field][br] 36 | 15. Have you had any vaccinations in the last 2 months? [field][br] 37 | 16. Other notes or issues: [field][br] 38 | [hr] 39 | [small]I certify that I have answered the above questions truthfully and that, to the best of my knowledge, my blood is safe for donation. 40 | I have been informed that my blood will be tested for syphilis, hepatitis B and C, HIV, and other bloodborne illnesses. 41 | I consent to donate blood without expecting any type of remuneration. 42 | I accept that the blood I donate may be given to any patient or used for research purposes as deemed suitable. 43 | I agree that the staff and technicians involved in my donations are not liable for any untoward effects that may occur after my donation. 44 | [/small] 45 | Donor signature: [field][br] 46 | Doctor/Staff signature: [field][br] 47 | -------------------------------------------------------------------------------- /script/settings.js: -------------------------------------------------------------------------------- 1 | /* global checkFieldCount */ 2 | 'use strict'; 3 | 4 | $(function() { 5 | $("#settings-dialog").dialog({ 6 | autoOpen: false 7 | }); 8 | 9 | $('#settings-btn').click(function() { 10 | $("#settings-dialog").dialog('open'); 11 | }); 12 | 13 | $('#pen-checkbox').click(updateFields); 14 | $('#filled-checkbox').click(updateFields); 15 | 16 | $('#pen-style-select option').click(updateFonts); 17 | $('#pen-color-select option').click(updateFonts); 18 | 19 | $('#theme-select option').click(function(e) { 20 | var target = $(e.target); 21 | var targetSelect = target.parent(); 22 | 23 | $('.controlgroup .control').css('-webkit-transition', 'none'); 24 | $('.controlgroup .control').css('-moz-transition', 'none'); 25 | $('.controlgroup .control').css('-ms-transition', 'none'); 26 | $('.controlgroup .control').css('-o-transition', 'none'); 27 | $('.controlgroup .control').css('transition', 'none'); 28 | 29 | for (var i = 0; i < $('#theme-select option').length; ++i) { 30 | var option = $('#theme-select option')[i]; 31 | $('body').removeClass($(option).val()); 32 | } 33 | $('body').addClass(targetSelect.val()); 34 | 35 | setTimeout(function() { 36 | $('.controlgroup .control').css('-webkit-transition', ''); 37 | $('.controlgroup .control').css('-moz-transition', ''); 38 | $('.controlgroup .control').css('-ms-transition', ''); 39 | $('.controlgroup .control').css('-o-transition', ''); 40 | $('.controlgroup .control').css('transition', ''); 41 | }, 300); 42 | 43 | // Update fonts the easy way - simulate selecting the current color 44 | $('#pen-color-select option:selected').click(); 45 | }); 46 | }); 47 | 48 | function updateFields() { 49 | var innerHtml = ''; 50 | if ($('#filled-checkbox').is(':checked')) { 51 | innerHtml += 'Lorem ipsum dolor sit amet'; 52 | } 53 | if ($('#pen-checkbox').is(':checked')) { 54 | var html = 'write'; 55 | innerHtml += html; 56 | $('.output-end').html(html); 57 | $('.write-prompt').tooltip(); 58 | } else { 59 | $('.output-end').html(''); 60 | } 61 | $('.paper_field').html(innerHtml); 62 | 63 | checkFieldCount(); 64 | } 65 | 66 | function updateFonts(e) { 67 | var target = $(e.target); // The clicked