diff --git a/code/modules/vore/fluffstuff/custom_items_vr.dm b/code/modules/vore/fluffstuff/custom_items_vr.dm index dbb99b910da..8709bee96ee 100644 --- a/code/modules/vore/fluffstuff/custom_items_vr.dm +++ b/code/modules/vore/fluffstuff/custom_items_vr.dm @@ -614,6 +614,52 @@ slowdown = 0 taurtype = /datum/sprite_accessory/tail/taur/feline/tempest no_message = "These saddlebags seem to be fitted for someone else, and keep slipping off!" + action_button_name = "Toggle Mlembulance Mode" + var/ambulance = 0 + var/ambulance_state = 0 + var/ambulance_last_switch = 0 + var/ambulance_volume = 15 + +/obj/item/weapon/storage/backpack/saddlebag/tempest/ui_action_click() + ambulance = !(ambulance) + if(ambulance) + processing_objects.Add(src) + item_state = "tempestsaddlebag-red" + icon_state = "tempestbag-red" + if (ismob(src.loc)) + var/mob/M = src.loc + M.update_inv_back() + ambulance_state = 0 + set_light(2, 1, "#FF0000") + while(ambulance) + playsound(src.loc, 'sound/items/amulanceweeoo.ogg', ambulance_volume, 0) + sleep(20) + else + item_state = "tempestsaddlebag" + icon_state = "tempestbag" + if (ismob(src.loc)) + var/mob/M = src.loc + M.update_inv_back() + set_light(0) + +/obj/item/weapon/storage/backpack/saddlebag/tempest/process() + if(!ambulance) + processing_objects.Remove(src) + return + if(world.time - ambulance_last_switch > 15) + ambulance_state = !(ambulance_state) + var/newcolor = "red" + var/newlight = "#FF0000" + if(ambulance_state) + newcolor = "blue" + newlight = "#0000FF" + item_state = "tempestsaddlebag-[newcolor]" + icon_state = "tempestbag-[newcolor]" + if (ismob(src.loc)) + var/mob/M = src.loc + M.update_inv_back() + set_light(2, 1, newlight) + ambulance_last_switch = world.time //WickedTempest: Chakat Tempest /obj/item/weapon/implant/reagent_generator/tempest diff --git a/icons/vore/custom_items_vr.dmi b/icons/vore/custom_items_vr.dmi index 97578011b44..c812de4e7bf 100644 Binary files a/icons/vore/custom_items_vr.dmi and b/icons/vore/custom_items_vr.dmi differ diff --git a/sound/items/amulanceweeoo.ogg b/sound/items/amulanceweeoo.ogg new file mode 100644 index 00000000000..cd8835deca9 Binary files /dev/null and b/sound/items/amulanceweeoo.ogg differ