Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. def shoot_aimed(command, game_state)
  2. case bput(command, 'isn\'t loaded', 'There is nothing', 'But your', /you (fire|poach) a .* (arrow|bolt|shard|rock|sphere|clump|coral|fist|holder|lump|patella|pellet|pulzone|quadrello|quill|stone|stopper|verretto) at/i, 'I could not find', 'with no effect and falls to the ground', 'Face what', 'How can you (poach|snipe)', 'your moving to fire went unobserved', 'notices your attempt to remain hidden', 'you don\'t feel like fighting right now', 'That weapon must be in your right hand to fire')
  3. when /How can you (poach|snipe)/, 'notices your attempt to remain hidden'
  4. shoot_aimed('shoot', game_state)
  5. when 'your moving to fire went unobserved'
  6. game_state.action_taken
  7. when /you (fire|poach) a .* (arrow|bolt|shard|rock|sphere|clump|coral|fist|holder|lump|patella|pellet|pulzone|quadrello|quill|stone|stopper|verretto) at/i
  8. game_state.action_taken
  9. ammo = Regexp.last_match(2)
  10. bput("stow my #{ammo}",'You pick up','Stow what')
  11. when 'you don\'t feel like fighting right now', 'That weapon must be in your right hand to fire'
  12. pause 1
  13. shoot_aimed(command, game_state)
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement