mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Clown goblins can be created by combining clown shoes and a clown mask. Clown goblins can be renamed by using a pen on the goblin.
This commit is contained in:
@@ -130,6 +130,13 @@
|
|||||||
species_fit = list("Vox")
|
species_fit = list("Vox")
|
||||||
can_flip = 0
|
can_flip = 0
|
||||||
|
|
||||||
|
/obj/item/clothing/mask/gas/clown_hat/attackby(obj/item/weapon/W, mob/user)
|
||||||
|
..()
|
||||||
|
if(istype(W, /obj/item/clothing/shoes/clown_shoes))
|
||||||
|
new /mob/living/simple_animal/hostile/retaliate/cluwne/goblin(get_turf(src))
|
||||||
|
qdel(W)
|
||||||
|
qdel(src)
|
||||||
|
|
||||||
/obj/item/clothing/mask/gas/clown_hat/wiz
|
/obj/item/clothing/mask/gas/clown_hat/wiz
|
||||||
name = "purple clown wig and mask"
|
name = "purple clown wig and mask"
|
||||||
desc = "Some pranksters are truly magical."
|
desc = "Some pranksters are truly magical."
|
||||||
|
|||||||
@@ -121,6 +121,13 @@
|
|||||||
var/step_sound = "clownstep"
|
var/step_sound = "clownstep"
|
||||||
var/footstep = 1 //used for squeeks whilst walking
|
var/footstep = 1 //used for squeeks whilst walking
|
||||||
|
|
||||||
|
/obj/item/clothing/shoes/clown_shoes/attackby(obj/item/weapon/W, mob/user)
|
||||||
|
..()
|
||||||
|
if(istype(W, /obj/item/clothing/mask/gas/clown_hat))
|
||||||
|
new /mob/living/simple_animal/hostile/retaliate/cluwne/goblin(get_turf(src))
|
||||||
|
qdel(W)
|
||||||
|
qdel(src)
|
||||||
|
|
||||||
/obj/item/clothing/shoes/clown_shoes/step_action()
|
/obj/item/clothing/shoes/clown_shoes/step_action()
|
||||||
if(ishuman(loc))
|
if(ishuman(loc))
|
||||||
var/mob/living/carbon/human/H = loc
|
var/mob/living/carbon/human/H = loc
|
||||||
|
|||||||
@@ -330,6 +330,14 @@
|
|||||||
|
|
||||||
melee_damage_type = "BRAIN"
|
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
|
||||||
|
..()
|
||||||
|
|
||||||
/mob/living/simple_animal/hostile/retaliate/cluwne/goblin/Die()
|
/mob/living/simple_animal/hostile/retaliate/cluwne/goblin/Die()
|
||||||
..()
|
..()
|
||||||
new /obj/item/clothing/mask/gas/clown_hat(src.loc)
|
new /obj/item/clothing/mask/gas/clown_hat(src.loc)
|
||||||
|
|||||||
Reference in New Issue
Block a user