Commit graph

124 commits

Author SHA1 Message Date
Rachel Blackman
bde11edaf0 Switch /contains to default, add /startswith switch instead. 2018-04-22 16:02:12 +02:00
Rachel Blackman
32ea0075e6 0.8 has switches defined in the command, need to make the change from the 0.7 changeset this originated from. 2018-04-22 16:02:12 +02:00
Rachel Blackman
04db9292ce Add /contains switch to find. 2018-04-22 16:02:12 +02:00
BlauFeuer
4ad5f01193 Add multi-delimiter split to CmdTeleport 2018-03-05 20:14:20 -05:00
BlauFeuer
6c2d9ff04d class vars options, split renamed
switch_options, rhs_split
2018-03-05 14:42:13 -05:00
BlauFeuer
111b1c5136 Merge branch 'develop' into develop-muxcommand 2018-03-05 13:36:39 -05:00
Griatch
2bc87c0b0d Fix a teleport example missing = 2018-03-03 18:32:39 +01:00
Griatch
d5c1e53060 Don't allow those with 'edit' access to obj to change the 'control' lock. 2018-03-03 11:01:31 +01:00
Griatch
07f55c8cb6 Make desc/set abide by edit/control locks 2018-03-03 11:01:31 +01:00
BlauFeuer
4b8000d88f Adds class var options and split to CmdTeleport +
CmdSetObjAlias, CmdCopy, CmdCpAttr, CmdMvAttr,
CmdCreate, CmdDesc, CmdDestroy +docstring edits,
CmdDig, CmdTunnel, CmdFind, CmdScript, CmdTag,
CmdSpawn
2018-03-02 07:58:40 -05:00
Griatch
037932aae2 Merge pull request #1552 from BlauFeuer/develop-locate
`@locate` alias of CmdFind shows location of find
2018-02-22 19:13:11 +01:00
BlauFeuer
f2e5e70d9b Add loc switch to CmdFind and docstring 2018-02-15 17:25:01 -05:00
Griatch
ca9d13bb45 Merge branch 'master' into develop 2018-02-03 16:18:54 +01:00
Griatch
70dbaf8bf4 Update lock docstring. Closes #1563. 2018-02-03 14:51:49 +01:00
BlauFeuer
a9648cf2bb Fix to catch non @ version of command 2018-01-19 05:28:03 -05:00
BlauFeuer
44590627c5 @locate alias of CmdFind shows location of find
If using `@locate` alias and only one object is found and the found object has a location, display that information.
2018-01-15 13:50:08 -05:00
Griatch
217bc27826 Make alias command handle categories, remove 'alias' alias from nick cmd 2018-01-07 16:20:56 +01:00
Griatch
a12a5d7445 Merge branch 'master' into develop 2018-01-06 20:14:02 +01:00
sorressean
61f02309e4 spelled correctly this time. 2018-01-05 02:38:35 -05:00
sorressean
7e2afe4316 Fixed typo in help message that shows syntax. 2018-01-05 02:33:29 -05:00
Tehom
0adb346555 Try to clarify help file. 2017-12-19 00:42:23 -05:00
Tehom
dd3e9ccbbe Allow other typeclasses to have their Attributes set via command. 2017-12-17 18:53:41 -05:00
Tehom
8049112186 Fix sethome's help file 2017-11-10 14:42:21 -05:00
Ryan Stein
4b9db9570c add @tel/loc functionality, fix unescaped | in @tel error message 2017-10-03 12:41:51 -04:00
Scyfris Talivinsky
635200ca17 Fix locationless spawned objects
Spawned objects were not getting locations assigned to them.  By default
the locations should be assigned to the caller's location.
2017-09-30 18:19:01 -07:00
Griatch
a6ed6ff5ea Better checks for pk in delete command. Update how the delete method of objects avoid recursive calls. Resolves #1453. 2017-09-30 12:00:42 +02:00
Griatch
0ba913332a [fix] The @desc command was erroneously still named @setdesc, this was not the intention. Relates to #1450. 2017-09-30 10:12:46 +02:00
Nicholas Matlaga
c68e7a07ae limit split to first character 2017-09-20 12:54:13 -04:00
Nicholas Matlaga
6d80c973da Added basic Typeclass support to @tunnel 2017-09-19 16:52:24 -04:00
Griatch
f68674fea9 Let caller.search_account query all Account classes. Resolves #1417. 2017-09-10 17:56:28 +02:00
Griatch
6e4183e76d Some minor rephrasings 2017-09-09 19:07:58 +02:00
Griatch
67470bbd66 Merge branch 'BlauFeuer-cleanup-1' of git://github.com/BlauFeuer/evennia into BlauFeuer-BlauFeuer-cleanup-1 2017-09-09 18:59:16 +02:00
Griatch
31fd2795f2 Set default choice for destroy verification question 2017-09-09 18:53:02 +02:00
BlauFeuer
2dd322e721 suggested refactor
Extract into a separate variable (note), then % interpolate it.
2017-09-04 09:20:49 -04:00
BlauFeuer
53943ab1e8 PEP8 code cleanup in building.py
Triple double quoted docstrings, comment edit, long lines shortened, some lines joined, removed unused code/redundant parenthesis
2017-09-04 07:52:16 -04:00
Vincent Le Goff
64e327fdd2 Add a confirmation to the default @destroy command 2017-09-01 15:41:35 +02:00
Griatch
92df3ce5ae Structure handlers to allow .get() to return lists
See #1154. In the end I didn't modify the Attributehandler and
TagHandler like this, instead I added the `return_list` argument
for cases when one wants a guaranteed return.
2017-08-27 14:56:05 +02:00
Griatch
ea87eef218 Fix bug, set no-idle locks on bots 2017-08-20 23:36:36 +02:00
Griatch
8a2e362b7c Make IDLE_TIMEOUT avoidable with account-lock.
Resolves #701. Check the Account-lock 'no_idle_disconnect before kicking an idle
session. This also means superusers will never be kicked. Move the
idle task to the Server to avoid lock imports in Portal. Make the
'lock' command also able to target Accounts. Also some other fixes.
2017-08-20 23:11:33 +02:00
Griatch
b278337172 Make PEP8 cleanup of line spaces and character distances as well as indents 2017-08-19 23:16:36 +02:00
Griatch
7ff783fea1 Resolve merge conflicts with master. 2017-08-19 21:30:42 +02:00
BigJMoney
7bf00850e6 Missed on line in last commit. 2017-07-15 11:44:44 -04:00
BigJMoney
8c07b74eff Updating PR for doctext changes 2017-07-15 11:39:03 -04:00
Griatch
5590ee2258 Rename all instances of Player->Account. 2017-07-07 23:47:21 +02:00
Griatch
0ff1718437 Resolve django 1.11 migration errors. 2017-06-17 22:15:00 +02:00
BigJMoney
b7f6fe5bc1 Fix a couple typos and improve consistency of builder command argument text (in help and doc strings) 2017-06-06 14:49:49 -04:00
Griatch
6db118ac61 Add listing of home to examine command. 2017-05-11 19:30:54 +02:00
Griatch
f7955340a7 Remove ability to teleport puppeted objects to a None location, as per #1304. 2017-04-18 18:29:11 +02:00
Griatch
a648433db8 Merge conflicts against master, including cmdhandler support for direct cmdobject input together with prefix-ignore mechanism from devel. 2017-04-01 16:08:23 +02:00
BlauFeuer
00b9393b39 Fix typo in call to msg method.
Reported by thranduil when attempting `@rename *thranduil = Thranduil1 (throws an ex and gives a stack trace.  Character has no attribute 'mgs'")
2017-03-19 20:18:01 +01:00