z_mirror/ChangeInserterDropLane
git clone https://git.raiguard.me/z_mirror/ChangeInserterDropLane
b08fe96
trunk
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 , 21scale =0.5 , 22} , 23{ 24filename ="__ChangeInserterDropLane__/graphics/welding.png" , 25priority ="extra-high" , 26width =200 , 27height =200 , 28frame_count =30 , 29line_length =6 , 30animation_speed =0.75 , 31scale =0.5 , 32blend_mode ="additive-soft" , 33} , 34{ 35filename ="__ChangeInserterDropLane__/graphics/welding.png" , 36priority ="extra-high" , 37width =200 , 38height =200 , 39frame_count =30 , 40line_length =6 , 41animation_speed =0.75 , 42scale =0.5 , 43blend_mode ="additive-soft" , 44} , 45} , 46} , 47} , 48{ 49type ="sound" , 50name ="cidl-welding" , 51category ="alert" , 52filename ="__ChangeInserterDropLane__/sounds/welding.ogg" , 53volume =0.75 , 54audible_distance_modifier =0.5 , 55aggregation ={ 56max_count =1 , 57remove =true , 58count_already_playing =true , 59} , 60} , 61{ 62type ="sprite" , 63name ="cidl_change_lane_icon" , 64filename ="__ChangeInserterDropLane__/graphics/change-lane-icon.png" , 65size =64 , 66flags ={ "gui-icon" } , 67} , 68{ 69type ="tips-and-tricks-item" , 70name ="cidl-change-drop-lane" , 71tag ="[img=cidl_change_lane_icon]" , 72category ="inserters" , 73indent =1 , 74order ="g" , 75trigger ={ type ="build-entity" , entity ="inserter" } , 76dependencies ={ "inserters" } , 77simulation ={ 78save ="__ChangeInserterDropLane__/simulations/change-drop-lane.zip" , 79mods ={ "ChangeInserterDropLane" } , 80init_file ="__ChangeInserterDropLane__/simulation-control.lua" , 81} , 82} , 83} )