1#textdomain wesnoth-ai 2[event] 3 name=preload 4 first_time_only=no 5 [lua] 6 code = << register_test('0002-poisoning','Poison use test'); >> 7 [/lua] 8[/event] 9 10[event] 11 name=0002-poisoning 12 first_time_only=no 13 14 [message] 15 speaker=narrator 16 image=wesnoth-icon.png 17 message= _ "This situation should test the ability of AI to spread poison around..." 18 [/message] 19 [unit] 20 side=2 21 x,y=23,14 22 type="Orcish Assassin" 23 [/unit] 24 [unit] 25 side=2 26 x,y=25,17 27 type="Orcish Assassin" 28 [/unit] 29 [unit] 30 side=2 31 x,y=19,7 32 type="Orcish Assassin" 33 [/unit] 34 [unit] 35 side=2 36 x,y=10,14 37 type="Orcish Assassin" 38 [/unit] 39 [unit] 40 side=2 41 x,y=20,7 42 type="Orcish Assassin" 43 [/unit] 44 [unit] 45 side=3 46 x,y=20,5 47 type="Drake Warden" 48 random_traits="no" 49 [modifications] 50 {TRAIT_RESILIENT} 51 [/modifications] 52 [/unit] 53 [unit] 54 side=3 55 x,y=21,7 56 type="Drake Warden" 57 random_traits=no 58 [/unit] 59 [unit] 60 side=3 61 x,y=23,16 62 type="Drake Warden" 63 random_traits=no 64 [modifications] 65 {TRAIT_RESILIENT} 66 [/modifications] 67 [/unit] 68 [unit] 69 side=3 70 x,y=17,5 71 type="Drake Warden" 72 random_traits=no 73 [/unit] 74 [unit] 75 side=3 76 x,y=15,7 77 type="Drake Warden" 78 random_traits=no 79 [/unit] 80 [unit] 81 side=3 82 x,y=17,8 83 type="Drake Warden" 84 random_traits=no 85 [/unit] 86 [unit] 87 side=3 88 x,y=19,9 89 type="Drake Warden" 90 random_traits=no 91 [/unit] 92 [unit] 93 side=3 94 x,y=26,18 95 type="Ancient Wose" 96 random_traits=no 97 [/unit] 98 [unit] 99 side=3 100 hitpoints=3 101 x,y=26,14 102 type="Drake Warden" 103 random_traits=no 104 [/unit] 105 [unit] 106 side=3 107 x,y=9,17 108 type="Skeleton" 109 [/unit] 110 [label] 111 color="255,0,0" 112 text= _ "Undead target test" 113 visible_in_fog="yes" 114 x="9" 115 y="17" 116 [/label] 117 [label] 118 color="255,0,0" 119 text= _ "Target choose test" 120 visible_in_fog="yes" 121 x="19" 122 y="6" 123 [/label] 124 [label] 125 color="255,0,0" 126 text= _ "Regeneration attack test" 127 visible_in_fog="yes" 128 x="25" 129 y="19" 130 [/label] 131 [label] 132 color="255,0,0" 133 text= _ "Weapon test with low hp target" 134 visible_in_fog="yes" 135 x="26" 136 y="14" 137 [/label] 138 [modify_side] 139 side=3 140 switch_ai=$test_path_to_idle_ai 141 [/modify_side] 142[/event] 143