Commit graph

8325 commits

Author SHA1 Message Date
Alessandro Ogier
f3e5207ee7
no longer needed 2022-07-26 23:51:11 +02:00
Alessandro Ogier
c706d49c13
new de/serialization logic 2022-07-26 23:51:11 +02:00
Alessandro Ogier
26d4ede5c6
fix https://github.com/evennia/evennia/issues/2808 2022-07-26 23:51:11 +02:00
Alessandro Ogier
97442088e6
4 processes! 2022-07-26 23:50:31 +02:00
Alessandro Ogier
bfc5bbc64a
parallel tests 2022-07-26 23:50:30 +02:00
Tegiminis
abdebd53e0 Merge branch 'develop' of github.com:Tegiminis/evennia into develop 2022-07-26 11:27:32 -07:00
Tegiminis
51be9a6333 fixed refresh rule for unique buffs 2022-07-26 11:26:36 -07:00
Andrew Bastien
85bc257ae5 object.at_traverse() now passes the exit being traversed as a kwarg 2022-07-26 12:29:40 -04:00
Andrew Bastien
603ea24625 adding at_server_init to at_server_startstop 2022-07-25 17:16:00 -04:00
Andrew Bastien
a903526403 ObjectDB.objects.get_objs_with_key_or_alias() now uses icontains instead of istartswith for inexact searches against db_key to match behavior with alias. 2022-07-25 15:22:26 -04:00
Tegiminis
56f096897d
Update README.md 2022-07-25 12:01:36 -07:00
Griatch
3e0c7d3551
More cleanup again 2022-07-25 09:18:20 +02:00
Griatch
d84b1d427e
More cleanup
Hopefully this will make github recognize the license text.
2022-07-25 09:16:09 +02:00
Griatch
7dd7847091
Update LICENSE.txt
More cleanup for github to detect license.
2022-07-25 09:10:07 +02:00
Griatch
4b2a2985c9
Update LICENSE.txt
Just make github recognize the license name
2022-07-25 09:07:18 +02:00
Tegiminis
9389e4912f readme review, made non-unique/refresh namespace less prone to collision 2022-07-24 23:19:36 -07:00
Tegiminis
c15f46045d fixing goofs exposed by conditional rework, readme tweaks (+8 squashed commit)
Squashed commit:

[7d0ff84f5] more readme changes... i can't stop...

[8259163dc] added new removers for parity with getters, altered conditional logic

[d1db0e4a2] added getter/remover section

[0bec38d51] misc fixes

[614df9883] adding test for stack removal, fix to stack removal logic

[77149aaaf] third readme edit, buff module docstring edit, tweak to modgen samplebuff

[ca992fd1c] editing buff section of readme

[f33eec3d8] first edit of readme
2022-07-24 18:53:52 -07:00
Griatch
d22b11c723 Add Account.uses_screenreader. Added evadventure mini-map 2022-07-24 23:21:36 +02:00
Griatch
2f28c8982d Made simple map, start shops 2022-07-24 22:30:13 +02:00
Griatch
b6533d0744 Fix dungeon behavior 2022-07-24 20:26:41 +02:00
ChrisLR
81467de72e Merge branch 'develop' into 2736-fix-cmdset-remove 2022-07-24 10:51:25 -04:00
ChrisLR
01f2159198 Avoid potential shadowing issue 2022-07-24 10:51:19 -04:00
Griatch
5b43a4bc1f More dungeon code 2022-07-24 13:01:01 +02:00
Griatch
3d27034102 Fixes to return_appearance helpers and iter_to_str 2022-07-24 13:00:30 +02:00
Tegiminis
0dad659935 initial readme commit 2022-07-24 03:53:23 -07:00
Tegiminis
f7e83c87b5 new unit tests for the new getters/remove methods. general test case improvement (+47 squashed commit)
Squashed commit:

[da8f778e1] fixed issue with buff instancing saving previous cache information

[50e381135] fixing clear to use new private method

[523196876] added new removal methods, spun boilerplate into private method

[ab2fe7a1b] misc

[4a2c2e887] added get_by_cachevalue, for arbitrary cache value comparison

[4e9199fd9] fix expired property

[cc6411eb2] added option to trigger buffs at the same time you check them

[eb112c12f] added get_by_source method to slice cache by source

[5d880d4f9] added "clear" method to remove all buffs

[49997e724] extended "expired" logic to include buffs with no stacks

[7ef357ade] docstring fixes

[306801d02] Added a little docstring bit for disconnecting autopause from signals and moving it to object puppet hooks

[7a120a2f8] fixed the sample buff for poison to demonstrate how playtime buff pause hooks happen (as at_pause fires after the object is moved to None, you can't message the None-room's contents)

[ada4457d1] made the pause variable assignments more verbose

[d64369908] nomenclature change: uid -> buffkey

[e5dd9a352] fixing places where the handler property name change from "db" to "buffcache" broke stuff on the buff class

