diff --git a/code/modules/mob/living/simple_animal/humanoids/clown.dm b/code/modules/mob/living/simple_animal/humanoids/clown.dm index ba53283300..f814a015a4 100644 --- a/code/modules/mob/living/simple_animal/humanoids/clown.dm +++ b/code/modules/mob/living/simple_animal/humanoids/clown.dm @@ -71,3 +71,80 @@ visible_message("\The [src] opens up revealing another kloun!") var/location = get_turf(src) new /mob/living/simple_animal/hostile/clown/glorious/lesser(location) + +/mob/living/simple_animal/hostile/clown/cluwne + icon = 'icons/mob/animal_VG.dmi' + name = "cluwne" + desc = "This poor creature used to be human. Before it pissed off the Gods, that is. Now it is retarded, miserable, and has bikehorns for an arm." + icon_state = "cluwne" + icon_living = "cluwne" + icon_dead = "cluwne_dead" + icon_gib = "clown_gib" + speak_chance = 50 + turns_per_move = 5 + response_help = "pokes the" + response_disarm = "gently pushes aside the" + response_harm = "hits the" + speak = list("HONK", "Honk!") + speak_emote = list("squeals", "cries","sobs") + emote_hear = list("honks sadly") + speak_chance = 1 + a_intent = I_HELP + var/footstep=0 // For clownshoe noises + //deny_client_move=1 // HONK // Doesn't work right yet + + stop_automated_movement_when_pulled = 1 + maxHealth = 30 + health = 30 + speed = 11 + + var/brain_op_stage = 0.0 // Faking it + + harm_intent_damage = 1 + melee_damage_lower = 0 + melee_damage_upper = 0.1 + attacktext = "honks at" + attack_sound = 'sound/items/bikehorn.ogg' + + min_oxy = 5 + max_oxy = 0 + min_tox = 0 + max_tox = 1 + min_co2 = 0 + max_co2 = 5 + min_n2 = 0 + max_n2 = 0 + minbodytemp = 270 + maxbodytemp = 370 + heat_damage_per_tick = 15 //amount of damage applied if animal's body temperature is higher than maxbodytemp + cold_damage_per_tick = 10 //same as heat_damage_per_tick, only if the bodytemperature it's lower than minbodytemp + unsuitable_atoms_damage = 10 + mutations = list(M_CLUMSY) + +/mob/living/simple_animal/hostile/clown/cluwne/goblin + name = "clown goblin" + desc = "A tiny walking mask and clown shoes. You want to honk his nose!" + icon_state = "ClownGoblin" + icon_living = "ClownGoblin" + icon_dead = null + response_help = "honks the" + speak = list("Honk!") + speak_emote = list("sqeaks") + emote_hear = list("honks") + maxHealth = 100 + health = 100 + size = 1 + environment_smash_flags = SMASH_LIGHT_STRUCTURES + + speed = 1 + turns_per_move = 1 + + melee_damage_type = "BRAIN" + +/mob/living/simple_animal/hostile/retaliate/cluwne/goblin/attackby(obj/item/weapon/W, mob/user) + if(istype(W,/obj/item/weapon/pen)) //Renaming + var/n_name = copytext(sanitize(input(user, "What would you like to name this clown goblin?", "Clown Goblin Name", null) as text|null), 1, MAX_NAME_LEN*3) + if(n_name && Adjacent(user) && !user.stat) + name = "[n_name]" + return + ..()