Skip to content

Commit

Permalink
Small sectoid buff (#13720)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xander3359 authored Aug 9, 2023
1 parent 5b32e94 commit 92e08f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/jobs/job/sectoid.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

/datum/outfit/job/sectoid/grunt/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
. = ..()

H.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/sectoid_rifle, SLOT_IN_BELT)
H.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/sectoid_rifle, SLOT_IN_BELT)
H.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/sectoid_rifle, SLOT_IN_BELT)
H.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/sectoid_rifle, SLOT_IN_BELT)
Expand Down Expand Up @@ -73,7 +73,7 @@

/datum/outfit/job/sectoid/leader/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
. = ..()

H.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/sectoid_rifle, SLOT_IN_BELT)
H.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/sectoid_rifle, SLOT_IN_BELT)
H.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/sectoid_rifle, SLOT_IN_BELT)
H.equip_to_slot_or_del(new /obj/item/ammo_magazine/rifle/sectoid_rifle, SLOT_IN_BELT)
Expand Down
4 changes: 4 additions & 0 deletions code/modules/projectiles/guns/rifles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,10 @@
accuracy_mult_unwielded = 0.8
movement_acc_penalty_mult = 3

/obj/item/weapon/gun/rifle/sectoid_rifle/Initialize(mapload, spawn_empty)
. = ..()
AddComponent(/datum/component/reequip, list(SLOT_BACK)) //Sectoids have alien powers that make them not lose their gun

//only sectoids can fire it
/obj/item/weapon/gun/rifle/sectoid_rifle/able_to_fire(mob/user)
. = ..()
Expand Down

0 comments on commit 92e08f1

Please sign in to comment.