Make contrib building menu Replace rather than Union mcmd mergetype. Resolve #3069
This commit is contained in:
parent
d4074a5dba
commit
f3f8a2413b
3 changed files with 4 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
## Main branch (git)
|
## Main branch (git)
|
||||||
|
|
||||||
|
- Bug fix: Building Menu contrib menu no using Replace over Union mergetype to
|
||||||
|
avoid clashing with in-game commands while building
|
||||||
- Feature: RPSystem contrib `sdesc` command can now view/delete your sdesc.
|
- Feature: RPSystem contrib `sdesc` command can now view/delete your sdesc.
|
||||||
- Bug fix: Change so `script obj = [scriptname|id]` is required to manipulate scripts
|
- Bug fix: Change so `script obj = [scriptname|id]` is required to manipulate scripts
|
||||||
on objects; `script scriptname|id` only works on global scripts.
|
on objects; `script scriptname|id` only works on global scripts.
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## Main branch (git)
|
## Main branch (git)
|
||||||
|
|
||||||
|
- Feature: RPSystem contrib `sdesc` command can now view/delete your sdesc.
|
||||||
- Bug fix: Change so `script obj = [scriptname|id]` is required to manipulate scripts
|
- Bug fix: Change so `script obj = [scriptname|id]` is required to manipulate scripts
|
||||||
on objects; `script scriptname|id` only works on global scripts.
|
on objects; `script scriptname|id` only works on global scripts.
|
||||||
- Doc: Add warning about `Django-wiki` (in wiki tutorial) only supporting Django <4.0.
|
- Doc: Add warning about `Django-wiki` (in wiki tutorial) only supporting Django <4.0.
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,6 @@ from inspect import getfullargspec
|
||||||
from textwrap import dedent
|
from textwrap import dedent
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
from evennia import CmdSet, Command
|
from evennia import CmdSet, Command
|
||||||
from evennia.commands import cmdhandler
|
from evennia.commands import cmdhandler
|
||||||
from evennia.utils.ansi import strip_ansi
|
from evennia.utils.ansi import strip_ansi
|
||||||
|
|
@ -399,6 +398,7 @@ class BuildingMenuCmdSet(CmdSet):
|
||||||
|
|
||||||
key = "building_menu"
|
key = "building_menu"
|
||||||
priority = 5
|
priority = 5
|
||||||
|
mergetype = "Replace"
|
||||||
|
|
||||||
def at_cmdset_creation(self):
|
def at_cmdset_creation(self):
|
||||||
"""Populates the cmdset with commands."""
|
"""Populates the cmdset with commands."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue