diff --git a/scripts/exterminate.rb b/scripts/exterminate.rb index 72d1a4b4a..ca568a548 100644 --- a/scripts/exterminate.rb +++ b/scripts/exterminate.rb @@ -71,8 +71,13 @@ Ex: exterminate gob exterminate him EOS -when 'him', 'her' +when 'him', 'her', 'it', 'that' 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] else puts "Select a target ingame"