[553d12b4b] lots of docstring updates and comments; also made conditional hook work with ticking

[b8d79583f] ran black autoformatter

[d5550f331] changing all the default dictionary assignments to None instead

[88c9a4889] sample buff of stat customizer

[72323a19e] added sample buff which allows stat customization, and unit test to cover it

[02453a79f] adding procgen ids for non-unique, non-refresh (ie, each time the buff is applied, it is as a full instance with a separate key)

[c72e5f2d7] added to_filter argument to slice methods, letting you slice an arbitrary dictionary as well as the main cache

[d8996f3a3] stress test for batch read/trigger

[f06f74463] last bit of cacheing, docstring update

[538afc676] fixing tests to not use __getattr__ on the handler

[905cfd6bb] removing __getattr__

[e588742ea] hooking caching into the buff instancing process

[7555ebae9] added method to instance entire cache, refactored dict-comprehension properties to use new method. should be more efficient?

[45f15fc46] fix to reapply logic; stacking and old cache

[d2460c9e6] docstring support for to_cache arg

[62f3f27d8] added to_cache arg for buff application, allows you to store arbitrary info in the buff cache

[6c2046497] general cleanup

[357945459] forgot to finish the mod for the "sated" moodlet sample buff

[b4b3ac48a] clamp minimum multiplier to 0

[da3e67fa6] allowing multiple stacks, cruft cleanup

[62110fd00] sample buffs

[77f6a56e8] fixing tests to work with new naming

[a9202f67c] misc cleanup

[887d9734b] allow infinite stacks

[887fb4b29] change duration setter

[da4277e2c] add at_pre_check

[6009469bc] fix pickling errors with handler properties

[89a2d02ee] allo ticking buffs to autopause

[a77bded93] fix flavor return

[60fcaa36f] swapping on_ to at_ for hooks to match evennia style

[130e600ea] import cleanup
2022-07-24 03:33:06 -07:00
Griatch
7ae1258df1 Further break out return_appearance functionality into helper hooks 2022-07-24 12:20:31 +02:00
Griatch
7e53fc5cc9 Fix merge conflicts 2022-07-24 09:31:39 +02:00
Griatch
3403ffbf3c Update CHANGELOG 2022-07-24 08:58:44 +02:00
Griatch
bbcec61ea8
Merge pull request #2807 from volundmush/fix_rpsystem_msg
Added msg_type to rpsystem.send_emote()
2022-07-24 08:56:24 +02:00
Griatch
fb48da472c Update changelog 2022-07-24 08:49:31 +02:00
Griatch
a3205ccf7d Testing adventure dungeon 2022-07-24 08:47:25 +02:00
Griatch
78167dfd3f
Merge pull request #2803 from volundmush/move_type
Added move_type to obj.move_to and its many hooks and what calls it.
2022-07-24 08:46:54 +02:00
Griatch
a55912900f
Merge pull request #2794 from InspectorCaracal/rpsystem-fix-selfref
rpsystem: Add special-case handling for self-references.
2022-07-24 08:41:28 +02:00
Griatch
2f8a312509 Merge branch 'develop' into contrib/evadventure 2022-07-22 17:37:47 +02:00
Griatch
caed0660d3 Finished quest engine for evadventure 2022-07-22 17:36:38 +02:00
Griatch
104f47860f Start adding dungeon logic 2022-07-19 00:58:31 +02:00
Griatch
73d8f24b7c Debugging of tutorial 2022-07-18 17:38:37 +02:00
Griatch
604769f762 More linting fixes 2022-07-18 00:54:09 +02:00
Griatch
41962fae79 Add defeat mode to tutorial combat 2022-07-17 20:04:03 +02:00
Griatch
6dc3cdb977 More tutorial combat tests 2022-07-17 00:04:43 +02:00
Griatch
d91cf1e792 Started expanding docs about tutorial game 2022-07-16 15:39:29 +02:00
Greg Taylor
ae5b353ef2 EGI: Remove unused import of warning module 2022-07-15 21:12:52 -07:00
Andrew Bastien
8b461304f0 Fixed remaining issues. All tests pass. 2022-07-14 22:53:37 -04:00
Andrew Bastien
de65aedede Added msg_type to rpsystem.send_emote() 2022-07-14 20:02:47 -04:00
Andrew Bastien
30f258be0e Added msg_type to rpsystem.send_emote() 2022-07-14 19:46:49 -04:00
Andrew Bastien
71b694e8e5 Added msg_type to rpsystem.send_emote() 2022-07-14 19:43:08 -04:00
Griatch
02b991c2d5 First working attack in tutorial combat system 2022-07-14 20:29:09 +02:00
Griatch
0a986c88f6 Merge branch 'develop' into contrib/evadventure 2022-07-14 12:50:15 +02:00
Griatch
62136b5f7d Recommend bytes-check to deserialize_dbobjs example 2022-07-14 12:50:01 +02:00