{ "info": { "author": "Arne Babenhauserheide", "author_email": "arne_bab@web.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Info: http://1w6.org \n\nThe ews (\"Ein Wuerfel Sytem\" is german for \"One Die System\") is a free rpg backend which covers char interaction and char management -> http://1w6.org. \n\nChars have attributes, abilities, edges/flaws, equipment and battle values (directly derived from the attributes and abilities). \n\n\nUsage from command line: \n\n - None yet. \n\n\nExamples: \n\n - None yet. \n\n\nUse-Cases: \n\n - Creating Chars\n \n Create and print a char from a tag-string\n >>> from char import Char\n >>> tag_string = \"tag:1w6.org,2008:Human\"\n >>> char_from_tag = Char(source=tag_string, template=False) \n \n template=False says: Go with the name inside the stored file or (if None is avaible) in the tagstring. \n \n Else it would create a new name for it. \n \n TODO: Change the default to template=False (some checking of other libs necessary for that)\n >>> print char_from_tag\n Name: Human\n Sprache: Esperanto\n \n TODO: Create a char from a char dict. \n \n TODO: Print location of character file. \n \n \n - Combat\n \n Create two chars and let them fight one round. \n >>> char1 = Char()\n >>> char2 = Char()\n >>> print char1.wounds, char2.wounds\n [0, 0] [0, 0]\n >>> char1.fight_round(char2)\n >>> result = (char1.get_battle_result_values(), char2.get_battle_result_values()) \n >>> # Gives TP and wounds for Char 1 and 2\n \n Let the two chars fight a battle with the one roll battle system. \n >>> char1.fight_one_roll_battle(char2)\n >>> result = (char1.get_battle_result_values(), char2.get_battle_result_values()) \n >>> # Dict for char1 and for char 2\n \n TODO: Fight a whole battle with the complex battle system. \n \n \n - Attributes\n \n List all attributes. If the char has None, print a single space. \n >>> char1.attributes\n ' '\n \n \n - Skills and checks\n \n List all skills. If the char has None, print a single space. \n >>> char1.skills\n {'Nahkampf': {'Grundwert': 12, 'Striche': 3, 'Zahlenwert': 12}}\n \n Do a skill test (default target number is 9)\n >>> print \"Do we manage to cook a nice meal?\"\n Do we manage to cook a nice meal?\n >>> result = char1.check_skill(\"cook\")\n \n Do a skill test against another target number. \n >>> print \"Do we manage to cook an exceptional meal?\"\n Do we manage to cook an exceptional meal?\n >>> result = char1.check_skill(\"cook\", MW=18)\n \n TODO: Check how good we manage something. \n \n TODO: Check if we manage to make a roll and how good we manage it. \n \n \n - Competition (skill vs. skill and similar)\n \n TODO: Let two chars compete for one round. \n \n TODO: Let two chars do a full competition. \n \n \n - Equipment\n \n Get the current equipment of the char. \n >>> for i in char1.equipment: print char1.equipment[i] \n {'Stoffkleidung': {'Name': 'Stoffkleidung', 'Schutz': 1}}\n {'Waffenlos': {'Name': 'Waffenlos', 'Schaden': 1}}\n >>> # TODO: Fix to make it nicer to use. \n \n \n Get the current combat equipment of the char (armor and weapon). \n >>> char1.weapon\n {'Name': 'Waffenlos', 'Schaden': 1}\n >>> char1.armor\n {'Name': 'Stoffkleidung', 'Schutz': 1}\n \n TODO: Change armor and weapon (and weapon skill). \n \n TODO: Get the current clothes of the char. \n \n TODO: Change the current clothes of the char. \n \n \n - Improving Chars\n \n Improve a char by a 3 points at random (about the value to get for one gaming session in a hreo setting). \n >>> char1.upgrade(3)\n \n Upgrade with a weighted list of attributes and skills which could be improved additionally to known skills and attributes. \n >>> char1.upgrade(3, object=(\"weighted\", [(\"attribute\", \"sensitivity\", 1), (\"skill\", \"cooking\", 2)]))\n \n Upgrade a specific skill or attribute. \n >>> char1.upgrade(3, object=(\"skill\", \"talking senslessly\"))\n \n # TODO: Add attibute explicitely. \n \n \n - Saving Chars\n \n Save the changed (wounded but improved) Char as new template. \n \n Commented out, because this creates new files. \n >>> # char1.name = char1.amov.tagname\n >>> # char1.save()\n \n Save the changed Char as a new char and get the new tag to call it again. \n \n Commented out, because this creates new files. \n >>> # tagstring = char1.amov.tagstring_without_name + char1.name # The tag to call the char\n >>> # char1.save()\n >>> # char1_again = Char(source=tagstring, template=False)\n \n \n - Finishing Chars off :) \n \n And in the end: Die \n >>> char1.die()\n\n\nPlans: \n - Change char file format: an empty dict shoulnd't be represented by \" \" anymore, but by {} (the real yaml represenation of an empty dictionary). \n\n\nSource URL (Mercurial): U{http://rpg-1d6.sf.net/hg/1d6}\n\nPyPI URL: U{http://pypi.python.org/pypi/ews}\n\n\n\n- renamed module to rpg-1d6: http://pypi.python.org/pypi/rpg-1d6 \n\news 0.1\n\n- created ews as rpg backend package.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://1w6.org/programme", "keywords": "ews,rpg,characters", "license": "GNU GPL-3 or later", "maintainer": null, "maintainer_email": null, "name": "ews", "package_url": "https://pypi.org/project/ews/", "platform": "any", "project_url": "https://pypi.org/project/ews/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://1w6.org/programme" }, "release_url": "https://pypi.org/project/ews/0.1/", "requires_dist": null, "requires_python": null, "summary": "The 1d6 RPG backend module provides character management and interaction.", "version": "0.1" }, "last_serial": 791775, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "887a7abee822f3510dc6c37632d67663", "sha256": "dfed96af43e5d5c4f2d18735750d9f7fed7ab3d808e43450caf5f20f2e1da535" }, "downloads": -1, "filename": "ews-0.1.tar.gz", "has_sig": false, "md5_digest": "887a7abee822f3510dc6c37632d67663", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5357519, "upload_time": "2008-05-22T02:06:36", "url": "https://files.pythonhosted.org/packages/65/50/4eb1b241a8a8de0b1c008b00c91367347a8aa626d4bfe5fd116d3c7fac35/ews-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "887a7abee822f3510dc6c37632d67663", "sha256": "dfed96af43e5d5c4f2d18735750d9f7fed7ab3d808e43450caf5f20f2e1da535" }, "downloads": -1, "filename": "ews-0.1.tar.gz", "has_sig": false, "md5_digest": "887a7abee822f3510dc6c37632d67663", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5357519, "upload_time": "2008-05-22T02:06:36", "url": "https://files.pythonhosted.org/packages/65/50/4eb1b241a8a8de0b1c008b00c91367347a8aa626d4bfe5fd116d3c7fac35/ews-0.1.tar.gz" } ] }