diff --git a/code/game/objects/items/storage/boxes.dm b/code/game/objects/items/storage/boxes.dm index 4ff63ceeac..94d91af5a9 100644 --- a/code/game/objects/items/storage/boxes.dm +++ b/code/game/objects/items/storage/boxes.dm @@ -1196,3 +1196,14 @@ new /obj/item/reagent_containers/food/snacks/grown/chili(src) new /obj/item/reagent_containers/food/drinks/coffee/type2(src) new /obj/item/tank/internals/emergency_oxygen(src) + +/obj/item/storage/box/secbat + name = "Secbat box" + desc = "Contained inside is a secbat for use with law enforcement." + +/obj/item/storage/box/attack_self(mob/user) + new /mob/living/simple_animal/bat/secbat(user.loc) + to_chat(user, "You open the box, releasing the secbat!") + var/obj/item/I = new foldable + qdel(src) + user.put_in_hands(I) diff --git a/code/modules/mob/living/simple_animal/friendly/bat.dm b/code/modules/mob/living/simple_animal/friendly/bat.dm new file mode 100644 index 0000000000..b23423c9c9 --- /dev/null +++ b/code/modules/mob/living/simple_animal/friendly/bat.dm @@ -0,0 +1,42 @@ +/mob/living/simple_animal/bat + name = "Bat" + desc = "A fruit bat which is known to roost in spaceships occastionally." + icon_state = "bat" + icon_living = "bat" + icon_dead = "bat_dead" + icon_gib = "bat_dead" + turns_per_move = 1 + response_help = "brushes aside" + response_disarm = "flails at" + response_harm = "hits" + mob_biotypes = list(MOB_ORGANIC, MOB_BEAST) + speak_chance = 0 + maxHealth = 15 + health = 15 + spacewalk = TRUE + see_in_dark = 10 + harm_intent_damage = 6 + melee_damage_lower = 6 + melee_damage_upper = 5 + attacktext = "bites" + butcher_results = list(/obj/item/reagent_containers/food/snacks/meat/slab = 1) + pass_flags = PASSTABLE + gold_core_spawnable = FRIENDLY_SPAWN + attack_sound = 'sound/weapons/bite.ogg' + obj_damage = 0 + environment_smash = ENVIRONMENT_SMASH_NONE + ventcrawler = VENTCRAWLER_ALWAYS + mob_size = MOB_SIZE_TINY + movement_type = FLYING + speak_emote = list("squeaks") + emote_see = list("squeaks eagerly.", "flaps about.") + +/mob/living/simple_animal/bat/secbat + name = "Security Bat" + icon_state = "secbat" + icon_living = "secbat" + icon_dead = "secbat_dead" + icon_gib = "secbat_dead" + desc = "A fruit bat with a tiny little security hat who is ready to inject cuteness into any security operation." + emote_see = list("is ready to law down the law.", "flaps about with an air of authority.") + response_help = "respects the authority of" diff --git a/code/modules/vending/security.dm b/code/modules/vending/security.dm index aaa1cf3b6f..a55668d448 100644 --- a/code/modules/vending/security.dm +++ b/code/modules/vending/security.dm @@ -12,7 +12,8 @@ /obj/item/reagent_containers/food/snacks/donut = 12, /obj/item/storage/box/evidence = 6, /obj/item/flashlight/seclite = 4, - /obj/item/restraints/legcuffs/bola/energy = 7) + /obj/item/restraints/legcuffs/bola/energy = 7, + /obj/item/storage/box/secbat = 5) contraband = list(/obj/item/clothing/glasses/sunglasses = 2, /obj/item/storage/fancy/donut_box = 2, /obj/item/ssword_kit = 1) diff --git a/icons/mob/animal.dmi b/icons/mob/animal.dmi index c98ca98c42..2a85f8a422 100644 Binary files a/icons/mob/animal.dmi and b/icons/mob/animal.dmi differ diff --git a/tgstation.dme b/tgstation.dme index 6aee7dffa1..eb547453d9 100755 --- a/tgstation.dme +++ b/tgstation.dme @@ -2101,6 +2101,7 @@ #include "code\modules\mob\living\simple_animal\bot\mulebot.dm" #include "code\modules\mob\living\simple_animal\bot\secbot.dm" #include "code\modules\mob\living\simple_animal\bot\SuperBeepsky.dm" +#include "code\modules\mob\living\simple_animal\friendly\bat.dm" #include "code\modules\mob\living\simple_animal\friendly\butterfly.dm" #include "code\modules\mob\living\simple_animal\friendly\cat.dm" #include "code\modules\mob\living\simple_animal\friendly\cockroach.dm"