mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user