miron / NeonCore

Terminal based Cyberpunk Tabletop RPG with Nostr as database and openAI API compatible commands
3 stars 1 forks source link

self.player #49

Closed miron closed 1 year ago

miron commented 1 year ago

All occurrences of self.player and self.npcs need to be changed to self.char_mngr.player and self.char_mngr.npcs in the ActionManager.

complete_skill_check has self.player hardcoded, needs to get self.character as argument, as well as do_skill_check, so it can be used either wiht self.player or self.npcs.

miron commented 1 year ago

Changed to self.player in do_skill_check and complete_skill_check, as npc’s won’t type commands. Old do_perception_check method needs to be ported to use_skill humanperception

miron commented 1 year ago

Fixed for player, next is for npc encounters on map