evennia.contrib.tutorials.evadventure.rooms¶
EvAdventure rooms.
The base EvAdventure room has a modified display header that shows a little mini-map.
All EvAdventure rooms inherit from this room, and it is integral to combat as well as the dungeon generation. But one can also mix with other non-EvAdventure rooms (you will just not be able to fight in them).
-
class
evennia.contrib.tutorials.evadventure.rooms.
EvAdventureRoom
(*args, **kwargs)[source]¶ Bases:
evennia.objects.objects.DefaultRoom
Simple room supporting some EvAdventure-specifics.
-
allow_combat
= False¶
-
allow_pvp
= False¶
-
allow_death
= False¶
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶ Bases:
evennia.objects.objects.DefaultRoom.MultipleObjectsReturned
-
path
= 'evennia.contrib.tutorials.evadventure.rooms.EvAdventureRoom'¶
-
typename
= 'EvAdventureRoom'¶
-
-
class
evennia.contrib.tutorials.evadventure.rooms.
EvAdventurePvPRoom
(*args, **kwargs)[source]¶ Bases:
evennia.contrib.tutorials.evadventure.rooms.EvAdventureRoom
Room where PvP can happen, but noone gets killed.
-
allow_combat
= True¶
-
allow_pvp
= True¶
Show if the room is ‘cleared’ or not as part of its description.
-
exception
DoesNotExist
¶ Bases:
evennia.contrib.tutorials.evadventure.rooms.EvAdventureRoom.DoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
evennia.contrib.tutorials.evadventure.rooms.EvAdventureRoom.MultipleObjectsReturned
-
path
= 'evennia.contrib.tutorials.evadventure.rooms.EvAdventurePvPRoom'¶
-
typename
= 'EvAdventurePvPRoom'¶
-