Skip to content

TDF Contraband Permit Console - #454

Open
TheRealMasterChief117 wants to merge 31 commits into
Triad-Sector:mainfrom
TheRealMasterChief117:permit-console
Open

TDF Contraband Permit Console#454
TheRealMasterChief117 wants to merge 31 commits into
Triad-Sector:mainfrom
TheRealMasterChief117:permit-console

Conversation

@TheRealMasterChief117

@TheRealMasterChief117 TheRealMasterChief117 commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

About the PR

Adds the contraband permit manager, the long awaited feature that allows for persistent permits and an easy way to manage them for TDF, increasing merc-TDF interaction!

You print out a chip from the console, which allows you to scan a valid permittable contraband item. Then, the permit owner scans their identity on the card by interacting with it. From there, you insert it into the console, go into the grant permit tab. (Only the Chief Enforcer can grant permits!) and enter in a valid reason. then press the grant button.

It also allows you to revoke permits remotely. When a permit is granted or revoked, the permit owner will receive a PDA message.

Extra

Should be mapped to Auric in reception, briefing, and the CE's office
SOP entry should be added too
Do extensive testoing

Media

image

How to test

Print a chip, spawn in an entity with contraband permittable (auth disruptor or something), scan it, then scan your player. Give your character the ContrabandPermitGranterComponent so they can grant in permits. You need PTL access or above to revoke permits.

Test if it works with ship saving for things that delete (TDF gear)

Technical details

Added the HumanoidViewer system, which spawns in a clone of the player's character in a paused map, for things like photographs. The console system uses it to get a picture of the player's character without being a live feed of their sprite. This view is also globally PVS, so clients can see the appearance of the view mobs at ALL times. Checks are in place so that this viewer mob is not recreated when a player respawns with the same character.

Items with valid permits also have global PVS, so that you can view them on the console. I am unsure on how performant/correct this implementation of networking the console this way, however. Would like some extra eyes on that.

Requirements

  • I have read relevant guidelines/documentation to this PR found on our devwiki.
  • I have added media to this PR or it does not require an ingame showcase.
  • I can confirm this PR contains either no AI-generated content, or AI-generated content that meets our guidelines.

Changelog
🆑

  • add: Added the TDF contraband permit console, used for granting permits to Triad sector citizens. It prints out permit chips. From there, you scan the item then the permit owner will scan themselves with the chip, which allows you to insert it into the console to grant it. It also allows you revoke permits remotely. Contraband permits will persist on ship save.

@Triad-Sector Triad-Sector changed the title Permit console Permit Console Aug 2, 2026
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

RSI Diff Bot; head commit 1f16df8 merging into 1be71d6
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_Triad/Objects/Misc/permit_chip.rsi

State Old New Status
icon Added
inhand-left Added
inhand-right Added

Resources/Textures/_Triad/Structure/Machines/computers.rsi

State Old New Status
permits Added

Edit: diff updated after 1f16df8

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@TheRealMasterChief117 TheRealMasterChief117 changed the title Permit Console TDF Contraband Permit Console Aug 2, 2026
@TheRealMasterChief117

Copy link
Copy Markdown
Collaborator Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant