mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Change drop_all_held_items to work with cyborgs (#70682)
* Cyborgs now use the same drop_all_held_items that humans do instead of their own snowflake code. * Fixes Cyborgs not dropping all their modules at the same time, Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -360,13 +360,14 @@
|
||||
|
||||
owner.drop_all_held_items()
|
||||
|
||||
chainsaw = new(get_turf(owner))
|
||||
ADD_TRAIT(chainsaw, TRAIT_NODROP, CHAINSAW_FRENZY_TRAIT)
|
||||
owner.put_in_hands(chainsaw, forced = TRUE)
|
||||
chainsaw.attack_self(owner)
|
||||
if(iscarbon(owner))
|
||||
chainsaw = new(get_turf(owner))
|
||||
ADD_TRAIT(chainsaw, TRAIT_NODROP, CHAINSAW_FRENZY_TRAIT)
|
||||
owner.put_in_hands(chainsaw, forced = TRUE)
|
||||
chainsaw.attack_self(owner)
|
||||
owner.reagents.add_reagent(/datum/reagent/medicine/adminordrazine, 25)
|
||||
|
||||
owner.log_message("entered a blood frenzy", LOG_ATTACK)
|
||||
owner.reagents.add_reagent(/datum/reagent/medicine/adminordrazine, 25)
|
||||
to_chat(owner, span_warning("KILL, KILL, KILL! YOU HAVE NO ALLIES ANYMORE, KILL THEM ALL!"))
|
||||
|
||||
var/datum/client_colour/colour = owner.add_client_colour(/datum/client_colour/bloodlust)
|
||||
|
||||
Reference in New Issue
Block a user