diff --git a/code/datums/elements/venomous.dm b/code/datums/elements/venomous.dm index f513e03bd6c..0062c78d568 100644 --- a/code/datums/elements/venomous.dm +++ b/code/datums/elements/venomous.dm @@ -1,7 +1,7 @@ /** * Venomous element; which makes the attacks of the simplemob attached poison the enemy. * - * Used for spiders and bees! + * Used for spiders, frogs, and bees! */ /datum/element/venomous element_flags = ELEMENT_BESPOKE|ELEMENT_DETACH diff --git a/code/modules/mob/living/simple_animal/hostile/retaliate/frog.dm b/code/modules/mob/living/simple_animal/hostile/retaliate/frog.dm index 07399d35750..93b20fdc295 100644 --- a/code/modules/mob/living/simple_animal/hostile/retaliate/frog.dm +++ b/code/modules/mob/living/simple_animal/hostile/retaliate/frog.dm @@ -33,6 +33,10 @@ worn_slot_flags = ITEM_SLOT_HEAD head_icon = 'icons/mob/animal_item_head.dmi' var/stepped_sound = 'sound/effects/huuu.ogg' + ///How much of a reagent the mob injects on attack + var/poison_per_bite = 3 + ///What reagent the mob injects targets with + var/poison_type = /datum/reagent/drug/space_drugs /mob/living/simple_animal/hostile/retaliate/frog/Initialize(mapload) . = ..() @@ -46,11 +50,13 @@ icon_living = "rare_frog" icon_dead = "rare_frog_dead" butcher_results = list(/obj/item/food/nugget = 5) + poison_type = /datum/reagent/drug/mushroomhallucinogen var/static/list/loc_connections = list( COMSIG_ATOM_ENTERED = .proc/on_entered, ) AddElement(/datum/element/connect_loc, loc_connections) + AddElement(/datum/element/venomous, poison_type, poison_per_bite) add_cell_sample() /mob/living/simple_animal/hostile/retaliate/frog/proc/on_entered(datum/source, AM as mob|obj)