Browse files

Trimming down grammar noun context functions.

  • Loading branch information...
1 parent af7329e commit 65f84ff80349bd742d6a7d1c613f1b92d2efb9d8 Mike Cantelon committed Aug 22, 2010
Showing with 2 additions and 29 deletions.
  1. +1 −1 engine/class/game.class.rb
  2. +0 −27 engine/module/referred_to_using_english.rb
  3. +1 −1 standard_commands/remove.yaml
View
2 engine/class/game.class.rb
@@ -561,7 +561,7 @@ def if_worn_take_off(prop)
@player.wearing.delete(prop.id)
- output << "(taking off #{prop.noun_direct_specific})\n"
+ output << "(taking off #{prop.noun})\n"
end
View
27 engine/module/referred_to_using_english.rb
@@ -52,31 +52,4 @@ def noun_direct
end
- # Unused so far
- def noun_direct_cap
-
- noun(false).capitalize
-
- end
-
- def noun_direct_specific
-
- name = ''
-
- if not @proper
-
- name << 'the '
- end
-
- name << noun_base
-
- end
-
- # Unused so far
- def noun_direct_specific_cap
-
- noun_direct_specific.capitalize
-
- end
-
end
View
2 standard_commands/remove.yaml
@@ -10,7 +10,7 @@ logic: |
if not @player.wearing.index(prop.id)
output << "You're not wearing #{prop.noun}.\n"
- #output << "You're not wearing #{prop.noun_direct_specific}.\n"
+ #output << "You're not wearing #{prop.noun}.\n"
else

0 comments on commit 65f84ff

Please sign in to comment.