Commit graph

192 commits

Author SHA1 Message Date
Griatch
964e2af71e
Merge pull request #3507 from chiizujin/prototype_cache
Fix protoype object updates changing cached prototype
2024-04-27 19:57:40 +02:00
Chiizujin
3e2995a152 Fix protoype object updates changing cached prototype. Resolves #3505 2024-04-14 01:40:47 +10:00
Chiizujin
ac8075385f Fix traceback when setting prototype parent 2024-04-13 23:12:01 +10:00
Griatch
c5a4a34bac Apply black to codes 2024-04-01 17:51:05 +02:00
Griatch
f6b43b0416 Ran black on sources 2023-11-02 20:58:03 +01:00
Griatch
6066f33a9b Fix wrong logging call in prototype module 2023-05-28 17:56:35 +02:00
Griatch
30707a6b56 Make spawner store correct typeclass_path also for aliases. Resolve #3101 2023-02-26 15:24:25 +01:00
Griatch
0e71e00fae Elaborate more on protfunc usage. Resolve #3108 2023-02-26 10:42:39 +01:00
Griatch
a6df975624 Add teleport: and teleport_here: default locks to in-game entities. Resolve #3029 2023-02-25 19:59:59 +01:00
Tegiminis
0ec21154e9 fixing spawn/update to respect value type instead of converting to string
(cherry picked from commit 7bf869fcade0a659dcd4d42ba205871d6dc32a3a)
2023-01-04 16:52:20 -08:00
Griatch
89d1336cda Apply black 2022-11-28 19:55:02 +01:00
Griatch
da341af663 Refactored Contrib docs, renamed many files 2022-11-23 21:15:23 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
f9ca50ba5f Implement DbPrototype caching, refactor. Resolve #2792 2022-10-30 12:13:13 +01:00
Griatch
36006f3fe9 Working on fixing db-prototype load performance 2022-10-30 01:11:40 +02:00
Griatch
f2f5a9d99d Add protfunc_raise_errors to spawn function, per #2769 2022-10-23 11:55:11 +02:00
Griatch
4fb5268acd Fix of FuncParser nested any-output. Resolve #2908, #2902 2022-10-13 20:05:42 +02:00
Griatch
6e45ac0cb1 Use parse_to_any, for protfuncs, handle empty list in $choice funcparser func 2022-10-05 22:25:46 +02:00
Griatch
a83f21ef2f Apply black to cleanup code 2022-06-12 09:46:48 +02:00
ChrisLR
39d300458c Consider prototypes loaded only when called on search 2022-03-22 10:29:27 -04:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
5859de7054 Change to use super() instead of the old py2 style everywhere 2022-01-26 21:51:55 +01:00
Griatch
d00ed3f82a Further doc cleanup 2022-01-19 23:01:54 +01:00
Griatch
f1b970d45a Expand prototype inheritance docs. Resolve #2220. 2022-01-19 22:58:08 +01:00
ChrisLR
7399b5f224 Added method call to load module prototypes when searching if not already loaded 2022-01-18 16:11:00 -05:00
Griatch
a8b52b76b3 Fix unit test base 2022-01-08 17:40:40 +01:00
Griatch
038c71213a Fix tag homogenzation. Resolve #2524. 2022-01-08 16:57:18 +01:00
Griatch
19f920b6d4 Clean up all test suites 2022-01-07 16:12:12 +01:00
Griatch
e77bf5ce25 Merge branch 'master' into develop 2021-10-05 21:56:43 +02:00
henddher
182a969290 Unit test 2021-10-03 17:04:41 -05:00
henddher
33b61a9484 Convert key to lowercase in search_prototype. 2021-10-03 16:56:45 -05:00
Griatch
4db1a1e2e0 Fixes for $protkey protfunc implementation 2021-09-12 19:54:00 +02:00
Griatch
ddaf22ea58 Fix spawn issues in xyzgrid. Allow prototype_parent to be a dict itself. Resolve #2494. 2021-08-22 20:30:22 +02:00
Griatch
fbb17585c1 Make prototype tags/attrs tuple-parsing more forgiving. Resolve #2369. 2021-08-17 20:09:16 +02:00
Griatch
7215bab388 Fix sorting prototyes with non-string attr/tag data. Resolve #2364. 2021-08-17 19:46:29 +02:00
Griatch
24d89f93d2 Fix prototype lock display when lock is str. Resolve #2323. 2021-08-17 19:37:28 +02:00
Griatch
bc62588253 Fix bug in $protkey protfunc. Resolve #2329. 2021-08-07 23:33:34 +02:00
Griatch
d240d5050d Fix lazy-import error for EvMore Command from launchcmd context 2021-07-29 17:03:04 +02:00
Griatch
3bc841b781 Fix prototype attr-inheritance with mixed full/simple attrs. Resolve #2474. 2021-07-26 23:42:35 +02:00
Griatch
a3995f5b67 Fix remaining map contrib issues 2021-07-18 23:45:19 +02:00
Griatch
9706d14293 Add xyzgrid support commands 2021-07-08 21:40:35 +02:00
Griatch
61ab313ee3 Refactoring of map spawner mechanism. Still not working correctly 2021-07-03 18:05:49 +02:00
Griatch
52ada8fa80 Merge branch 'master' into develop 2021-05-30 09:15:49 +02:00
Griatch
8837b93dd2 Update localization 2021-05-29 13:22:19 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Tim Gates
ff078945f8 docs: fix a few simple typos
There are small typos in:
- CODING_STYLE.md
- evennia/commands/cmdhandler.py
- evennia/commands/default/syscommands.py
- evennia/contrib/building_menu.py
- evennia/prototypes/prototypes.py

Fixes:
- Should read `traverse` rather than `traverese`.
- Should read `shortcuts` rather than `shorcuts`.
- Should read `multiple` rather than `multuple`.
- Should read `multiple` rather than `mulitple`.
- Should read `indentation` rather than `indendation`.

Closes #2420
2021-05-24 05:54:56 +10:00
Griatch
e450b4364c Add PROTOTYPE_LIST support when loading module-prototypes 2021-05-11 19:41:28 +02:00
Griatch
170db66d2c Merge branch 'master' into develop 2021-04-24 22:52:06 +02:00
Ben Longden
d8e5f5d3f3 Don't allow fuzzy match on db if exact match on module prototype 2021-04-20 22:37:36 +01:00
Griatch
c9d9e9c6f8 Clean up docs and more funcparser fixes 2021-03-27 23:43:46 +01:00