mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Monkey plush (#91154)
This commit is contained in:
@@ -61,6 +61,7 @@ GLOBAL_LIST_INIT(arcade_prize_pool, list(
|
||||
/obj/item/toy/plush/abductor = 2,
|
||||
/obj/item/toy/plush/abductor/agent = 2,
|
||||
/obj/item/toy/plush/shark = 2,
|
||||
/obj/item/toy/plush/monkey = 2,
|
||||
/obj/item/storage/belt/military/snack/full = 2,
|
||||
/obj/item/toy/brokenradio = 2,
|
||||
/obj/item/toy/braintoy = 2,
|
||||
|
||||
@@ -37,6 +37,16 @@
|
||||
)
|
||||
category = CAT_ENTERTAINMENT
|
||||
|
||||
/datum/crafting_recipe/monkeyplush
|
||||
name = "Monkey Plushie"
|
||||
result = /obj/item/toy/plush/monkey
|
||||
reqs = list(
|
||||
/obj/item/clothing/mask/gas/monkeymask = 1,
|
||||
/obj/item/clothing/suit/costume/monkeysuit = 1,
|
||||
/obj/item/grown/cotton = 10,
|
||||
)
|
||||
category = CAT_ENTERTAINMENT
|
||||
|
||||
/datum/crafting_recipe/mixedbouquet
|
||||
name = "Mixed bouquet"
|
||||
result = /obj/item/bouquet
|
||||
|
||||
@@ -254,6 +254,7 @@
|
||||
/obj/item/toy/plush/moth,
|
||||
/obj/item/toy/plush/pkplush,
|
||||
/obj/item/toy/plush/horse,
|
||||
/obj/item/toy/plush/monkey,
|
||||
)
|
||||
|
||||
/obj/effect/spawner/random/entertainment/plushie_delux
|
||||
@@ -280,6 +281,7 @@
|
||||
/obj/item/toy/plush/abductor/agent = 3,
|
||||
/obj/item/toy/plush/shark = 3,
|
||||
/obj/item/toy/plush/unicorn = 3,
|
||||
/obj/item/toy/plush/monkey = 3,
|
||||
// super rare plushies
|
||||
/obj/item/toy/plush/bubbleplush = 2,
|
||||
/obj/item/toy/plush/ratplush = 2,
|
||||
|
||||
@@ -842,3 +842,48 @@
|
||||
icon_state = "unicorn"
|
||||
attack_verb_continuous = list("whinnies", "gallops", "prances", "magicks")
|
||||
attack_verb_simple = list("whinny", "gallop", "prance", "magick")
|
||||
|
||||
/obj/item/toy/plush/monkey
|
||||
name = "monkey plushie"
|
||||
desc = "The tag reads: 'Oop eek! I'm a chimpanzee!', with 'Now in JUMBO SIZE!' on the flipside."
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
throw_range = 2
|
||||
throw_speed = 1
|
||||
icon_state = "monkey"
|
||||
inhand_icon_state = null
|
||||
attack_verb_continuous = list("Oops", "Eeks")
|
||||
attack_verb_simple = list("Oop", "Eek")
|
||||
squeak_override = list(SFX_SCREECH=1)
|
||||
/// if the monkey ate a mimana and has changed nationality
|
||||
var/french = FALSE
|
||||
|
||||
/obj/item/toy/plush/monkey/item_interaction(mob/living/feeder, obj/item/food/grown/banana/nana, list/modifiers)
|
||||
if(!istype(nana))
|
||||
return ..()
|
||||
nana.forceMove(src) // go into the cotton stomach
|
||||
to_chat(feeder, span_notice("You hand over the [nana] to [src] and watch as it eats..."))
|
||||
playsound(src, 'sound/items/eatfood.ogg', 75, TRUE)
|
||||
addtimer(CALLBACK(src, PROC_REF(eat), feeder, nana), 3 SECONDS)
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
/obj/item/toy/plush/monkey/proc/eat(mob/living/feeder, obj/item/food/grown/banana/nana)
|
||||
if(istype(nana, /obj/item/food/grown/banana/bluespace))
|
||||
do_teleport(src, get_turf(src), 15, channel = TELEPORT_CHANNEL_BLUESPACE)
|
||||
else if(istype(nana, /obj/item/food/grown/banana/mime) && !french)
|
||||
name = "peluche de singe"
|
||||
desc = "L'étiquette indique: 'Oop eek! Je suis un chimpanzé!', avec 'Maintenant en TAILLE JUMBO!' sur l'autre face."
|
||||
french = TRUE
|
||||
// throw the peel at a random mob, or a random turf if there are none
|
||||
var/obj/item/grown/bananapeel/peel = new nana.trash_type(get_turf(src))
|
||||
var/list/oviewers = oviewers(peel.throw_range, src)
|
||||
var/throw_src = src
|
||||
// if a player holds the plushie, the throw source will be the player
|
||||
if(isliving(loc))
|
||||
oviewers = oviewers(loc)
|
||||
throw_src = loc
|
||||
if(oviewers.len > 0 && (locate(feeder) in oviewers))
|
||||
oviewers -= feeder // remove feeder from targetables
|
||||
peel.throw_at(oviewers.len == 0 ? get_ranged_target_turf(throw_src, pick(GLOB.alldirs), peel.throw_range) : pick(oviewers), peel.throw_range, peel.throw_speed, quickstart = FALSE)
|
||||
playsound(src, 'sound/mobs/non-humanoids/gorilla/gorilla.ogg', 100, FALSE)
|
||||
spasm_animation(5 SECONDS)
|
||||
qdel(nana)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 19 KiB |
Reference in New Issue
Block a user