Module: GamesAndRpgParadise::Mud::Juggling
- Defined in:
- lib/games_and_rpg_paradise/mud/actions/juggling.rb
Overview
RpgParadise::Mud::Juggling
Class Method Summary
collapse
Class Method Details
.start_to_juggle(*these_objects) ⇒ Object
#
RpgParadise::Mud::Juggling.start_to_juggle
#
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/games_and_rpg_paradise/mud/actions/juggling.rb', line 18
def self.start_to_juggle(*these_objects)
actor = current_actor?
if actor.is_already_juggling?
actor.e 'But you are already juggling '+these_objects.join(', ')
else
actor.add_action(:is_now_Juggling)
actor.e 'You start to juggle '+these_objects.join(', ')
room_notification actor.name?+' starts to juggle '+these_objects.join(', ')
end
end
|