mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Adds flyswatters.
They are availible in beekeeping crates. They instantly kill bees, and deal large damage to flypeople, and negligible damage to non-flypeople.
This commit is contained in:
@@ -1036,7 +1036,8 @@
|
||||
/obj/item/honey_frame,
|
||||
/obj/item/queen_bee/bought,
|
||||
/obj/item/clothing/head/beekeeper_head,
|
||||
/obj/item/clothing/suit/beekeeper_suit)
|
||||
/obj/item/clothing/suit/beekeeper_suit,
|
||||
/obj/item/weapon/melee/flyswatter)
|
||||
crate_name = "beekeeping starter crate"
|
||||
|
||||
/datum/supply_pack/organic/hydroponics/beekeeping_suits
|
||||
|
||||
@@ -623,6 +623,11 @@
|
||||
"<span class='userdanger'>You throw up on the floor!</span>")
|
||||
..()
|
||||
|
||||
/datum/species/fly/check_weakness(obj/item/weapon, mob/living/attacker)
|
||||
if(istype(weapon,/obj/item/weapon/melee/flyswatter))
|
||||
return 29 //Flyswatters deal 30x damage to flypeople.
|
||||
return 0
|
||||
|
||||
/*
|
||||
SKELETONS
|
||||
*/
|
||||
|
||||
@@ -243,6 +243,12 @@
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/bees/attacked_by(obj/item/I, mob/living/user)
|
||||
. = ..()
|
||||
if(istype(I, /obj/item/weapon/melee/flyswatter))
|
||||
user << "<span class='warning'>You easily splat the [src].</span>"
|
||||
new /obj/effect/decal/cleanable/deadcockroach(get_turf(src))
|
||||
Destroy()
|
||||
|
||||
/obj/item/queen_bee
|
||||
name = "queen bee"
|
||||
@@ -276,6 +282,10 @@
|
||||
name = queen.name
|
||||
else
|
||||
user << "<span class='warning'>You don't have enough units of that chemical to modify the bee's DNA!</span>"
|
||||
if(istype(I,/obj/item/weapon/melee/flyswatter))
|
||||
user << "<span class='warning'>You easily splat the [src].</span>"
|
||||
new /obj/effect/decal/cleanable/deadcockroach(get_turf(src))
|
||||
Destroy()
|
||||
..()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user