Skip to content

Commit 27efaff

Browse files
authored
Merge pull request #125 from neph1/update-v0.41.1
Update v0.41.1
2 parents f15e00e + 9acd80b commit 27efaff

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

tale/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,8 @@ def __init__(self) -> None:
10131013
self.weapon_skills = WeaponSkills()
10141014
self.magic_skills = MagicSkills()
10151015
self.skills = Skills()
1016-
self.action_points = 0 # combat points
1017-
self.max_action_points = 5 # max combat points
1016+
self.action_points = 10 # combat points
1017+
self.max_action_points = 10 # max combat points
10181018
self.max_magic_points = 5 # max magic points
10191019
self.magic_points = 0 # magic points
10201020

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
You are going to generate an action on behalf of {character_name}.
22
<context>Sentiments towards characters: {sentiments}; History: {history}; Location: {location}; Acting character: {character}</context>
33
Choose an item from: {items}, or a character from:{characters}, to interact with, or perform a solo action. Do not make up new characters.
4-
The action could build on past events, but should not repeat a past event. If set, act according to the 'roleplay_prompt'.
4+
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'.
55
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.

tale/llm/world_building.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ def get_neighbor_or_generate_zone(self, current_zone: Zone, current_location: Lo
121121
direction.multiply(json_result.get('size', current_zone.size_z if direction.z != 0 else current_zone.size))))
122122
if zone and story.add_zone(zone):
123123
zone.level = (zone.level + 1) if random.random() < 0.5 else zone.level
124-
# Generate dungeon config at 10% chance
125-
if random.random() < 0.1:
124+
if random.random() < 0.25:
126125
dungeon_config = self._generate_dungeon_config(zone, world_generation_context)
127126
if dungeon_config:
128127
zone.dungeon_config = dungeon_config

0 commit comments

Comments
 (0)