steps to run python -m venv .venv Mac: source .venv/bin/activate Win: cd .venv/Scripts, ./Activate
superuser for minimud markar werty678
\wsl.localhost\Ubuntu\home\mark\home\muddev\evennia-minimud\server
py here.scripts.get('combat').delete()
here.scripts.get('combat').delete() (1, {'scripts.CombatScript': 1})
py _ = [obj.delete() for obj in self.search("#2").contents]
evennia xyzgrid add world.maps.newbie_land evennia xyzgrid
Set an attribute on a room in game py setattr(here, "key", "Training Grounds")
@tel town#15
@dig/teleport A vortex of swirling Chaos;chaos#1 : typeclasses.rooms.Room = enter,vortex
@desc |yA swirling vortex of pure Chaos. You can jump through the vortex to get back to the safety of town, or you can choose to explore the realm.
@dig/teleport In front of a chessboard;chaos#2 : typeclasses.rooms.Room = east;e,west;w
@desc |gIn front of you stands a gigantic chessboard, but with real monsters instead of game pieces. It looks pretty dangerous.
@open chessboard = (1,1,chessboard)
chessboard
@open leave = chaos#2
from typeclasses.rooms import NewbieSnake all = NewbieGoblin.objects.all()
for x in all: caller.msg(f"x: {x}") x.delete()
self.caller.tags.add("player", category="type") bark = search_object("Bark")[0] bark.locks.add("call:false(); control:perm(Developer); delete:id(3) or perm(Admin);drop:holds(); edit:pid(3) or perm(Admin); examine:perm(Builder); get:false(); puppet:id(4270) or pid(3) or perm(Developer) or pperm(Developer); teleport:perm(Admin); teleport_here:perm(Admin); tell:perm(Admin); view:all()")
hasPlayerTags = caller.tags.has("player", "status")
corpse = { "key":"a corpse", "typeclass": "typeclasses.corpse.Corpse", "desc": "A small corpse", "location": self.caller.location } spawner.spawn(corpse)
objs = spawner.spawn(*list(search_tag("MOB_CORPSE"))) for obj in objs: self.caller.msg(f"obj: {obj}") obj.location = self.location
msg = self.caller.get_hit_message(self.caller, 4, "fart")
self.caller.location.key = "Millennium Square"
self.caller.cmdset.delete(ChangelingCmdSet)