Table of Contents
empyreal.engine.religion
  Controller class
  Main interface

empyreal.engine.religion

Controller class

class empyreal.engine.location.ReligionController'(user_id=None, session=None, server=None)

The controller class for the Religion interface used by the clients. This controller is a subclass of empyreal.engine.core.GameController.

Main interface

ReligionController.get_tick_rating()

Returns the current Faith per tick for users Religion.

ReligionController.get_religion_statistics()

Returns a dictionary with statistics regarding the users Religion. This also includes Prophet information, like location, busy state, etc.

ReligionController.get_religion()

Returns the users Religion.

Returns a empyreal.lib.models.Religion.

ReligionController.incarnate(gender, character_name, religion_name)

Incarnates the user. This means a random Resident in a random Location of the provided gender is picked and assigned to the user with the provided character_name. A new Religions with the provided religion_name is formed.

Raises a UserAlreadyIncarnatedException in case called for a user who's already Incarnated.

ReligionController.is_incarnated()

Returns a boolean. True in case the user is incarnated, False otherwise.