A downloadable Psychosis Module

Download

Download
.gitattributes 2.4 kB
Download
.gitignore 6 kB
Download
Program.cs 14 kB
Download
Psychosis.Characters.csproj 521 bytes
Download
Psychosis.Characters.sln 1 kB
Download
README.md 2.6 kB
Download
Character.cs 6.7 kB
Download
Character.html 6.7 kB
Download
Characters.cs 12 kB
Download
Quests.json 11 kB
Download
Stats.cs 1.1 kB
Download
TextAnimation.cs 3.4 kB
Download
Traits.cs 1 kB
Download
Skills.cs 10 kB
Download
Occupation.cs 1.5 kB

Install instructions

# Psychosis.Characters

This module contains the character classes for the Psychosis game.

## Character

The `Character` class is the base class for all characters in the game. It contains the following properties:

- `class_name`: The character's class.

- `race`: The character's species.

- `gender`: The character's reproductive biologics.

- `alignment`: The character's moral compass.

- `background`: The character's backstory.

- `skills`: A dictionary of skills that the character knows, with the skill name as the key and the skill level as the value.

- `quests`: A dictionary of quests that the character is currently on, with the quest name as the key and the quest status as the value.

- `gold`: The character's gold.

- `equipment`: A dictionary of items that the character has equipped, with the item slot as the key and the item as the value.

- `location`: The character's current location in the game world.

- `faction`: The character's faction.

- `inventory`: A list of items that the character is carrying.

- `status`: A list of status effects that are affecting the character.

- `level`: The character's level.

- `experience`: The character's experience points.

- `max_experience`: The character's maximum experience points.

- `health`: The character's current health.

- `max_health`: The character's maximum health.

- `attack`: The character's attack power.

- `defense`: The character's defense power.

- `speed`: The character's speed.

- `skills`: A list of skills that the character knows.

- `status`: A list of status effects that are affecting the character.

- `is_dead`: A boolean indicating whether the character is dead or not.

- `is_fleeing`: A boolean indicating whether the character is fleeing or not.

- `is_defending`: A boolean indicating whether the character is defending or not.

- `is_stunned`: A boolean indicating whether the character is stunned or not.

- `is_confused`: A boolean indicating whether the character is confused or not.

- `is_charmed`: A boolean indicating whether the character is charmed or not.

- `is_berserk`: A boolean indicating whether the character is berserk or not.

- `is_silenced`: A boolean indicating whether the character is silenced or not.

- `is_poisoned`: A boolean indicating whether the character is poisoned or not.

## Usage

To create a new character, you can use the `Character` class like this:

```python

from Psychosis.Characters import Character

character = Character(

    class_name)

```

    You can then access the character's properties like this:

    ```python

    print(character.class_name)

    ```

        You can also modify the character's properties like this:

        ```python

        character.class_name = 'Adventurer'

        ```

Leave a comment

Log in with itch.io to leave a comment.