Commit Graph

5 Commits

Author SHA1 Message Date
ARGUS 1ebb3a4f40 Fix laptop card slot not being checked for software access (#19300)
can_run() only checked the user's worn/held ID via GetIdCard(), ignoring any
card inserted into the computer's RFID card slot. This caused access-locked
software to always show an RFID error for users relying on a slotted card.

Three fixes:
- can_run(): add explicit_card param; resolution order is explicit_card,
  then user.GetIdCard(), then computer.card_slot.stored_card
- run_program(): set TM.using_access from the slotted card when present,
  falling back to user.GetAccess()
- ntdownloader.dm: pass my_computer.card_slot.stored_card to can_run() so
  the software download list respects the slotted card
2026-03-20 00:24:27 +01:00
Kashargul 1fcbb216e7 Convert some more globals (#19231)
* move ref lists from world new to ref list creation

* tg styl

* .

* next globals

* ugh

* some more

* pain

* .

* horror

* .

* .

* .

* shoe me

* ye

* .

* eh

* .

* .

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2026-03-02 23:57:41 +01:00
ItsSelis 7d2bfaa7f8 Ported some modular computer stuff from baystation 2022-06-30 20:46:25 +02:00
ShadowLarkens dd4f9c9967 TGUI NTOS - Total Conversion 2020-09-05 17:02:58 -07:00
Neerti 16b3b58259 [REVIEW] Ports Modular Computers from Baystation 2019-04-28 22:06:40 -04:00