mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
## About The Pull Request Adds a couple helpers from #90354 1. `/proc/pick_recursive()` > able to take in nested lists and pick one object from them. Works the same way `pick_weight_recursive()` does, just without all the extra `_weight` stuff 2. `span_tinynicegreen()` > we had span_tiny for danger and notice but not nicegreen, just filling that gap 3. `/matrix/proc/get_angle()` > Tells us the angle a matrix is currently in 4. `GLOB.all_tool_behaviours` > in case you wanted an easy list for all tool behaviors 5. `transition_filter_chain()` > a more complicated one, this is used if you want to make an animation chain for a filter. (Thank you LemonInTheDark for the help on this one.) ## Why It's Good For The Game Helpful stuff for future coders is good ## Changelog 🆑 Wallem, LemonInTheDark code: Added a couple helpers & procs for coders /🆑
This commit is contained in:
@@ -118,10 +118,6 @@
|
||||
balloon_alert(organ_owner, "your heart strengthtens")
|
||||
playsound(organ_owner, 'sound/items/eshield_recharge.ogg', 40)
|
||||
|
||||
///Returns the mob we are implanted in so that the electricity effect doesn't runtime
|
||||
/obj/item/organ/heart/cybernetic/anomalock/proc/get_held_mob()
|
||||
return owner
|
||||
|
||||
/obj/item/organ/heart/cybernetic/anomalock/item_interaction(mob/living/user, obj/item/tool, list/modifiers)
|
||||
if(!istype(tool, required_anomaly))
|
||||
return NONE
|
||||
|
||||
Reference in New Issue
Block a user