Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] General maintainence for Ore Silo #1700

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#616
Original PR: tgstation/tgstation#81016

About The Pull Request

  1. Qol(Hopefully not an issue for feature freeze)

    • Adds Screen tips & examines for screwdriver, crowbar & multitool acts
    • Examining ore silo will now display its stored materials
    • Location name is attached to the machine name and it greys out when pausing the machine to make it more noticable that it is paused
    • Made window wider
  2. Code Improvements

    • Auto docs procs & vars for ore silo log entry
    • Fixed return values of all tool acts i.e. no more returning TRUE/FALSE but the actual item interaction flags
    • UI no longer computes REF for each machine which is expensive but instead uses the index value in the list
    • Moved global variables to their corresponding files
    • Ore silo no longer starts processing round start. That proc just ended itself anyway so why even bother registering
  3. Fixes

    • If a machine was disconnected via the ore silo UI, attempting to reconnect that machine would cause a runtime at RegisterSignal in multitool_act because it was already registered in Initialize. It now unregisters the signal when disconnecting so that's fixed
    • Each machine element in the UI does not have a unique key because it used key={machine.name}. This meant after disconnecting a machine the UI buttons would get grouped together and the pause & disconnect buttons would not function properly. Now it uses index which is unique thus fixing that problem

Changelog

🆑 SyncIt21
qol: added more screen tips & examines for ore silo, made UI wider, attach location name to each machine & grey out paused machines to make it more noticeable.
code: auto docs proc & vars for silo log entry. Fixed return values of all tool acts
fix: ore silo UI now functions correctly after removing an entry from the UI
fix: no runtimes when connecting a machine to silo that was previously disconnected via the ore silo UI
/:cl:

* General maintainence for Ore Silo (#81016)

## About The Pull Request
1. **Qol**(Hopefully not an issue for feature freeze)
- Adds Screen tips & examines for screwdriver, crowbar & multitool acts
   - Examining ore silo will now display its stored materials
- Location name is attached to the machine name and it greys out when
pausing the machine to make it more noticable that it is paused
   - Made window wider

2. **Code Improvements**
   - Auto docs procs & vars for ore silo log entry
- Fixed return values of all tool acts i.e. no more returning
`TRUE/FALSE` but the actual item interaction flags
- UI no longer computes `REF` for each machine which is expensive but
instead uses the index value in the list
   - Moved global variables to their corresponding files
- Ore silo no longer starts processing round start. That proc just ended
itself anyway so why even bother registering

3. **Fixes**
- If a machine was disconnected via the ore silo UI, attempting to
reconnect that machine would cause a runtime at `RegisterSignal` in
`multitool_act` because it was already registered in `Initialize`. It
now unregisters the signal when disconnecting so that's fixed
- Each machine element in the UI does not have a unique key because it
used `key={machine.name}`. This meant after disconnecting a machine the
UI buttons would get grouped together and the pause & disconnect buttons
would not function properly. Now it uses `index` which is unique thus
fixing that problem

## Changelog
:cl:
qol: added more screen tips & examines for ore silo, made UI wider,
attach location name to each machine & grey out paused machines to make
it more noticeable.
code: auto docs proc & vars for silo log entry. Fixed return values of
all tool acts
fix: ore silo UI now functions correctly after removing an entry from
the UI
fix: no runtimes when connecting a machine to silo that was previously
disconnected via the ore silo UI
/:cl:

* General maintainence for Ore Silo

---------

Co-authored-by: SyncIt21 <[email protected]>
@Iajret Iajret merged commit 9742245 into master Jan 26, 2024
23 checks passed
@Iajret Iajret deleted the upstream-mirror-616 branch January 26, 2024 15:28
AnywayFarus added a commit that referenced this pull request Jan 26, 2024
Iajret added a commit that referenced this pull request Mar 29, 2024
* Update mediguns.dm

* Update modular_nova/modules/cellguns/code/mediguns.dm

---------

Co-authored-by: Bloop <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants