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

AttributeProperty.

allow_pvp

AttributeProperty.

allow_death

AttributeProperty.

format_appearance(appearance, looker, **kwargs)[source]

Don’t left-strip the appearance string

get_display_header(looker, **kwargs)[source]

Display the current location as a mini-map.

exception DoesNotExist

Bases: evennia.objects.objects.DefaultRoom.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

AttributeProperty.

allow_pvp

AttributeProperty.

Customize footer of 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'