Beispiel #1
0
from genesis.dbdict import DBVendorProto, DBItemProto, DBDict
from mud.world.defines import *

spells = [
    "Arcane Blast", "Arcane Storm", "Summon Wolf Consort",
    "Sapre's Airy Melody"
]

vendor = DBVendorProto(name="Spell Dealer")
for s in spells:
    vendor.addItem("Scroll of %s" % s)
Beispiel #2
0
from genesis.dbdict import DBVendorProto,DBItemProto,DBDict
from mud.world.defines import *


vendor = DBVendorProto(name="Vendorman")
for ip in DBDict.registry['ItemProto']:
    if 'STONE' in ip.itemType and 'COMMON' in ip.itemType:
        vendor.addItem(ip.name)
from genesis.dbdict import DBVendorProto,DBItemProto,DBDict
from mud.world.defines import *

spells = ["Arcane Blast","Arcane Storm","Summon Wolf Consort","Sapre's Airy Melody"]

vendor = DBVendorProto(name="Spell Dealer")
for s in spells:
    vendor.addItem("Scroll of %s"%s)