mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[MIRROR] Skillchips are now copied to bitrunning avatars, plus a new chip to dodge bullets while flipping. (#26974)
* Skillchips are now copied to bitrunning avatars, plus a new chip to dodge bullets while flipping. * Update code/_globalvars/traits/_traits.dm --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> Co-authored-by: Pinta <68373373+softcerv@users.noreply.github.com>
This commit is contained in:
@@ -187,3 +187,11 @@
|
||||
|
||||
if(failed)
|
||||
to_chat(neo, span_warning("One of your disks failed to load. Check for duplicate or inactive disks."))
|
||||
|
||||
var/obj/item/organ/internal/brain/neo_brain = neo.get_organ_slot(ORGAN_SLOT_BRAIN)
|
||||
for(var/obj/item/skillchip/skill_chip as anything in neo_brain?.skillchips)
|
||||
if(!skill_chip.active)
|
||||
continue
|
||||
var/obj/item/skillchip/clone_chip = new skill_chip.type
|
||||
avatar.implant_skillchip(clone_chip, force = TRUE)
|
||||
clone_chip.try_activate_skillchip(silent = TRUE, force = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user