add talk and conversation

This commit is contained in:
bridge
2025-10-02 22:49:25 +08:00
parent 3711987379
commit bdb1d7fec7
9 changed files with 277 additions and 10 deletions

View File

@@ -15,12 +15,14 @@ from src.classes.action import (
Battle,
PlunderMortals,
HelpMortals,
Talk,
)
from src.classes.mutual_action import (
DriveAway,
Attack,
MoveAwayFromAvatar,
MoveAwayFromRegion,
Conversation,
)
@@ -37,11 +39,13 @@ ALL_ACTION_CLASSES = [
Sold,
PlunderMortals,
HelpMortals,
Talk,
# 互动相关动作(实际执行的反馈动作也纳入)
DriveAway,
Attack,
MoveAwayFromAvatar,
MoveAwayFromRegion,
Conversation,
]
ALL_ACTUAL_ACTION_CLASSES = [
@@ -55,8 +59,10 @@ ALL_ACTUAL_ACTION_CLASSES = [
Sold,
PlunderMortals,
HelpMortals,
Talk,
DriveAway,
Attack,
Conversation,
]
ALL_ACTION_NAMES = [action.__name__ for action in ALL_ACTION_CLASSES]