General maintenance for inducer (#86929)

## About The Pull Request
**1. Qol** 
- Adds examines & screentips for screwdriver act, inserting & removing
cell

**2. Code Improvements**
 - Autodocs & removes some unused/redundant vars
 - Corrects return values of `screwdriver_act()`
 
**3. Fixes**
- Fixes #85408. Charging is consistent with cell rating & scales for
higher tier cells
- Syndicate inducers now uses super batteries not cells so they have
higher charge
 
**4. Refactor**
- Moved attack chain to `item_interaction()` & `interact_with_atom()` &
removes a lot of procs to merge with this new attack chain
 

## Changelog
🆑
qol: adds extra examines & screentips for inducer
fix: inducer charging rate scales with cell rating
fix: syndicate inducers now have correct charge & batteries installed
refactor: inducer attack chain has been improved & redundant vars/procs
have been removed, report bugs on github
/🆑

---------

Co-authored-by: Sealed101 <cool.bullseye@yandex.ru>
Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com>
Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SyncIt21
2024-10-06 23:57:40 +05:30
committed by GitHub
parent 8ce0e72dfb
commit 35d008dfab
6 changed files with 178 additions and 159 deletions

View File

@@ -77,7 +77,10 @@
recharge_newshot() //and try to charge a new shot
update_appearance()
/obj/item/gun/energy/get_cell()
/obj/item/gun/energy/get_cell(atom/movable/interface, mob/user)
if(istype(interface, /obj/item/inducer))
to_chat(user, span_alert("Error: unable to interface with [interface]."))
return null
return cell
/obj/item/gun/energy/Initialize(mapload)