diff --git a/tale/base.py b/tale/base.py index f8b42577..cbbfd7ea 100644 --- a/tale/base.py +++ b/tale/base.py @@ -1013,8 +1013,8 @@ def __init__(self) -> None: self.weapon_skills = WeaponSkills() self.magic_skills = MagicSkills() self.skills = Skills() - self.action_points = 0 # combat points - self.max_action_points = 5 # max combat points + self.action_points = 10 # combat points + self.max_action_points = 10 # max combat points self.max_magic_points = 5 # max magic points self.magic_points = 0 # magic points diff --git a/tale/llm/prompt_templates/IDLE_ACTION_PROMPT.txt b/tale/llm/prompt_templates/IDLE_ACTION_PROMPT.txt index 3db157ee..ff0c4192 100644 --- a/tale/llm/prompt_templates/IDLE_ACTION_PROMPT.txt +++ b/tale/llm/prompt_templates/IDLE_ACTION_PROMPT.txt @@ -1,5 +1,5 @@ You are going to generate an action on behalf of {character_name}. Sentiments towards characters: {sentiments}; History: {history}; Location: {location}; Acting character: {character} Choose an item from: {items}, or a character from:{characters}, to interact with, or perform a solo action. Do not make up new characters. -The action could build on past events, but should not repeat a past event. If set, act according to the 'roleplay_prompt'. +The action could build on past events, but should not repeat a past event. The action should be ephemeral, immersion building, and not affect states of items or characters. If set, act according to the 'roleplay_prompt'. Write what {character_name} does, in present tense third person point of view. Don't write what {character_name} thinks, or what the player (You) or anyone else does. Use less than 40 words. \ No newline at end of file diff --git a/tale/llm/world_building.py b/tale/llm/world_building.py index 882b7572..211a9221 100644 --- a/tale/llm/world_building.py +++ b/tale/llm/world_building.py @@ -121,8 +121,7 @@ def get_neighbor_or_generate_zone(self, current_zone: Zone, current_location: Lo direction.multiply(json_result.get('size', current_zone.size_z if direction.z != 0 else current_zone.size)))) if zone and story.add_zone(zone): zone.level = (zone.level + 1) if random.random() < 0.5 else zone.level - # Generate dungeon config at 10% chance - if random.random() < 0.1: + if random.random() < 0.25: dungeon_config = self._generate_dungeon_config(zone, world_generation_context) if dungeon_config: zone.dungeon_config = dungeon_config