VegansDeluxe.rebuild.States package
Submodules
VegansDeluxe.rebuild.States.Aflame module
- class VegansDeluxe.rebuild.States.Aflame.FireAttackGameEvent(session_id, turn, source, target, damage)[source]
Bases:
PreDamageGameEvent
- class VegansDeluxe.rebuild.States.Aflame.PostFireAttackGameEvent(session_id, turn, source, target, damage)[source]
Bases:
PostDamageGameEvent
VegansDeluxe.rebuild.States.Armor module
VegansDeluxe.rebuild.States.Bleeding module
VegansDeluxe.rebuild.States.DamageThreshold module
VegansDeluxe.rebuild.States.Dodge module
- class VegansDeluxe.rebuild.States.Dodge.DodgeAction(session: Session, source: Entity, skill: Dodge)[source]
Bases:
DecisiveStateAction- Parameters:
session – Session instance
source – Entity instance of action owner
- async func(source, target)[source]
Function to override with actual mechanics of the action.
All Actions have Source Entity and Target Entity. Source and Target may be the same.
True if action should not appear for selection.
Overwrite this function to define behaviour.
- name: str | LocalizedString = <VegansDeluxe.core.Translator.LocalizedString.LocalizedString object>
Name of the action, that is displayed to the player.
- priority: int = -2
Priority of the action. Defines the order to be executed during CallActions stage.
- target_type: TargetType = <VegansDeluxe.core.TargetType.OwnOnly object>
Filter for targets, to which this action can be applied.
VegansDeluxe.rebuild.States.Injury module
VegansDeluxe.rebuild.States.KnockDown module
- class VegansDeluxe.rebuild.States.KnockDown.StandUp(session: Session, source: Entity, skill: Knockdown)[source]
Bases:
DecisiveStateAction- Parameters:
session – Session instance
source – Entity instance of action owner
- async func(source, target)[source]
Function to override with actual mechanics of the action.
All Actions have Source Entity and Target Entity. Source and Target may be the same.
True if action should not appear for selection.
Overwrite this function to define behaviour.
- name: str | LocalizedString = <VegansDeluxe.core.Translator.LocalizedString.LocalizedString object>
Name of the action, that is displayed to the player.
- target_type: TargetType = <VegansDeluxe.core.TargetType.OwnOnly object>
Filter for targets, to which this action can be applied.
VegansDeluxe.rebuild.States.KnockedWeapon module
- class VegansDeluxe.rebuild.States.KnockedWeapon.KnockedWeapon[source]
Bases:
State- id = 'knocked-weapon'
- class VegansDeluxe.rebuild.States.KnockedWeapon.PickUp(session: Session, source: Entity, skill: KnockedWeapon)[source]
Bases:
DecisiveStateAction- Parameters:
session – Session instance
source – Entity instance of action owner
- cls
alias of
KnockedWeapon
- async func(source, target)[source]
Function to override with actual mechanics of the action.
All Actions have Source Entity and Target Entity. Source and Target may be the same.
True if action should not appear for selection.
Overwrite this function to define behaviour.
- name: str | LocalizedString = <VegansDeluxe.core.Translator.LocalizedString.LocalizedString object>
Name of the action, that is displayed to the player.
- target_type: TargetType = <VegansDeluxe.core.TargetType.OwnOnly object>
Filter for targets, to which this action can be applied.
VegansDeluxe.rebuild.States.Stun module
- class VegansDeluxe.rebuild.States.Stun.LayStun(session: Session, source: Entity, skill: Stun)[source]
Bases:
DecisiveStateAction- Parameters:
session – Session instance
source – Entity instance of action owner
- async func(source, target)[source]
Function to override with actual mechanics of the action.
All Actions have Source Entity and Target Entity. Source and Target may be the same.
True if action should not appear for selection.
Overwrite this function to define behaviour.
- name: str | LocalizedString = <VegansDeluxe.core.Translator.LocalizedString.LocalizedString object>
Name of the action, that is displayed to the player.