Added lots of help, modified character creation extensively.
Showing
35 changed files
with
524 additions
and
12 deletions
... | @@ -19,7 +19,13 @@ global_aliases = { | ... | @@ -19,7 +19,13 @@ global_aliases = { |
19 | 'wear': 'equip', | 19 | 'wear': 'equip', |
20 | 'eq': 'equip', | 20 | 'eq': 'equip', |
21 | 'goto': 'go', | 21 | 'goto': 'go', |
22 | 'sc': 'score' | 22 | 'sc': 'score', |
23 | 'str': 'strength', | ||
24 | 'dex': 'dexterity', | ||
25 | 'con': 'constitution', | ||
26 | 'int': 'intelligence', | ||
27 | 'wis': 'wisdom', | ||
28 | 'cha': 'charisma' | ||
23 | } | 29 | } |
24 | 30 | ||
25 | 31 | ||
... | @@ -277,8 +283,11 @@ class Commands(object): | ... | @@ -277,8 +283,11 @@ class Commands(object): |
277 | 283 | ||
278 | 284 | ||
279 | def help(self, id, params, players, mud, tokens, command): | 285 | def help(self, id, params, players, mud, tokens, command): |
286 | params = params.lower().strip() | ||
287 | if params in global_aliases: | ||
288 | params = global_aliases[params] | ||
280 | if len(tokens) > 0: | 289 | if len(tokens) > 0: |
281 | filename = 'help/' + tokens[0] + '.txt' | 290 | filename = 'help/' + params + '.txt' |
282 | else: | 291 | else: |
283 | filename = 'help/help.txt' | 292 | filename = 'help/help.txt' |
284 | try: | 293 | try: | ... | ... |
... | @@ -2,6 +2,14 @@ | ... | @@ -2,6 +2,14 @@ |
2 | "name": null, | 2 | "name": null, |
3 | "password": null, | 3 | "password": null, |
4 | "room": null, | 4 | "room": null, |
5 | "abilities": { | ||
6 | "str": 10, | ||
7 | "dex": 10, | ||
8 | "con": 10, | ||
9 | "int": 10, | ||
10 | "wis": 10, | ||
11 | "cha": 10 | ||
12 | }, | ||
5 | "equipment": { | 13 | "equipment": { |
6 | "finger": [null, null], | 14 | "finger": [null, null], |
7 | "hand": [null, null], | 15 | "hand": [null, null], | ... | ... |
help/ace pilot.txt
0 → 100644
help/android.txt
0 → 100644
1 | %bold%greenAndroid | ||
2 | |||
3 | %greenAndroids are artificial creatures with both biological and mechanical | ||
4 | %greenelements, originally created by humanity as servants and now free to | ||
5 | %greenchart their own destiny among the stars. | ||
6 | |||
7 | %greenStat Modifiers: | ||
8 | |||
9 | %green dex: %bold2 | ||
10 | %green int: %bold2 | ||
11 | %green cha: %bold-2 | ||
12 | %green base hp: %bold4 | ||
13 | |||
14 | %boldSee Also: | ||
15 | races | ||
16 | character creation |
help/bounty hunter.txt
0 → 100644
help/charisma.txt
0 → 100644
1 | %bold%greenCharisma | ||
2 | |||
3 | %greenCharisma measures a character's personality, personal | ||
4 | %greenmagnetism, ability to lead, and appearance. A character with a | ||
5 | %greenCharisma score of 0 is unconscious. Your character's Charisma | ||
6 | %greenmodifier is factored into the following: | ||
7 | |||
8 | %green- Bluff, Diplomacy, Disguise, Intimidate, and some Profession | ||
9 | %greenskill checks. | ||
10 | %green- Checks that represent attempts to influence others, including | ||
11 | %greenthe envoy's extraordinary abilities | ||
12 | |||
13 | %boldSee Also: | ||
14 | character creation |
help/constitution.txt
0 → 100644
1 | %bold%greenConstitution | ||
2 | |||
3 | %greenConstitution represents your character's health. A living | ||
4 | %greencreature whose Constitution score reaches 0 dies. Your | ||
5 | %greencharacter's Constitution modifier is factored into the following: | ||
6 | |||
7 | %green- Stamina Points used to perform special actions. | ||
8 | %green- Fortitude saves (to resist diseases, poisons, and similar threats) | ||
9 | |||
10 | %boldSee Also: | ||
11 | character creation |
help/damaya lashuntas.txt
0 → 100644
1 | %bold%greenDamaya Lashuntas | ||
2 | |||
3 | %greenIdealized by many other humanoid races and gifted with innate psychic | ||
4 | %greenabilities, lashuntas are at once consummate scholars and enlightened | ||
5 | %greenwarriors, naturally divided into two specialized subraces with | ||
6 | %greendifferent abilities and societal roles. | ||
7 | |||
8 | %greenStat Modifiers: | ||
9 | |||
10 | %green int: %bold2 | ||
11 | %green cha: %bold2 | ||
12 | %green con: %bold-2 | ||
13 | %green base hp: %bold4 | ||
14 | |||
15 | %boldSee Also: | ||
16 | races | ||
17 | character creation |
help/dexterity.txt
0 → 100644
1 | %bold%greenDexterity | ||
2 | |||
3 | %greenDexterity measures agility, balance, and reflexes. A character | ||
4 | %greenwith a Dexterity score of 0 is unconscious. Your character's | ||
5 | %greenDexterity modifier is factored into the following: | ||
6 | |||
7 | %green- Ranged attack rolls, such as those made with projectile | ||
8 | %greenweapons and energy weapons, as well as some spells. | ||
9 | %green- Energy Armor Class (EAC) and Kinetic Armor Class (KAC). | ||
10 | %green- Reflex saving throws (for leaping out of harm's way). | ||
11 | %green- Acrobatics, Piloting, Sleight of Hand, and Stealth skill checks. | ||
12 | |||
13 | %boldSee Also: | ||
14 | character creation |
help/envoy.txt
0 → 100644
1 | %bold%greenEnvoy | ||
2 | |||
3 | %greenCharismatic people person good at a wide range of skills who inspires | ||
4 | %greenallies to accomplish great heroic feats. | ||
5 | |||
6 | %greenSkills: | ||
7 | |||
8 | %boldAcrobatics Intimidate | ||
9 | %boldAthletics Medicine | ||
10 | %boldBluff Perception | ||
11 | %boldComputers Piloting | ||
12 | %boldCulture Profession | ||
13 | %boldDiplomacy Sense Motive | ||
14 | %boldDisguise Sleight of Hand | ||
15 | %boldEngineering Stealth | ||
16 | |||
17 | %greenProficiencies: | ||
18 | |||
19 | %boldLight Armor Basic Melee | ||
20 | %boldGrenades Small Arms | ||
21 | |||
22 | %boldSee Also: | ||
23 | classes | ||
24 | character creation |
help/human.txt
0 → 100644
1 | %bold%greenHuman | ||
2 | |||
3 | %greenAmbitious, creative, and endlessly curious, humans have shown more drive | ||
4 | %greento explore their system and the universe beyond than any of their neighbor | ||
5 | %greenraces for better and for worse. They've helped usher in a new era of | ||
6 | %greensystem-wide communication and organization and are admired for their | ||
7 | %greenpassion and tenacity, but their tendency to shoot first and think about | ||
8 | %greenthe consequences later can make them a liability for those races otherwise | ||
9 | %greeninclined to work with them. | ||
10 | |||
11 | %greenStat Modifiers: | ||
12 | |||
13 | %green base hp: %bold4 | ||
14 | |||
15 | %boldSee Also: | ||
16 | races | ||
17 | character creation |
help/icon.txt
0 → 100644
help/intelligence.txt
0 → 100644
1 | %bold%greenIntelligence | ||
2 | |||
3 | %greenIntelligence represents how well your character learns and | ||
4 | %greenreasons, and is often associated with knowledge and education. | ||
5 | %greenAnimals have Intelligence scores of 1 or 2, and any creature | ||
6 | %greencapable of understanding a language has a score of at least 3. | ||
7 | %greenA character with an Intelligence score of 0 is unconscious. Your | ||
8 | %greencharacter's Intelligence modifier is factored into the following: | ||
9 | |||
10 | %green- The number of bonus languages your character knows at the | ||
11 | %greenstart of the game. Even if this modifier is a penalty, your | ||
12 | %greencharacter can still use their starting languages unless the | ||
13 | %greenIntelligence score is lower than 3. | ||
14 | %green- The number of skill ranks gained each level, though your | ||
15 | %greencharacter always gets at least 1 skill rank per level. | ||
16 | %green- Computers, Culture, Engineering, Life Science, Medicine, | ||
17 | %greenPhysical Science, and some Profession skill checks. | ||
18 | %green- Bonus technomancer spells. The minimum Intelligence score | ||
19 | %greenneeded to cast a technomancer spell is 10 + the spell's level. | ||
20 | |||
21 | %boldSee Also: | ||
22 | character creation |
help/kasathas.txt
0 → 100644
1 | %bold%greenKasathas | ||
2 | |||
3 | %greenOriginally from a planet orbiting a dying star far beyond the Pact Worlds, | ||
4 | %greenthe four-armed kasathas maintain a reputation as a noble and mysterious | ||
5 | %greenpeople. They are famous for their anachronistic warriors, ancient wisdom, | ||
6 | %greenand strange traditions. | ||
7 | |||
8 | %greenStat Modifiers: | ||
9 | |||
10 | %green str: %bold2 | ||
11 | %green wis: %bold2 | ||
12 | %green int: %bold-2 | ||
13 | %green base hp: %bold4 | ||
14 | |||
15 | %boldSee Also: | ||
16 | races | ||
17 | character creation |
help/korasha lashuntas.txt
0 → 100644
1 | %bold%greenKorasha Lashuntas | ||
2 | |||
3 | %greenIdealized by many other humanoid races and gifted with innate psychic | ||
4 | %greenabilities, lashuntas are at once consummate scholars and enlightened | ||
5 | %greenwarriors, naturally divided into two specialized subraces with | ||
6 | %greendifferent abilities and societal roles. | ||
7 | |||
8 | %greenStat Modifiers: | ||
9 | |||
10 | %green str: %bold2 | ||
11 | %green cha: %bold2 | ||
12 | %green wis: %bold-2 | ||
13 | %green base hp: %bold4 | ||
14 | |||
15 | %boldSee Also: | ||
16 | races | ||
17 | character creation |
help/mechanic.txt
0 → 100644
1 | %bold%greenMechanic | ||
2 | |||
3 | %greenMaster of machines and technology whose tinkering produces a drone | ||
4 | %greencompanion or a powerful brain implant. | ||
5 | |||
6 | %greenSkills: | ||
7 | |||
8 | %boldAthletics Perception | ||
9 | %boldComputers Physical Science | ||
10 | %boldEngineering Piloting | ||
11 | %boldMedicine Profession | ||
12 | |||
13 | %greenProficiencies: | ||
14 | |||
15 | %boldLight Armor Basic Melee | ||
16 | %boldGrenades Small Arms | ||
17 | |||
18 | %boldSee Also: | ||
19 | classes | ||
20 | character creation |
help/mercenary.txt
0 → 100644
help/mystic.txt
0 → 100644
1 | %bold%greenMystic | ||
2 | |||
3 | %greenMagic user whose mysterious connection to a powerful force grants | ||
4 | %greenabilities that break the laws of the universe. | ||
5 | |||
6 | %greenSkills: | ||
7 | |||
8 | %boldBluff Medicine | ||
9 | %boldCulture Mysticism | ||
10 | %boldDiplomacy Perception | ||
11 | %boldDisguise Profession | ||
12 | %boldIntimidate Sense Motive | ||
13 | %boldLife Science Survival | ||
14 | |||
15 | %greenProficiencies: | ||
16 | |||
17 | %boldLight Armor Basic Melee | ||
18 | %boldSmall Arms | ||
19 | |||
20 | %boldSee Also: | ||
21 | classes | ||
22 | character creation |
help/operative.txt
0 → 100644
1 | %bold%greenOperative | ||
2 | |||
3 | %greenStealthy combatant with wide-ranging know-how who is adept at taking | ||
4 | %greenadvantage of unprepared foes. | ||
5 | |||
6 | %greenSkills: | ||
7 | |||
8 | %boldAcrobatics Medicine | ||
9 | %boldAthletics Perception | ||
10 | %boldBluff Piloting | ||
11 | %boldComputers Profession | ||
12 | %boldCulture Sense Motive | ||
13 | %boldDisguise Sleight of Hand | ||
14 | %boldEngineering Stealth | ||
15 | %boldIntimidate Survival | ||
16 | |||
17 | %greenProficiencies: | ||
18 | |||
19 | %boldLight Armor Basic Melee | ||
20 | %boldSmall Arms Sniper Weapons | ||
21 | |||
22 | %boldSee Also: | ||
23 | classes | ||
24 | character creation |
help/outlaw.txt
0 → 100644
help/priest.txt
0 → 100644
help/scholar.txt
0 → 100644
help/shirrens.txt
0 → 100644
1 | %bold%greenShirrens | ||
2 | |||
3 | %greenOnce part of a ravenous hive of locust-like predators, the insectile | ||
4 | %greenshirrens only recently broke with their hive mind to become a race | ||
5 | %greenof telepaths physically addicted to their own individualism, yet | ||
6 | %greendedicated to the idea of community and harmony with other races | ||
7 | |||
8 | %greenStat Modifiers: | ||
9 | |||
10 | %green con: %bold2 | ||
11 | %green wis: %bold2 | ||
12 | %green cha: %bold-2 | ||
13 | %green base hp: %bold6 | ||
14 | |||
15 | %boldSee Also: | ||
16 | races | ||
17 | character creation |
help/solarian.txt
0 → 100644
1 | %bold%greenSolarian | ||
2 | |||
3 | %greenDisciplined warrior whose mastery of the stars grants either a | ||
4 | %greenweapon or armor made of stellar power. | ||
5 | |||
6 | %greenSkills: | ||
7 | |||
8 | %boldAcrobatics Perception | ||
9 | %boldAthletics Physical Science | ||
10 | %boldDiplomacy Profession | ||
11 | %boldIntimidate Sense Motive | ||
12 | %boldMysticism Stealth | ||
13 | |||
14 | %greenProficiencies: | ||
15 | |||
16 | %boldLight Armor Basic Melee | ||
17 | %boldSmall Arms Advanced Melee | ||
18 | |||
19 | %boldSee Also: | ||
20 | classes | ||
21 | character creation |
help/soldier.txt
0 → 100644
1 | %bold%greenSoldier | ||
2 | |||
3 | %greenExpert with a huge range of armor, guns, and melee weapons who | ||
4 | %greenspecializes in certain types of gear. | ||
5 | |||
6 | %greenSkills: | ||
7 | |||
8 | %boldAcrobatics Medicine | ||
9 | %boldAthletics Piloting | ||
10 | %boldEngineering Profession | ||
11 | %boldIntimidate Survival | ||
12 | |||
13 | %greenProficiencies: | ||
14 | |||
15 | %boldLight Armor Heavy Armor | ||
16 | %boldBasic Melee Advanced Melee | ||
17 | %boldSmall Arms Long Guns | ||
18 | %boldHeavy Weapons Sniper Weapons | ||
19 | %boldGrenades | ||
20 | |||
21 | %boldSee Also: | ||
22 | classes | ||
23 | character creation |
help/spacefarer.txt
0 → 100644
help/strength.txt
0 → 100644
1 | %bold%greenStrength | ||
2 | |||
3 | %greenStrength measures muscle and physical power. A character with | ||
4 | %greena Strength score of 0 is unconscious. Your character's Strength | ||
5 | %greenmodifier is factored into the following: | ||
6 | |||
7 | %green- Melee attack rolls and attack rolls made with thrown | ||
8 | %greenweapons (such as grenades). | ||
9 | %green- Damage rolls when using melee weapons or thrown weapons | ||
10 | %green(but not grenades). | ||
11 | %green- Athletics skill checks. | ||
12 | %green- Strength checks (for breaking down doors and the like). | ||
13 | %green- How much gear your character can carry | ||
14 | |||
15 | %boldSee Also: | ||
16 | character creation |
help/technomancer.txt
0 → 100644
1 | %bold%greenTechnomancer | ||
2 | |||
3 | %greenMagic user who is preternaturally attuned to technology and can use | ||
4 | %greenit to unlock powerful effects. | ||
5 | |||
6 | %greenSkills: | ||
7 | |||
8 | %boldComputers Physical Science | ||
9 | %boldEngineering Piloting | ||
10 | %boldLife Science Profession | ||
11 | %boldMysticism Sleight of Hand | ||
12 | |||
13 | %greenProficiencies: | ||
14 | |||
15 | %boldLight Armor Basic Melee | ||
16 | %boldSmall Arms | ||
17 | |||
18 | %boldSee Also: | ||
19 | classes | ||
20 | character creation |
help/vesk.txt
0 → 100644
1 | %bold%greenVesk | ||
2 | |||
3 | %greenHeavily muscled and covered with thick scales and short, sharp horns, | ||
4 | %greenthe reptilian vesk are exactly as predatory and warlike as they | ||
5 | %greenappear. Originally hailing from a star system near the Pact Worlds, | ||
6 | %greenthey sought to conquer and subdue their stellar neighbors, as they | ||
7 | %greenhad all the other intelligent races in their own system, until an | ||
8 | %greenoverwhelming threat forced them into a grudging alliance with the | ||
9 | %greenPact Worlds for now. | ||
10 | |||
11 | %greenStat Modifiers: | ||
12 | |||
13 | %green str: %bold2 | ||
14 | %green con: %bold2 | ||
15 | %green int: %bold-2 | ||
16 | %green base hp: %bold6 | ||
17 | |||
18 | %boldSee Also: | ||
19 | races | ||
20 | character creation |
help/wisdom.txt
0 → 100644
1 | %bold%greenWisdom | ||
2 | |||
3 | %greenWisdom describes a character's common sense, intuition, and | ||
4 | %greenwillpower. A character with a Wisdom score of 0 is unconscious. | ||
5 | %greenYour character's Wisdom modifier is factored into the following: | ||
6 | |||
7 | %green- Will saving throws (for defending against things like magical | ||
8 | %greenmind control). | ||
9 | %green- Mysticism, Perception, Sense Motive, Survival, and some | ||
10 | %greenProfession skill checks. | ||
11 | %green- Bonus mystic spells. The minimum Wisdom score needed to | ||
12 | %greencast a mystic spell is 10 + the spell's level. | ||
13 | |||
14 | %boldSee Also: | ||
15 | character creation |
help/xenoseeker.txt
0 → 100644
help/ysoki.txt
0 → 100644
1 | %bold%greenYsoki | ||
2 | |||
3 | %greenSmall and furtive, the ysoki are often overlooked by larger races. | ||
4 | %greenYet through wit and technological prowess, they've spread | ||
5 | %greenthroughout the solar system, giving truth to the old adage that | ||
6 | %greenevery starship needs a few rats. | ||
7 | |||
8 | %greenStat Modifiers: | ||
9 | |||
10 | %green dex: %bold2 | ||
11 | %green int: %bold2 | ||
12 | %green str: %bold-2 | ||
13 | %green base hp: %bold2 | ||
14 | |||
15 | %boldSee Also: | ||
16 | races | ||
17 | character creation |
... | @@ -665,15 +665,18 @@ class MudServer(object): | ... | @@ -665,15 +665,18 @@ class MudServer(object): |
665 | if option_state == self._READ_NAWS: | 665 | if option_state == self._READ_NAWS: |
666 | height = 30 | 666 | height = 30 |
667 | width = 100 | 667 | width = 100 |
668 | if 'esp' in sys.platform: | 668 | try: |
669 | height, width = ustruct.unpack('>hh', option_data) | 669 | if 'esp' in sys.platform: |
670 | else: | 670 | height, width = ustruct.unpack('>hh', option_data) |
671 | height, width = struct.unpack('>hh', option_data) | 671 | else: |
672 | if height > 0: | 672 | height, width = struct.unpack('>hh', option_data) |
673 | client.height = height | 673 | if height > 0: |
674 | if width > 0: | 674 | client.height = height |
675 | client.width = width | 675 | if width > 0: |
676 | print("Got NAWS Width: %d Height: %d" % (client.width, client.height)) | 676 | client.width = width |
677 | print("Got NAWS Width: %d Height: %d" % (client.width, client.height)) | ||
678 | except: | ||
679 | pass | ||
677 | option_state = 0 | 680 | option_state = 0 |
678 | option_data = bytearray() | 681 | option_data = bytearray() |
679 | # elif option_state == self._READ_MSDP: | 682 | # elif option_state == self._READ_MSDP: | ... | ... |
1 | {"name": "test", "password": "6c76899eb15393064b4f4db94805e5862232920b", "room": "town/room001", "equipment": {"finger": [null, null], "hand": [null, null], "arm": [null, null], "leg": [null, null], "foot": [null, null], "head": null, "neck": null, "back": null, "body": null, "waist": null}, "inventory": {"bag": [{"expires": 0, "inventory": {"shirt": [{"expires": 0}]}}]}, "prompt": "hp %hp mp %mp> ", "aliases": {}, "hp": 94, "mp": 10, "maxhp": 100, "maxmp": 10, "maxsta": 10, "sta": 0.8000000000000004, "aa": "1d2", "mpr": 0.25, "star": 0.4, "weapon": null, "sp": {}, "at": {"kick": {"cost": 5, "dmg": "2d4", "desc": "You unleash a powerful kick"}}} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | {"name": "test", "password": "6c76899eb15393064b4f4db94805e5862232920b", "room": "town/tavern", "abilities": {"str": 10, "dex": 23, "con": 10, "int": 12, "wis": 10, "cha": 8}, "equipment": {"finger": [null, null], "hand": [null, null], "arm": [null, null], "leg": [null, null], "foot": [null, null], "head": null, "neck": null, "back": null, "body": null, "waist": null}, "inventory": {"bag": [{"expires": 0, "inventory": {"shirt": [{"expires": 0}]}}]}, "prompt": "hp %hp mp %mp> ", "aliases": {}, "hp": 100, "mp": 10, "maxhp": 100, "maxmp": 10, "maxsta": 10, "sta": 10, "aa": "1d2", "mpr": 0.25, "star": 0.4, "weapon": null, "sp": {}, "at": {"kick": {"cost": 5, "dmg": "2d4", "desc": "You unleash a powerful kick"}}, "createstep": 7, "color_enabled": true, "over_13": true, "race": "Android", "theme": "Ace Pilot", "class": "Envoy", "abilitypoints": 0} | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment