Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def shoot_aimed(command, game_state)
- 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')
- when /How can you (poach|snipe)/, 'notices your attempt to remain hidden'
- shoot_aimed('shoot', game_state)
- when 'your moving to fire went unobserved'
- game_state.action_taken
- 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
- game_state.action_taken
- ammo = Regexp.last_match(2)
- bput("stow my #{ammo}",'You pick up','Stow what')
- when 'you don\'t feel like fighting right now', 'That weapon must be in your right hand to fire'
- pause 1
- shoot_aimed(command, game_state)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement