From 2c0d88a372f3276f4ffa5c4447bda36b2840da88 Mon Sep 17 00:00:00 2001 From: jj Date: Tue, 19 Mar 2013 11:31:34 +0100 Subject: [PATCH] exterminate him: complain if its a she --- scripts/exterminate.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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"