version 1/120327 by Kevin Norris

  • Home page
  • Beginning
  • Previous
  • Next

  • Section P1 - Player characters

    A person can be playable. A person is seldom playable.
    Definition: A person is available for play if it is playable and it is not the player and it is on-stage.
    After deciding the scope of the player while possessing (this is the allow player to see playable characters rule):
        Repeat with P running through available for play people:
            Place P in scope, but not its contents.
    Possessing is an action out of world applying to one visible thing.
    The specification of the possessing action is "Changes the player to the noun. The noun must be a person, and must be designated as 'playable.' The viewpoint of the story will be changed using the phrase 'Now the player is <someone>'. This will not have any in-game effect, other than changing who the command prompt is directed at. See the Recipe book for advice on dealing with multiple player characters. For convenience, players marked as playable will follow instructions (ALICE, GO WEST) and accept gifts (GIVE THE WIDGET TO BOB) automatically, but you could always change the relevant rules (see the persuasion and check giving it to rulebooks)."
    Understand "possess [someone]" or "play as [someone]" or "become [someone]" as possessing.
    Does the player mean possessing something which is not a person (this is the very unlikely to possess non-person rule):
        It is very unlikely.
    Does the player mean possessing a playable person (this is the likely to possess playable characters rule):
        It is likely.
    The possessing action has an object called the person possessing. ["the actor" might suffice, but this seems less ambiguous]
    Setting action variables for possessing (this is the store possessor rule):
        Now the person possessing is the player.
    Check possessing the player (this is the can't possess yourself rule):
        Say "You are already playing as [the printed name of the player]." instead.
    Check possessing (this is the can only possess available people rule):
        Unless the noun is available for play:
            Say "Right now, [unless the player can see an available for play person]you can only play as yourself ([the printed name of the player])[otherwise]in addition to yourself ([the printed name of the player]), you can play as [the list of visible available for play people][end if]." instead.
    Carry out possessing (this is the standard carry out possessing rule):
        Now the player is the noun.
    Report an actor possessing (this is the standard report possessing rule):
        Say "OK, you are now [the printed name of the noun].";
        Unless the location of the player is the location of the person possessing:
            Try looking.
    Persuasion rule when the person asked is playable (this is the playable characters are obliging rule): [realistically, if you can play as them, you should be able to give them instructions]
        Persuasion succeeds.

    Check an actor giving something to (this is the block giving to NPCs rule): [the block giving rule is supposed to simulate refusal of the gift... see above]
        If the second noun is the player, continue the action; [the player should not refuse gifts in most cases]
        If the second noun is not playable:
            abide by the block giving rule.
    The block giving to NPCs rule is listed instead of the block giving rule in the check giving it to rulebook. [this is better than a procedural rule]