z_mirror/ChangeInserterDropLane
git clone https://git.raiguard.me/z_mirror/ChangeInserterDropLane
6f0de6c
factorio-2.0
1if mods [ "bobinserters" ] then 2return 3end 4 5data : extend ( { 6{ type ="custom-input" , name ="cidl-change-lane" , key_sequence ="SHIFT + L" } , 7{ 8type ="optimized-particle" , 9name ="cidl-welding" , 10life_time =30 , 11pictures ={ 12layers ={ 13{ 14filename ="__ChangeInserterDropLane__/graphics/welding.png" , 15priority ="extra-high" , 16width =200 , 17height =200 , 18frame_count =30 , 19line_length =6 , 20animation_speed =0.75 , 21variation_count =1 , 22scale =0.5 , 23} , 24{ 25filename ="__ChangeInserterDropLane__/graphics/welding.png" , 26priority ="extra-high" , 27width =200 , 28height =200 , 29frame_count =30 , 30line_length =6 , 31animation_speed =0.75 , 32variation_count =1 , 33scale =0.5 , 34blend_mode ="additive-soft" , 35} , 36{ 37filename ="__ChangeInserterDropLane__/graphics/welding.png" , 38priority ="extra-high" , 39width =200 , 40height =200 , 41frame_count =30 , 42line_length =6 , 43animation_speed =0.75 , 44variation_count =1 , 45scale =0.5 , 46blend_mode ="additive-soft" , 47} , 48} , 49} , 50} , 51{ 52type ="sound" , 53name ="cidl-welding" , 54category ="alert" , 55filename ="__ChangeInserterDropLane__/sounds/welding.ogg" , 56volume =0.75 , 57audible_distance_modifier =0.5 , 58aggregation ={ 59max_count =1 , 60remove =true , 61count_already_playing =true , 62} , 63} , 64{ 65type ="sprite" , 66name ="cidl_change_lane_icon" , 67filename ="__ChangeInserterDropLane__/graphics/change-lane-icon.png" , 68size =64 , 69flags ={ "gui-icon" } , 70} , 71{ 72type ="tips-and-tricks-item" , 73name ="cidl-change-drop-lane" , 74tag ="[img=cidl_change_lane_icon]" , 75category ="inserters" , 76indent =1 , 77order ="g" , 78trigger ={ type ="build-entity" , entity ="inserter" } , 79dependencies ={ "inserters" } , 80simulation ={ 81save ="__ChangeInserterDropLane__/simulations/change-drop-lane.zip" , 82mods ={ "ChangeInserterDropLane" } , 83init_file ="__ChangeInserterDropLane__/simulation-control.lua" , 84} , 85} , 86} )