diff --git a/GainStation13/code/mobs/chocoslime.dm b/GainStation13/code/mobs/chocoslime.dm new file mode 100644 index 00000000..8e963585 --- /dev/null +++ b/GainStation13/code/mobs/chocoslime.dm @@ -0,0 +1,48 @@ +/mob/living/simple_animal/hostile/feed + var/food_per_feeding = 5 + var/food_fed = /datum/reagent/consumable/nutriment + +/mob/living/simple_animal/hostile/feed/AttackingTarget() + . = ..() + var/mob/living/carbon/L = target + if(L.client.prefs.weight_gain_weapons) + if(L.reagents) + if(!L.is_mouth_covered(head_only = 1)) + L.reagents.add_reagent(food_fed, food_per_feeding) + +/mob/living/simple_animal/hostile/feed/chocolate_slime + name = "Chocolate slime" + desc = "It's a living blob of tasty chocolate!" + icon = 'GainStation13/icons/mob/candymonster.dmi' + icon_state = "a_c_slime" + icon_living = "a_c_slime" + icon_dead = "a_c_slime_dead" + speak_emote = list("blorbles") + emote_hear = list("blorbles") + speak_chance = 5 + turns_per_move = 5 + see_in_dark = 10 + butcher_results = list(/obj/item/reagent_containers/food/snacks/chocolatebar = 4) + response_help = "pets" + response_disarm = "shoos" + response_harm = "hits" + maxHealth = 100 + health = 100 + obj_damage = 0 + melee_damage_lower = 1 + melee_damage_upper = 1 + faction = list("slime") + pass_flags = PASSTABLE + move_to_delay = 7 + ventcrawler = VENTCRAWLER_ALWAYS + attacktext = "glorps" + attack_sound = 'sound/weapons/tap.ogg' + unique_name = 1 + gold_core_spawnable = HOSTILE_SPAWN + see_in_dark = 4 + lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE + initial_language_holder = /datum/language_holder/slime + environment_smash = ENVIRONMENT_SMASH_STRUCTURES + + + diff --git a/GainStation13/icons/mob/candymonster.dmi b/GainStation13/icons/mob/candymonster.dmi index bbdb9018..d1f73805 100644 Binary files a/GainStation13/icons/mob/candymonster.dmi and b/GainStation13/icons/mob/candymonster.dmi differ diff --git a/tgstation.dme b/tgstation.dme index 7c065417..d6d2b944 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -3081,6 +3081,7 @@ #include "GainStation13\code\mechanics\wand.dm" #include "GainStation13\code\mechanics\web_weaving.dm" #include "GainStation13\code\mobs\cakegolem.dm" +#include "GainStation13\code\mobs\chocoslime.dm" #include "GainStation13\code\mobs\races\caloritegolem.dm" #include "GainStation13\code\modules\client\preferences\preferences.dm" #include "GainStation13\code\modules\food_and_drinks\drinks\drinks.dm"