lib/gamefic/action_ext/look.rb in gamefic-0.0.4 vs lib/gamefic/action_ext/look.rb in gamefic-0.0.5
- old
+ new
@@ -7,10 +7,10 @@
Action.new nil, :look_around do |actor|
actor.perform "look"
end
Action.new nil, :itemize_room, Query.new(:string) do |actor, option|
- actor.tell "#{actor.parent.longname.cap_first}"
+ actor.tell "## #{actor.parent.longname.cap_first}"
if option == "full"
actor.tell actor.parent.description
end
chars = actor.parent.children.that_are(Character) - [actor]
if chars.length > 0