/[drupal]/contributions/modules/fsgame/world_potpourri.module
ViewVC logotype

Contents of /contributions/modules/fsgame/world_potpourri.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download) (as text)
Sun Sep 28 14:16:36 2008 UTC (13 months, 3 weeks ago) by aaron
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +9 -7 lines
File MIME type: text/x-php
  * Add ahah to character skills on class change (aaronwinborn).
1 <?php
2 // $Id: world_potpourri.module,v 1.5 2008/08/13 11:46:00 aaron Exp $
3
4 /**
5 * @file
6 * Default world for 5 Second Game, filled with cross-genre chaos.
7 */
8
9 /**
10 * Implementation of hook_fsgame_world_classes().
11 */
12 function world_potpourri_fsgame_world_classes() {
13 return array(
14 'card_shark' => array(
15 'title' => t('Card Shark'),
16 'description' => t('Give them five cards, and a card shark will take you for all you have.'),
17 'attributes' => array('paper', 'paper', 'scissors'),
18 'permanent modifiers' => array(
19 'paper' => +1,
20 'rock' => -1,
21 ),
22 'preferred modes' => array('cards'),
23 ),
24 'clown' => array(
25 'title' => t('Clown'),
26 'description' => t('Hopelessly humorous, clowns combat their foes with giant hands, cream pies, and very loud horns.'),
27 'attributes' => array('rock', 'rock', 'scissors'),
28 'permanent modifiers' => array(
29 'rock' => +1,
30 'paper' => -1,
31 ),
32 'preferred modes' => array('pranks'),
33 ),
34 'killjoy' => array(
35 'title' => t('Killjoy'),
36 'description' => t('Enemies of the clowns, killjoys are jacks-of-all-trades whose only goal is to stop the spread of glee.'),
37 'attributes' => array('paper', 'scissors', 'rock'),
38 ),
39 );
40 }
41
42 function world_potpourri_fsgame_world_skill_modes() {
43 return array(
44 'pranks' => array(
45 'title' => t('Pranks'),
46 'description' => t(''),
47 'attribute' => 'rock',
48 ),
49 'cards' => array(
50 'title' => t('Cards'),
51 'description' => t('The guy who invented poker was bright, but the guy who invented the chip was a genius.'),
52 'attribute' => 'paper',
53 ),
54 );
55 }
56
57 function world_potpourri_fsgame_world_skills() {
58 return array(
59 'bluff' => array(
60 'title' => t('Bluff'),
61 'description' => t('Sometimes nothing can be a real cool hand.'),
62 'skill mode' => 'cards',
63 'attribute' => 'paper',
64 'contest' => 'attack',
65 ),
66 'full_house' => array(
67 'title' => t('Full House'),
68 'description' => t('I got a full house, sucker! What you got?'),
69 'skill mode' => 'cards',
70 'attribute' => 'rock',
71 'contest' => 'attack',
72 ),
73 'pair' => array(
74 'title' => t('Pair'),
75 'description' => t('A pair of ones, and another pair of ones...'),
76 'skill mode' => 'cards',
77 'attribute' => 'scissors',
78 'contest' => 'attack',
79 ),
80 'fold' => array(
81 'title' => t('Fold'),
82 'description' => t('Fold and live to fold again.'),
83 'skill mode' => 'cards',
84 'attribute' => 'rock',
85 'contest' => 'defend',
86 ),
87 'raise' => array(
88 'title' => t('Raise'),
89 'description' => t("If it's good enough to call, it's good enough to raise."),
90 'skill mode' => 'cards',
91 'attribute' => 'scissors',
92 'contest' => 'defend',
93 ),
94 'call' => array(
95 'title' => t('Call'),
96 'description' => t("I guess there's nothing left but all in."),
97 'skill mode' => 'cards',
98 'attribute' => 'paper',
99 'contest' => 'defend',
100 ),
101 'pie' => array(
102 'title' => t('Pie in the face'),
103 'description' => t(''),
104 'skill mode' => 'pranks',
105 'attribute' => 'scissors',
106 'contest' => 'attack',
107 ),
108 );
109 }

  ViewVC Help
Powered by ViewVC 1.1.2