mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 17:56:32 +01:00
Complete permanent->persistent rename of cmdset kwarg for consistency
This commit is contained in:
parent
6e38d0ae4c
commit
a815db4ca9
20 changed files with 362 additions and 362 deletions
|
|
@ -232,7 +232,7 @@ from evennia.utils.create import create_object
|
|||
# class for our front shop room
|
||||
class NPCShop(DefaultRoom):
|
||||
def at_object_creation(self):
|
||||
# we could also use add(ShopCmdSet, permanent=True)
|
||||
# we could also use add(ShopCmdSet, persistent=True)
|
||||
self.cmdset.add_default(ShopCmdSet)
|
||||
self.db.storeroom = None
|
||||
|
||||
|
|
@ -331,4 +331,4 @@ Fixing these issues are left as an exercise.
|
|||
If you want to keep the shop fully NPC-run you could add a [Script](../Components/Scripts) to restock the shop's
|
||||
store room regularly. This shop example could also easily be owned by a human Player (run for them
|
||||
by a hired NPC) - the shop owner would get the key to the store room and be responsible for keeping
|
||||
it well stocked.
|
||||
it well stocked.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue