Enterprise Resource Planning Tweaks (#5811)

## About The Pull Request

- Readd "Yes - Sub" for NC pref because it got deleted
- Add character gender and attraction to examine text and TGUI box
- Add a separate free use pref, displayed alongside regular ERP pref in
relevant places
## Why It's Good For The Game

Requested by @Rykka-Stormheart 

## Proof Of Testing
<details>
<summary>Screenshots/Videos</summary>

<img width="317" height="63" alt="image"
src="https://github.com/user-attachments/assets/8896b27f-427e-4027-8f4a-10a1412bad41"
/>

</details>

## Changelog
🆑
add: Free use is now a checkbox pref instead of an option in ERP Pref
add: Added character gender and attraction to examine text and popout
fix: Re-added Yes - Sub to NC pref
/🆑
This commit is contained in:
Roxy
2026-06-21 04:14:10 +02:00
committed by GitHub
parent 750033aad0
commit 7412614f66
7 changed files with 69 additions and 4 deletions
+5 -1
View File
@@ -327,9 +327,13 @@
if(client)
var/erp_status_pref = client.prefs.read_preference(/datum/preference/choiced/erp_status)
var/free_use_pref = client.prefs.read_preference(/datum/preference/toggle/erp_free_use)
if(erp_status_pref && !CONFIG_GET(flag/disable_erp_preferences))
. += EXAMINE_SECTION_BREAK
. += span_info("ERP Status: [span_revenboldnotice(erp_status_pref)]")
. += span_info("ERP Status: [span_revenboldnotice(erp_status_pref)][free_use_pref ? "[span_revenboldnotice(" - Free Use")]" : ""]")
var/line = get_gender_attraction_string(client.prefs.read_preference(/datum/preference/choiced/display_gender), client.prefs.read_preference(/datum/preference/choiced/attraction))
if(line)
. += span_info(line)
// SKYRAT EDIT END
SEND_SIGNAL(src, COMSIG_ATOM_EXAMINE, user, .)