├── .codebeatignore ├── .github ├── CODEOWNERS └── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── template-request.md ├── .gitignore ├── .jshintignore ├── .jshintrc ├── .travis.yml ├── CNAME ├── LICENSE ├── README.md ├── credits.json ├── favicon.png ├── img ├── bluentlogo.png ├── daislogo.png ├── eclogo.png ├── fleetlogo.png ├── ntlogo.png ├── sfplogo.png ├── sollogo.png ├── terralogo.png ├── torchltd.png ├── uscmlogo.png ├── wylogo.png └── xynlogo.png ├── index.html ├── package.json ├── script ├── credits.js ├── jquery-ui-1.12.1.custom │ ├── AUTHORS.txt │ ├── LICENSE.txt │ ├── external │ │ └── jquery │ │ │ └── jquery.js │ ├── 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 │ ├── jquery-ui.css │ ├── jquery-ui.js │ ├── jquery-ui.min.css │ ├── jquery-ui.min.js │ ├── jquery-ui.structure.css │ ├── jquery-ui.structure.min.css │ ├── jquery-ui.theme.css │ ├── jquery-ui.theme.min.css │ └── package.json ├── pen.js ├── settings.js └── templates.js ├── style ├── dark.css ├── main.css └── solarized.css ├── templates ├── admin │ ├── excom_autoreply.txt │ └── exo_autoreply.txt ├── cm │ ├── commandfax.txt │ └── companyfax.txt ├── command │ ├── access_mod.txt │ ├── arrival.txt │ ├── crew_transfer.txt │ ├── department_audit.txt │ ├── exo │ │ ├── complaint_exo.txt │ │ ├── complaint_nexo.txt │ │ ├── memo.txt │ │ ├── memo_ext.txt │ │ ├── pod.txt │ │ ├── sales.txt │ │ ├── termination.txt │ │ ├── test_subject.txt │ │ ├── test_subject_no.txt │ │ └── visa.txt │ ├── incident.txt │ ├── sitrep.txt │ ├── transmission.txt │ └── visa.txt ├── engineering │ └── compliance.txt ├── exploration │ ├── away_manifest.txt │ ├── exoplanet.txt │ ├── fauna.txt │ └── uf301a_preflight.txt ├── general │ ├── cover.txt │ └── cover_end.txt ├── index.json ├── instructions.txt ├── medical │ ├── autopsy.txt │ ├── autopsy2.txt │ ├── blood_donation.txt │ ├── cyborgification.txt │ ├── discharge.txt │ └── prescription.txt ├── records │ ├── antag.txt │ ├── employment_fleet.txt │ ├── medical.txt │ ├── public.txt │ ├── security.txt │ └── sierrakomodo │ │ ├── employment_contractor.txt │ │ ├── employment_military.txt │ │ ├── medical.txt │ │ ├── public_contractor.txt │ │ ├── public_military.txt │ │ ├── security_contractor.txt │ │ └── security_military.txt ├── research │ ├── anomaly.txt │ └── xenoflora.txt ├── security │ ├── armory.txt │ ├── arrest_report.txt │ ├── hot_sheet.txt │ ├── incident_report.txt │ ├── investigation.txt │ ├── patrol_assignment.txt │ ├── patrol_assignment2.txt │ ├── personnel_watchlist.txt │ ├── personnel_watchlist2.txt │ ├── secarm_inventory.txt │ └── shift_report.txt ├── service │ └── kosher.txt └── supply │ ├── docked_vessel.txt │ └── uf102b_requisition_special.txt └── test ├── .requirements.txt ├── .test.py ├── credits.py ├── img.py ├── meta.py ├── pencode.py └── templates.py /.codebeatignore: -------------------------------------------------------------------------------- 1 | script/jquery-ui-1.12.1.custom/** -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @Dibasic -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | script/jquery-ui-1.12.1.custom/** 2 | test/** 3 | node_modules/** -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser": true, 3 | "devel": true, 4 | "globalstrict": true, 5 | "jquery": true 6 | } -------------------------------------------------------------------------------- /.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 -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | ps.ss13.net -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [](https://travis-ci.org/Dibasic/SS13PaperworkSimulator) 2 | [](https://codebeat.co/projects/github-com-dibasic-ss13paperworksimulator-master) 3 | [](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 | -------------------------------------------------------------------------------- /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 | ] -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/favicon.png -------------------------------------------------------------------------------- /img/bluentlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/bluentlogo.png -------------------------------------------------------------------------------- /img/daislogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/daislogo.png -------------------------------------------------------------------------------- /img/eclogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/eclogo.png -------------------------------------------------------------------------------- /img/fleetlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/fleetlogo.png -------------------------------------------------------------------------------- /img/ntlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/ntlogo.png -------------------------------------------------------------------------------- /img/sfplogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/sfplogo.png -------------------------------------------------------------------------------- /img/sollogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/sollogo.png -------------------------------------------------------------------------------- /img/terralogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/terralogo.png -------------------------------------------------------------------------------- /img/torchltd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/torchltd.png -------------------------------------------------------------------------------- /img/uscmlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/uscmlogo.png -------------------------------------------------------------------------------- /img/wylogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/wylogo.png -------------------------------------------------------------------------------- /img/xynlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dibasic/SS13PaperworkSimulator/feb8cc82b0d3b737aeaeb155dd169a7e78c53541/img/xynlogo.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |