mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Enables sec/med huds to view records on examine, as well as antagonists being able to view exploitables. (#7859)
* R.field * i hate modularization * AAAAAAAAAAAAAAAAAAAAAAAA * agony * almost done * h * Delete admins.txt * Add files via upload * Update and rename admins.txt to config/admins.txt * Update admins.txt * rwrwawdaw * fuckfuckfuck * Apply (safe) suggestions from code review not committing all of them, gonna test them on my PC first Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * asaaaaaaaaaa dont merge this aaaaaaaaaaa * i hate gitignores with a passion./ * HATE> HATE GITIGNORE. * final tweaks * quite possibly the worst code i have ever written * i forgot to remove this comment * prefs * THE SPAGHETTI CODE IS GONE (also more maintainable) * Update readme.md * why was it unticked * more maintainability Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
co-authored by
GoldenAlpharex
parent
f7f222ddd4
commit
a8be3bf064
@@ -328,6 +328,12 @@ GLOBAL_DATUM_INIT(data_core, /datum/datacore, new)
|
||||
L.fields["features"] = H.dna.features
|
||||
L.fields["image"] = image
|
||||
L.fields["mindref"] = H.mind
|
||||
// SKYRAT EDIT ADD BEGIN - EXAMINE RECORDS
|
||||
if(C && C.prefs && C.prefs.general_record)
|
||||
L.fields["exp_records"] = C.prefs.exploitable_info //TODO: somebody with less coding anxiety please add a field that stores C.prefs.background_info
|
||||
else
|
||||
L.fields["exp_records"] = ""
|
||||
// SKYRAT EDIT END
|
||||
locked += L
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user