equal
deleted
inserted
replaced
207 end |
207 end |
208 |
208 |
209 checkScore() |
209 checkScore() |
210 giveWeapons(CurrentHedgehog) |
210 giveWeapons(CurrentHedgehog) |
211 drawCircles() |
211 drawCircles() |
|
212 setAIHints() |
212 kill_reward= numhhs*10 |
213 kill_reward= numhhs*10 |
213 |
214 |
214 if CurrentHedgehog == mutant then |
215 if CurrentHedgehog == mutant then |
215 mt_hurt=true |
216 mt_hurt=true |
216 disease= mutant_base_disease - numhhs |
217 disease= mutant_base_disease - numhhs |
395 SetHogHat(gear, 'NoHat') |
396 SetHogHat(gear, 'NoHat') |
396 SetHogHat(gear, getGearValue(gear,"Hat")) |
397 SetHogHat(gear, getGearValue(gear,"Hat")) |
397 setGearValue(mutant,"SelfDestruct",false) |
398 setGearValue(mutant,"SelfDestruct",false) |
398 mt_hurt=false |
399 mt_hurt=false |
399 mutant=nil |
400 mutant=nil |
|
401 end |
|
402 |
|
403 function setAIHints() |
|
404 for i = 0, #hhs do |
|
405 if mutant == nil or hhs[i] == mutant or CurrentHedgehog == mutant then |
|
406 SetGearAIHints(hhs[i], aihUsual) |
|
407 else |
|
408 SetGearAIHints(hhs[i], aihDoesntMatter) |
|
409 end |
|
410 end |
400 end |
411 end |
401 |
412 |
402 function removeFeeder(gear) |
413 function removeFeeder(gear) |
403 |
414 |
404 if gear~=nil then |
415 if gear~=nil then |