Permalink
Browse files

Spelling corrections, added NEXT_STEPS item.

  • Loading branch information...
1 parent 3e23cb3 commit 814de6e323298233eb97ea2590ecd335e31156b0 @nickmontfort nickmontfort committed Mar 31, 2011
Showing with 14 additions and 25 deletions.
  1. +4 −0 NEXT_STEPS
  2. +1 −1 README
  3. +7 −8 fiction/adventure.py
  4. +2 −2 fiction/cplus.py
  5. +0 −14 fiction/lost_one.py
View
@@ -1,5 +1,9 @@
## NEXT STEPS for Curveship ##
+<> Always add an actor to the actor's own concept, even if the actor appears
+in a compartment initially. Otherwise, a PC in a dark compartment will lead
+to a crash.
+
<> Implement syllepsis, narration by category, which will apply very well to
recounting:
"You wandered to many places: From X to Y, from there back to X, ..."
View
2 README
@@ -181,7 +181,7 @@ Simulated Bank Robbery:
python curveship.py fiction/robbery.py
-Add the names of any span files afterwards to apply those spins. For instance:
+Add the names of any spin files afterwards to apply those spins. For instance:
python curveship.py fiction/cplus.py spin/valley.py spin/retrograde.py
View
@@ -12,7 +12,6 @@
from action_model import Behave, Configure, Modify, Sense
from joker import update_spin
import can
-import when
discourse = {
@@ -314,11 +313,11 @@ def react(self, world, basis):
not world.item['@troll'].parent == '@northeast_side_of_chasm'
and basis.configure and basis.direct == '@adventurer' and
basis.new_parent == '@northeast_side_of_chasm'):
- appear = Configure('appear', '@cosmos',
- template='[direct/s] [appear/v]',
- direct='@troll',
- new=('in', '@northeast_side_of_chasm'),
- salience=0.9)
+ actions.append(Configure('appear', '@cosmos',
+ template='[direct/s] [appear/v]',
+ direct='@troll',
+ new=('in', '@northeast_side_of_chasm'),
+ salience=0.9))
actions.append(Modify('change_blocked', '@cosmos',
direct='@troll', feature='blocked',
new=['cross', 'over', 'southwest'],
@@ -401,7 +400,7 @@ def __init__(self, tag, **keywords):
def prevent(self, world, basis):
"""Block exits."""
if (basis.behave and basis.verb == 'leave' and
- basis.way in self.blocked):
+ basis.direction in self.blocked):
return True
return False
@@ -529,7 +528,7 @@ def react(self, world, basis):
direct='@bear', feature='alive',
new=False))
if self.chained:
- holder == world.item['@chain'].parent
+ holder = world.item['@chain'].parent
actions.append(Modify('die', '@cosmos',
template='[direct/s] [die/1/v]',
direct=holder, feature='alive',
View
@@ -9,8 +9,8 @@
__version__ = '0.5.0.0'
__status__ = 'Development'
-from item_model import Actor, Thing, Room, Substance
-from action_model import Modify, Sense
+from item_model import Actor, Thing, Substance
+from action_model import Modify
import can
import fiction.cloak
View
@@ -96,20 +96,6 @@ def sentence_filter(self, phrases):
phrases.append(suffix)
return phrases
-def sentence_filter(phrases):
- new_phrases = phrases[:1]
- for original in phrases[1:]:
- if randint(1,6) == 1:
- if not new_phrases[-1][-1] in ',.:;':
- new_phrases.append(',')
- new_phrases.append(choice(interjections))
- if not original[:1] in ',.:;':
- new_phrases.append(',')
- new_phrases.append(original)
- return new_phrases
-
-
-
distance_filter = Distance_Filter(0)

0 comments on commit 814de6e

Please sign in to comment.