Fixes most tgui bugs (#16539)

* Fixes most tgui bugs

* the soul longs for oblivion

* skin fix

* hardsuit fix

* b

* the final fixes (for now)

* bb

* fix keys

* cl

* fuck off

* i'm alone i'm alone i'm alone

* the heart's whisper

* fffss

* je cherche la vérité tout en l'évitant

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-06-26 15:36:11 +02:00
committed by GitHub
parent c6d87cc68e
commit 025b6e66d5
50 changed files with 672 additions and 463 deletions
@@ -246,6 +246,12 @@
if("security")
if(!(edit_type & RECORD_SECURITY))
return FALSE
if("fingerprint")
if(!(edit_type & RECORD_SECURITY))
return FALSE
if("criminal")
if(!(edit_type & RECORD_SECURITY))
return FALSE
if("physical_status")
if(!((edit_type & RECORD_MEDICAL) || (edit_type & RECORD_GENERAL)))
return FALSE
@@ -255,6 +261,24 @@
if("medical")
if(!(edit_type & RECORD_MEDICAL))
return FALSE
if("diseases")
if(!(edit_type & RECORD_MEDICAL))
return FALSE
if("allergies")
if(!(edit_type & RECORD_MEDICAL))
return FALSE
if("blood_dna")
if(!(edit_type & RECORD_MEDICAL) || (edit_type & RECORD_SECURITY))
return FALSE
if("species")
if(!(edit_type & RECORD_MEDICAL) || (edit_type & RECORD_SECURITY))
return FALSE
if("citizenship")
if(!(edit_type & RECORD_SECURITY) || (edit_type & RECORD_GENERAL))
return FALSE
if("religion")
if(!(edit_type & RECORD_SECURITY) || (edit_type & RECORD_GENERAL))
return FALSE
else
if(!(edit_type & RECORD_GENERAL))
return FALSE