Advertisement
Dasffion

Untitled

Oct 7th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. case bput("stow #{item}", 'You pick up', 'You get', 'You need a free hand', 'There isn\'t any more room', 'You just can\'t', 'push you over the item limit', 'You stop as you realize the .* is not yours', 'Stow what', 'already in your inventory', 'The .* is not designed to carry anything')
  2. when 'already in your inventory'
  3. if @gem_nouns.include?(item)
  4. bput('stow gem', 'You pick up', 'You get', 'You need a free hand', 'You just can\'t', 'push you over the item limit', 'You stop as you realize the .* is not yours', 'Stow what', 'already in your inventory')
  5. else
  6. bput("stow other #{item}", 'You pick up', 'You get', 'You need a free hand', 'You just can\'t', 'push you over the item limit', 'You stop as you realize the .* is not yours', 'Stow what', 'already in your inventory')
  7. end
  8. when 'You pick up', 'You get'
  9. @current_box_count += 1 if @box_loot_limit && @box_nouns.include?(item)
  10. end
  11. when 'There isn\'t any more room'
  12. at_box_limit = true, @box_loot_limit = @current_box_count if @box_nouns.include?(item)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement