actions module¶
-
actions.
act
(player: utils.NPC, universe, debug=0, rage_mode=False) → List[Tuple[str, utils.NPC]]¶ The decision-making process for players.
- Parameters
player – Player doing the actions
universe – Universe player exists in
debug – Debug mode
rage_mode – RAAAAGGEE MOOODDEEE
- Returns
List of players who were involved in this turn and how they were involved.
It’s recommended to skip their turns.
-
actions.
attack
(player: utils.NPC, other_npc: utils.NPC)¶
-
actions.
explore
(player, universe)¶
-
actions.
get_options
(player: utils.NPC) → List[Dict[str, Union[utils.Item, utils.NPC]]]¶
-
actions.
scavenge
(player, con=None, reason=None)¶