share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12030 0d8c4e4ead8a
parent 12029 6191d8828254
child 12031 0b0578c25470
equal deleted inserted replaced
12029:6191d8828254 12030:0d8c4e4ead8a
  2529 		ShowMission	(
  2529 		ShowMission	(
  2530 				loc("GIRDER PLACEMENT MODE"),
  2530 				loc("GIRDER PLACEMENT MODE"),
  2531 				loc("Use this mode to place girders"),
  2531 				loc("Use this mode to place girders"),
  2532 				loc("Place Girder: [Left Click]") .. "|" ..
  2532 				loc("Place Girder: [Left Click]") .. "|" ..
  2533 				loc("Change Rotation: [Left], [Right]") .. "|" ..
  2533 				loc("Change Rotation: [Left], [Right]") .. "|" ..
  2534 				loc("Change LandFlag: [1], [2], [3], [4]") .. "|" ..
       
  2535 				" " .. "|" ..
  2534 				" " .. "|" ..
  2536 				loc("1 - Normal Girder") .. "|" ..
  2535 				loc("Normal Girder: [1]") .. "|" ..
  2537 				loc("2 - Indestructible Girder") .. "|" ..
  2536 				loc("Indestructible Girder: [2]") .. "|" ..
  2538 				loc("3 - Icy Girder") .. "|" ..
  2537 				loc("Icy Girder: [3]") .. "|" ..
  2539 				loc("4 - Bouncy Girder") .. "|" ..
  2538 				loc("Bouncy Girder: [4]") .. "|" ..
  2540 				" " .. "|" ..
  2539 				" " .. "|" ..
  2541 				loc("Deletion Mode: [5]") .. "|" ..
  2540 				loc("Deletion Mode: [5]") .. "|" ..
  2542 				loc("Toggle Help: Precise+1") .. "|" ..
  2541 				" " .. "|" ..
  2543 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2542 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
       
  2543 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2544 				"", -amGirder, 60000
  2544 				"", -amGirder, 60000
  2545 				)
  2545 				)
  2546 		hedgeEditorMissionPanelShown = false
  2546 		hedgeEditorMissionPanelShown = false
  2547 
  2547 
  2548 	elseif cat[cIndex] == loc("Rubber Placement Mode") then
  2548 	elseif cat[cIndex] == loc("Rubber Placement Mode") then
  2550 		ShowMission	(
  2550 		ShowMission	(
  2551 				loc("RUBBER PLACEMENT MODE"),
  2551 				loc("RUBBER PLACEMENT MODE"),
  2552 				loc("Use this mode to place rubber"),
  2552 				loc("Use this mode to place rubber"),
  2553 				loc("Place Object: [Left Click]") .. "|" ..
  2553 				loc("Place Object: [Left Click]") .. "|" ..
  2554 				loc("Change Rotation: [Left], [Right]") .. "|" ..
  2554 				loc("Change Rotation: [Left], [Right]") .. "|" ..
  2555 				loc("1 - Normal Rubber") .. "|" ..
  2555 				" " .. "|" ..
       
  2556 				loc("Normal Rubber: [1]") .. "|" ..
  2556 				" " .. "|" ..
  2557 				" " .. "|" ..
  2557 				loc("Deletion Mode: [5]") .. "|" ..
  2558 				loc("Deletion Mode: [5]") .. "|" ..
  2558 				loc("Toggle Help: Precise+1") .. "|" ..
  2559 				" " .. "|" ..
  2559 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2560 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
       
  2561 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2560 				"", -amRubber, 60000
  2562 				"", -amRubber, 60000
  2561 				)
  2563 				)
  2562 		hedgeEditorMissionPanelShown = false
  2564 		hedgeEditorMissionPanelShown = false
  2563 
  2565 
  2564 	elseif cat[cIndex] == loc("Barrel Placement Mode") then
  2566 	elseif cat[cIndex] == loc("Barrel Placement Mode") then
  2568 				loc("Use this mode to place barrels"),
  2570 				loc("Use this mode to place barrels"),
  2569 				loc("Place Object: [Left Click]") .. "|" ..
  2571 				loc("Place Object: [Left Click]") .. "|" ..
  2570 				loc("Change Health: [Left], [Right]") .. "|" ..
  2572 				loc("Change Health: [Left], [Right]") .. "|" ..
  2571 				" " .. "|" ..
  2573 				" " .. "|" ..
  2572 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2574 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2573 				loc("Toggle Help: Precise+1") .. "|" ..
  2575 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2574 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2576 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2575 				"", 8, 60000
  2577 				"", 8, 60000
  2576 				)
  2578 				)
  2577 		hedgeEditorMissionPanelShown = false
  2579 		hedgeEditorMissionPanelShown = false
  2578 
  2580 
  2579 	elseif cat[cIndex] == loc("Cleaver Placement Mode") then
  2581 	elseif cat[cIndex] == loc("Cleaver Placement Mode") then
  2582 				loc("CLEAVER PLACEMENT MODE"),
  2584 				loc("CLEAVER PLACEMENT MODE"),
  2583 				loc("Use this mode to place cleavers"),
  2585 				loc("Use this mode to place cleavers"),
  2584 				loc("Place Object: [Left Click]") .. "|" ..
  2586 				loc("Place Object: [Left Click]") .. "|" ..
  2585 				" " .. "|" ..
  2587 				" " .. "|" ..
  2586 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2588 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2587 				loc("Toggle Help: Precise+1") .. "|" ..
  2589 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2588 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2590 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2589 				"", -amKnife, 60000
  2591 				"", -amKnife, 60000
  2590 				)
  2592 				)
  2591 		hedgeEditorMissionPanelShown = false
  2593 		hedgeEditorMissionPanelShown = false
  2592 
  2594 
  2593 	elseif cat[cIndex] == loc("Target Placement Mode") then
  2595 	elseif cat[cIndex] == loc("Target Placement Mode") then
  2596 				loc("TARGET PLACEMENT MODE"),
  2598 				loc("TARGET PLACEMENT MODE"),
  2597 				loc("Use this mode to place targets"),
  2599 				loc("Use this mode to place targets"),
  2598 				loc("Place Object: [Left Click]") .. "|" ..
  2600 				loc("Place Object: [Left Click]") .. "|" ..
  2599 				" " .. "|" ..
  2601 				" " .. "|" ..
  2600 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2602 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2601 				loc("Toggle Help: Precise+1") .. "|" ..
  2603 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2602 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2604 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2603 				"", 1, 60000
  2605 				"", 1, 60000
  2604 				)
  2606 				)
  2605 		hedgeEditorMissionPanelShown = false
  2607 		hedgeEditorMissionPanelShown = false
  2606 
  2608 
  2607 	elseif cat[cIndex] == loc("Waypoint Editing Mode") then
  2609 	elseif cat[cIndex] == loc("Waypoint Editing Mode") then
  2611 				loc("Use this mode to place or delete waypoints"),
  2613 				loc("Use this mode to place or delete waypoints"),
  2612 				loc("Place/Delete Waypoint: [Left Click]") .. "|" ..
  2614 				loc("Place/Delete Waypoint: [Left Click]") .. "|" ..
  2613 				loc("Toggle Placement/Deletion: [Left], [Right]") .. "|" ..
  2615 				loc("Toggle Placement/Deletion: [Left], [Right]") .. "|" ..
  2614 				" " .. "|" ..
  2616 				" " .. "|" ..
  2615 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2617 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2616 				loc("Toggle Help: Precise+1") .. "|" ..
  2618 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2617 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2619 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2618 				"", -amAirAttack, 60000
  2620 				"", -amAirAttack, 60000
  2619 				)
  2621 				)
  2620 		hedgeEditorMissionPanelShown = false
  2622 		hedgeEditorMissionPanelShown = false
  2621 
  2623 
  2622 	elseif cat[cIndex] == loc("Mine Placement Mode") then
  2624 	elseif cat[cIndex] == loc("Mine Placement Mode") then
  2626 				loc("Use this mode to place mines"),
  2628 				loc("Use this mode to place mines"),
  2627 				loc("Place Object: [Left Click]") .. "|" ..
  2629 				loc("Place Object: [Left Click]") .. "|" ..
  2628 				loc("Change Timer: [Left], [Right]") .. "|" ..
  2630 				loc("Change Timer: [Left], [Right]") .. "|" ..
  2629 				" " .. "|" ..
  2631 				" " .. "|" ..
  2630 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2632 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2631 				loc("Toggle Help: Precise+1") .. "|" ..
  2633 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2632 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2634 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2633 				"", -amMine, 60000
  2635 				"", -amMine, 60000
  2634 				)
  2636 				)
  2635 		hedgeEditorMissionPanelShown = false
  2637 		hedgeEditorMissionPanelShown = false
  2636 
  2638 
  2637 	elseif cat[cIndex] == loc("Dud Mine Placement Mode") then
  2639 	elseif cat[cIndex] == loc("Dud Mine Placement Mode") then
  2641 				loc("Use this mode to place dud mines"),
  2643 				loc("Use this mode to place dud mines"),
  2642 				loc("Place Object: [Left Click]") .. "|" ..
  2644 				loc("Place Object: [Left Click]") .. "|" ..
  2643 				loc("Change Health: [Left], [Right]") .. "|" ..
  2645 				loc("Change Health: [Left], [Right]") .. "|" ..
  2644 				" " .. "|" ..
  2646 				" " .. "|" ..
  2645 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2647 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2646 				loc("Toggle Help: Precise+1") .. "|" ..
  2648 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2647 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2649 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2648 				"", -amMine, 60000
  2650 				"", -amMine, 60000
  2649 				)
  2651 				)
  2650 		hedgeEditorMissionPanelShown = false
  2652 		hedgeEditorMissionPanelShown = false
  2651 
  2653 
  2652 	elseif cat[cIndex] == loc("Sticky Mine Placement Mode") then
  2654 	elseif cat[cIndex] == loc("Sticky Mine Placement Mode") then
  2656 				loc("Use this mode to place sticky mines"),
  2658 				loc("Use this mode to place sticky mines"),
  2657 				loc("Place Object: [Left Click]") .. "|" ..
  2659 				loc("Place Object: [Left Click]") .. "|" ..
  2658 				loc("Change Timer: [Left], [Right]") .. "|" ..
  2660 				loc("Change Timer: [Left], [Right]") .. "|" ..
  2659 				" " .. "|" ..
  2661 				" " .. "|" ..
  2660 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2662 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2661 				loc("Toggle Help: Precise+1") .. "|" ..
  2663 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2662 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2664 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2663 				"", -amSMine, 60000
  2665 				"", -amSMine, 60000
  2664 				)
  2666 				)
  2665 		hedgeEditorMissionPanelShown = false
  2667 		hedgeEditorMissionPanelShown = false
  2666 
  2668 
  2667 	elseif cat[cIndex] == loc("Air Mine Placement Mode") then
  2669 	elseif cat[cIndex] == loc("Air Mine Placement Mode") then
  2671 				loc("Use this mode to place air mines"),
  2673 				loc("Use this mode to place air mines"),
  2672 				loc("Place Object: [Left Click]") .. "|" ..
  2674 				loc("Place Object: [Left Click]") .. "|" ..
  2673 				loc("Change Timer: [Left], [Right]") .. "|" ..
  2675 				loc("Change Timer: [Left], [Right]") .. "|" ..
  2674 				" " .. "|" ..
  2676 				" " .. "|" ..
  2675 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2677 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2676 				loc("Toggle Help: Precise+1") .. "|" ..
  2678 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2677 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2679 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2678 				"", -amAirMine, 60000
  2680 				"", -amAirMine, 60000
  2679 				)
  2681 				)
  2680 		hedgeEditorMissionPanelShown = false
  2682 		hedgeEditorMissionPanelShown = false
  2681 
  2683 
  2682 	elseif cat[cIndex] == loc("Weapon Crate Placement Mode") then
  2684 	elseif cat[cIndex] == loc("Weapon Crate Placement Mode") then
  2686 				loc("Use this mode to place weapon crates"),
  2688 				loc("Use this mode to place weapon crates"),
  2687 				loc("Place Object: [Left Click]") .. "|" ..
  2689 				loc("Place Object: [Left Click]") .. "|" ..
  2688 				loc("Change Content: [Left], [Right]") .. "|" ..
  2690 				loc("Change Content: [Left], [Right]") .. "|" ..
  2689 				" " .. "|" ..
  2691 				" " .. "|" ..
  2690 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2692 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2691 				loc("Toggle Help: Precise+1") .. "|" ..
  2693 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2692 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2694 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2693 				"", 7, 60000
  2695 				"", 7, 60000
  2694 				)
  2696 				)
  2695 		hedgeEditorMissionPanelShown = false
  2697 		hedgeEditorMissionPanelShown = false
  2696 
  2698 
  2697 	elseif cat[cIndex] == loc("Utility Crate Placement Mode") then
  2699 	elseif cat[cIndex] == loc("Utility Crate Placement Mode") then
  2701 				loc("Use this mode to place utility crates"),
  2703 				loc("Use this mode to place utility crates"),
  2702 				loc("Place Object: [Left Click]") .. "|" ..
  2704 				loc("Place Object: [Left Click]") .. "|" ..
  2703 				loc("Change Content: [Left], [Right]") .. "|" ..
  2705 				loc("Change Content: [Left], [Right]") .. "|" ..
  2704 				" " .. "|" ..
  2706 				" " .. "|" ..
  2705 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2707 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2706 				loc("Toggle Help: Precise+1") .. "|" ..
  2708 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2707 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2709 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2708 				"", 5, 60000
  2710 				"", 5, 60000
  2709 				)
  2711 				)
  2710 		hedgeEditorMissionPanelShown = false
  2712 		hedgeEditorMissionPanelShown = false
  2711 
  2713 
  2712 	elseif cat[cIndex] == loc("Health Crate Placement Mode") then
  2714 	elseif cat[cIndex] == loc("Health Crate Placement Mode") then
  2716 				loc("Use this mode to place health crates"),
  2718 				loc("Use this mode to place health crates"),
  2717 				loc("Place Object: [Left Click]") .. "|" ..
  2719 				loc("Place Object: [Left Click]") .. "|" ..
  2718 				loc("Change Health Boost: [Left], [Right]") .. "|" ..
  2720 				loc("Change Health Boost: [Left], [Right]") .. "|" ..
  2719 				" " .. "|" ..
  2721 				" " .. "|" ..
  2720 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2722 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2721 				loc("Toggle Help: Precise+1") .. "|" ..
  2723 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2722 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2724 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2723 				"", 6, 60000
  2725 				"", 6, 60000
  2724 				)
  2726 				)
  2725 		hedgeEditorMissionPanelShown = false
  2727 		hedgeEditorMissionPanelShown = false
  2726 
  2728 
  2727 	elseif cat[cIndex] == loc("Repositioning Mode") then
  2729 	elseif cat[cIndex] == loc("Repositioning Mode") then
  2731 				loc("Use this mode to select, reposition and delete gears"),
  2733 				loc("Use this mode to select, reposition and delete gears"),
  2732 				loc("Select/Place/Delete Gear: [Left Click]") .. "|" ..
  2734 				loc("Select/Place/Delete Gear: [Left Click]") .. "|" ..
  2733 				loc("Choose Selection/Placement/Deletion: [Left], [Right]") .. "|" ..
  2735 				loc("Choose Selection/Placement/Deletion: [Left], [Right]") .. "|" ..
  2734 				" " .. "|" ..
  2736 				" " .. "|" ..
  2735 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2737 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2736 				loc("Toggle Help: Precise+1") .. "|" ..
  2738 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2737 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2739 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2738 				"", -amAirAttack, 60000
  2740 				"", -amAirAttack, 60000
  2739 				)
  2741 				)
  2740 		hedgeEditorMissionPanelShown = false
  2742 		hedgeEditorMissionPanelShown = false
  2741 
  2743 
  2742 	elseif cat[cIndex] == loc("Sprite Modification Mode") then
  2744 	elseif cat[cIndex] == loc("Sprite Modification Mode") then
  2744 		ShowMission	(
  2746 		ShowMission	(
  2745 				loc("SPRITE MODIFICATION MODE"),
  2747 				loc("SPRITE MODIFICATION MODE"),
  2746 				loc("Use to select, modify, or delete girders, rubbers, or sprites."),
  2748 				loc("Use to select, modify, or delete girders, rubbers, or sprites."),
  2747 				loc("Change modification mode: [Left], [Right]") .."|"..
  2749 				loc("Change modification mode: [Left], [Right]") .."|"..
  2748 				loc("While in modification mode, you can change|the LandFlag by clicking on an object.") .. "|" ..
  2750 				loc("While in modification mode, you can change|the LandFlag by clicking on an object.") .. "|" ..
  2749 				loc("Set LandFlag: [1], [2], [3], [4]") .. "|" ..
       
  2750 				" " .. "|" ..
  2751 				" " .. "|" ..
  2751 				loc("1 - Normal Land") .. "|" ..
  2752 				loc("Normal Land: [1]") .. "|" ..
  2752 				loc("2 - Indestructible Land") .. "|" ..
  2753 				loc("Indestructible Land: [2]") .. "|" ..
  2753 				loc("3 - Icy Land") .. "|" ..
  2754 				loc("Icy Land: [3]") .. "|" ..
  2754 				loc("4 - Bouncy Land") .. "|" ..
  2755 				loc("Bouncy Land: [4]") .. "|" ..
  2755 				" " .. "|" ..
  2756 				" " .. "|" ..
  2756 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2757 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2757 				loc("Toggle Help: Precise+1") .. "|" ..
  2758 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2758 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2759 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2759 				"", -amAirAttack, 60000
  2760 				"", -amAirAttack, 60000
  2760 				)
  2761 				)
  2761 		hedgeEditorMissionPanelShown = false
  2762 		hedgeEditorMissionPanelShown = false
  2762 
  2763 
  2763 	elseif cat[cIndex] == loc("Sprite Placement Mode") then
  2764 	elseif cat[cIndex] == loc("Sprite Placement Mode") then
  2765 		ShowMission	(
  2766 		ShowMission	(
  2766 				loc("SPRITE PLACEMENT MODE"),
  2767 				loc("SPRITE PLACEMENT MODE"),
  2767 				loc("Use this mode to place custom sprites."),
  2768 				loc("Use this mode to place custom sprites."),
  2768 				loc("Change sprite: [Left], [Right]") .. "|" ..
  2769 				loc("Change sprite: [Left], [Right]") .. "|" ..
  2769 				loc("Change sprite frame: [Precise]+[Left], [Precise]+[Right]") .. "|" ..
  2770 				loc("Change sprite frame: [Precise]+[Left], [Precise]+[Right]") .. "|" ..
  2770 				loc("Set LandFlag: [1], [2], [3], [4]") .. "|" ..
       
  2771 				" " .. "|" ..
  2771 				" " .. "|" ..
  2772 				loc("1 - Normal Land") .. "|" ..
  2772 				loc("Normal Land: [1]") .. "|" ..
  2773 				loc("2 - Indestructible Land") .. "|" ..
  2773 				loc("Indestructible Land: [2]") .. "|" ..
  2774 				loc("3 - Icy Land") .. "|" ..
  2774 				loc("Icy Land: [3]") .. "|" ..
  2775 				loc("4 - Bouncy Land") .. "|" ..
  2775 				loc("Bouncy Land: [4]") .. "|" ..
  2776 				" " .. "|" ..
  2776 				" " .. "|" ..
  2777 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2777 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2778 				loc("Toggle Help: Precise+1") .. "|" ..
  2778 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2779 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2779 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2780 				"", 2, 60000
  2780 				"", 2, 60000
  2781 				)
  2781 				)
  2782 		hedgeEditorMissionPanelShown = false
  2782 		hedgeEditorMissionPanelShown = false
  2783 
  2783 
  2784 	elseif cat[cIndex] == loc("Goal Definition Mode") then
  2784 	elseif cat[cIndex] == loc("Goal Definition Mode") then
  2788 				loc("Use this mode to mark gears for win/lose conditions."),
  2788 				loc("Use this mode to mark gears for win/lose conditions."),
  2789 				loc("Mark/unmark gear: [Left Click]") .. "|" ..
  2789 				loc("Mark/unmark gear: [Left Click]") .. "|" ..
  2790 				loc("Select win/lose condition: [Left], [Right]") .. "|" ..
  2790 				loc("Select win/lose condition: [Left], [Right]") .. "|" ..
  2791 				" " .. "|" ..
  2791 				" " .. "|" ..
  2792 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2792 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2793 				loc("Toggle Help: Precise+1") .. "|" ..
  2793 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2794 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2794 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2795 				"", 3, 60000
  2795 				"", 3, 60000
  2796 				)
  2796 				)
  2797 		hedgeEditorMissionPanelShown = false
  2797 		hedgeEditorMissionPanelShown = false
  2798 	elseif cat[cIndex] == loc("Hog Identity Mode") then
  2798 	elseif cat[cIndex] == loc("Hog Identity Mode") then
  2799 
  2799 
  2802 				loc("Use this mode to give a hog a preset identity and weapons."),
  2802 				loc("Use this mode to give a hog a preset identity and weapons."),
  2803 				loc("Set Identity: [Left Click]") .. "|" ..
  2803 				loc("Set Identity: [Left Click]") .. "|" ..
  2804 				loc("[Left], [Right]: Change between identities.") .. "|" ..
  2804 				loc("[Left], [Right]: Change between identities.") .. "|" ..
  2805 				" " .. "|" ..
  2805 				" " .. "|" ..
  2806 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2806 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2807 				loc("Toggle Help: Precise+1") .. "|" ..
  2807 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2808 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2808 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2809 				"", 3, 60000
  2809 				"", 3, 60000
  2810 				)
  2810 				)
  2811 		hedgeEditorMissionPanelShown = false
  2811 		hedgeEditorMissionPanelShown = false
  2812 
  2812 
  2813 	elseif cat[cIndex] == loc("Team Identity Mode") then
  2813 	elseif cat[cIndex] == loc("Team Identity Mode") then
  2817 				loc("Use this mode to give an entire team themed hats and names."),
  2817 				loc("Use this mode to give an entire team themed hats and names."),
  2818 				loc("Set Identity: [Left Click]") .. "|" ..
  2818 				loc("Set Identity: [Left Click]") .. "|" ..
  2819 				loc("[Left], [Right]: Change between identities.") .. "|" ..
  2819 				loc("[Left], [Right]: Change between identities.") .. "|" ..
  2820 				" " .. "|" ..
  2820 				" " .. "|" ..
  2821 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2821 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2822 				loc("Toggle Help: Precise+1") .. "|" ..
  2822 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2823 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2823 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2824 				"", 3, 60000
  2824 				"", 3, 60000
  2825 				)
  2825 				)
  2826 		hedgeEditorMissionPanelShown = false
  2826 		hedgeEditorMissionPanelShown = false
  2827 
  2827 
  2828 	elseif cat[cIndex] == loc("Health Modification Mode") then
  2828 	elseif cat[cIndex] == loc("Health Modification Mode") then
  2832 				loc("Use this mode to set the health of hogs, health crates, barrels and duds."),
  2832 				loc("Use this mode to set the health of hogs, health crates, barrels and duds."),
  2833 				loc("Set Health: [Left Click]") .. "|" ..
  2833 				loc("Set Health: [Left Click]") .. "|" ..
  2834 				loc("[Left], [Right]: Change health value.") .. "|" ..
  2834 				loc("[Left], [Right]: Change health value.") .. "|" ..
  2835 				" " .. "|" ..
  2835 				" " .. "|" ..
  2836 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2836 				loc("Change Placement Mode: [Up], [Down]") .. "|" ..
  2837 				loc("Toggle Help: Precise+1") .. "|" ..
  2837 				loc("Toggle Help: [Precise]+[1]") .. "|" ..
  2838 				loc("Toggle Gear Information: Precise+3") .. "|" ..
  2838 				loc("Toggle Gear Information: [Precise]+[3]") .. "|" ..
  2839 				"", 3, 60000
  2839 				"", 3, 60000
  2840 				)
  2840 				)
  2841 		hedgeEditorMissionPanelShown = false
  2841 		hedgeEditorMissionPanelShown = false
  2842 
  2842 
  2843 	end
  2843 	end
  3437 		" " .. "|" ..
  3437 		" " .. "|" ..
  3438 		loc("Place Girder: Girder") .. "|" ..
  3438 		loc("Place Girder: Girder") .. "|" ..
  3439 		loc("Place Rubber: Rubber") .. "|" ..
  3439 		loc("Place Rubber: Rubber") .. "|" ..
  3440 		loc("Place Gears (and more): Air Attack") .. "|" ..
  3440 		loc("Place Gears (and more): Air Attack") .. "|" ..
  3441 		loc("Change Selection: [Up], [Down], [Left], [Right]") .. "|" ..
  3441 		loc("Change Selection: [Up], [Down], [Left], [Right]") .. "|" ..
  3442 		loc("Toggle Help: Precise+1 (While a tool is selected)") .. "|" ..
  3442 		loc("Toggle Help: [Precise]+[1] (While a tool is selected)") .. "|" ..
  3443 		" " .. "|" ..
  3443 		" " .. "|" ..
  3444 		loc("COMMANDS: (Use while no weapon is selected)") .. "|" ..
  3444 		loc("COMMANDS: (Use while no weapon is selected)") .. "|" ..
  3445 		loc("Save Level: Precise+4") .. "|" ..
  3445 		loc("Save Level: [Precise]+[4]") .. "|" ..
  3446 		loc("Toggle Editing Weapons and Tools: Precise+2")
  3446 		loc("Toggle Editing Weapons and Tools: [Precise]+[2]")
  3447 		, 4, 5000
  3447 		, 4, 5000
  3448 		)
  3448 		)
  3449 	hedgeEditorMissionPanelShown = true
  3449 	hedgeEditorMissionPanelShown = true
  3450 end
  3450 end
  3451 
  3451