exterminate him: complain if its a she

develop
jj 2013-03-19 11:31:34 +01:00
parent 8733e77245
commit 2c0d88a372
1 changed files with 6 additions and 1 deletions

@ -71,8 +71,13 @@ Ex: exterminate gob
exterminate him exterminate him
EOS EOS
when 'him', 'her' when 'him', 'her', 'it', 'that'
if him = df.unit_find if him = df.unit_find
case him.race_tg.caste[him.caste].caste_id
when 'FEMALE'; puts 'its a she !' if race != 'her'
when 'MALE'; puts 'its a he !' if race != 'him'
else; puts 'its an it !' if race != 'it' and race != 'that'
end
slayit[him] slayit[him]
else else
puts "Select a target ingame" puts "Select a target ingame"