Commit graph

84 commits

Author SHA1 Message Date
Griatch
0dfea46d5c Change save/search_prototype, extend unittests 2019-02-09 16:52:02 +01:00
Griatch
95604616a3 Correct docstring for $dbref protfunc 2019-02-07 09:52:58 +01:00
Griatch
c121f4915e Update spawn doc to better explain protparents kwarg (see #1775) 2019-02-07 09:12:52 +01:00
Griatch
1412da1b0a Fix prototype inheritance of attrs/tags. Resolves #1773. 2019-02-03 15:17:32 +01:00
Griatch
a9fd49474d Correct use of callable in prototype creation 2019-01-17 23:03:11 +01:00
Henddher Pedroza
6014d5eba4 Move regex out of protofunc to prevent recompilation on each call. 2018-11-05 18:44:12 -06:00
Henddher Pedroza
cd9a91c377 Update test 2018-10-30 20:10:36 -05:00
Henddher Pedroza
979d24a12f Remove prototypes._RE_DBREF and add new dbref() to protfuncs 2018-10-30 19:50:40 -05:00
Henddher Pedroza
f6d62e2f69 Harden mocked _obj_search() calls with passed in when applicable 2018-10-28 20:52:19 -05:00
Henddher Pedroza
bfeebc47ba Assert protfuncs._obj_search is called ONLY when (), () and () are called.
Group tests according to protfuncs._obj_search() calls
2018-10-28 20:43:14 -05:00
Henddher Pedroza
c2ccc5d297 #1704: Update _RE_DBREF to match '(#Number)' so that it aliases to '(#Number)' 2018-10-28 09:43:01 -05:00
Henddher Pedroza
5a8858aab9 Tests for protfunc parser and _RE_DBREF 2018-10-27 18:20:54 -05:00
Henddher Pedroza
a2b79a2ff1 Demonstrate potential problem with 2018-10-27 13:16:28 -05:00
Griatch
0a5701d627 Give default permissions to spawn/edit prototypes.
Resolves #1687.
2018-10-26 20:07:13 +02:00
Henddher Pedroza
1cbbdf5410 Harden test '@spawn/edit <valid-prototype>' by asserting that olc_menu has been loaded with valid-prototype.UX Enhancement to OLC menu. Underneath the title, display 'Editing: key(prototype_key)' of the prototype being edited. If none, show blank line 2018-10-21 13:43:36 -05:00
Griatch
3fbd74b332 Fix (again) of tag batch creation 2018-10-13 16:59:07 +02:00
Griatch
52c84b44b5 Handle prototype modules with non-dicts as global variables 2018-10-08 19:03:15 +02:00
Griatch
14eea024bb Correct tag handling in prototype; fix unittests 2018-10-07 18:45:28 +02:00
Griatch
a2e8b27ee4 Update docker file to better handle starting without an existing game folder 2018-10-07 18:29:25 +02:00
Griatch
fdc4550e19 Cleanup of account tests with more mocking 2018-10-07 14:31:36 +02:00
Griatch
fe14dfddef Fix bug in unittest that would cause occational name collision 2018-10-07 12:31:43 +02:00
Griatch
68ff0ac9d6 Clarify prototype_key replacement in modules; address #1676. 2018-10-07 10:51:01 +02:00
Griatch
550a25820d Fix unittests. Implement #1675. 2018-10-06 21:00:31 +02:00
Griatch
8b1ab0bc85 Remove debug info 2018-10-06 19:06:44 +02:00
Griatch
b5c6a483ac Fix bug in spawning with attributes 2018-10-06 19:05:57 +02:00
Griatch
7133492630 Be more lenient with spawning old, more free-form prototypes 2018-10-06 19:00:54 +02:00
Griatch
3537ae13a4 Correct issues with object-update in OLC menu. Resolves #1647. 2018-09-22 22:27:50 +02:00
Griatch
982f977429 Continuing bug fixes 2018-09-22 17:23:31 +02:00
Griatch
cbfe6d9e38 Resolve unit tests 2018-09-21 00:24:19 +02:00
Griatch
bed96328a9 Lots of bug fixes, still issues in prototype-update from menu 2018-09-21 00:05:23 +02:00
Griatch
24fbfdf35c Clean actioninfo in menu between nodes 2018-09-20 00:01:53 +02:00
Griatch
f31433c3ef Fix unit tests 2018-09-19 23:49:46 +02:00
Griatch
a29b46d091 Cleanup, bug fixes, refactoring 2018-09-19 22:51:27 +02:00
Griatch
d55634d542 New version of prototype diff management 2018-09-15 17:10:50 +02:00
Griatch
c4f501123a Starting to fix prototype diffs which don't work right 2018-09-14 08:47:46 +02:00
Griatch
8a52a76d8c Correct olc update options, add local display to menudebug command 2018-08-25 23:46:05 +02:00
Griatch
f4422544cd Resolve error in prototype validate menu node 2018-08-23 22:09:36 +02:00
Griatch
b96f1a5c86 Add menudebug command for debugging EvMenu 2018-08-23 20:46:13 +02:00
Griatch
b6675b854e Resolve unittests 2018-08-12 13:37:19 +02:00
Griatch
fba58c4649 Fix further bugs in menu spawn 2018-08-12 13:13:13 +02:00
Griatch
298b2c23c6 Cleanup/refactoring of olc menus 2018-08-11 11:49:10 +02:00
Griatch
e49993fbb5 Create columnize (no ansi support at this point) 2018-08-10 10:13:05 +02:00
Griatch
23db1ad010 Cleanup menu style 2018-07-31 11:48:18 +02:00
Griatch
d4ba24934c Correct unittests 2018-07-30 20:19:46 +02:00
Griatch
02b4eb8b25 Fix attr assignmen issue in olc menu 2018-07-30 17:38:59 +02:00
Griatch
696cb3942b Further cleanup and debugging of olc menu 2018-07-29 20:58:56 +02:00
Griatch
6126391406 Refactor spawn, update remaining in olc 2018-07-29 16:53:54 +02:00
Griatch
16640fa923 Fix destination setting in olc 2018-07-29 12:06:11 +02:00
Griatch
07eff10564 Refactor locale stepping in olc 2018-07-29 11:57:16 +02:00
Griatch
43868864c7 Limit current view for certain fields in olc 2018-07-29 10:51:52 +02:00