mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* extend tests * more tests for world save * explicit handle the special layers in wornitem * add Location variant and relocate() methods * refactor GottenItem and ensure Chr, not wornitems, is saved * deflake escript watch test * dropitem and undo refactoring * uomod changes * add more item tests (buy, sell, hair...) * use location for undoing trade container properly * rewrite loaddata to use relocate, fixing startup crashes * do remaining location changes * fix CI tests * remove container pointer from item and add wearer() reference * remove layer writes and explicit intrinsic weapon handling * add preparing state for fresh items without serial number * move wornitems to detached state only when it has a serial number * load corpse items into the correct layer * do not set a layer on load before the item is equipped * add more tests to equipped and intrinsic items * remove layer and substitute with the location() * add core-changes summary * mark items as being worn on corpse if they only moved within the corpse * block Preparing from being reached, just to be sure * added integrity sweep check * Reduce direect changes to item location * Add Item::move_into() and rewrite calling sites * Fix container slots * get rid of the slot_index on the item, because Location() already has it * fix race in test leading to macos issues * fix dangling pointer * remove corpse can_equip_list and rely on the GottenItem rules to dress the corpse again * let item->destroy() detach the item * make integrity checks fail the tests * use place_at(item, newpos) for changing item position InWorld * add boat test for item moved out of boat that should not be visible anymore * use place_at() in more places * ensure CreateItemAtLocation really does * fix Claude instructions * remove state we didn't need * fine tuning * reduce test flakiness |
||
|---|---|---|
| .. | ||
| images | ||
| include | ||
| .gitignore | ||
| attack.dtd | ||
| attack.php | ||
| attack.xml | ||
| attack.xslt | ||
| attributesem.xml | ||
| basicem.xml | ||
| basicioem.xml | ||
| boatem.xml | ||
| buildoffline.php | ||
| builtintextcmds.dtd | ||
| builtintextcmds.php | ||
| builtintextcmds.xml | ||
| builtintextcmds.xslt | ||
| cfgfileem.xml | ||
| clilocem.xml | ||
| configfiles.dtd | ||
| configfiles.php | ||
| configfiles.xml | ||
| configfiles.xslt | ||
| corechanges.dtd | ||
| corechanges.php | ||
| corechanges.xml | ||
| corechanges.xslt | ||
| datafileem.xml | ||
| escript.dtd | ||
| escript.xslt | ||
| events.dtd | ||
| events.php | ||
| events.xml | ||
| events.xslt | ||
| fileem.xml | ||
| front_em.xslt | ||
| fullfunc.php | ||
| guides.php | ||
| guildsem.xml | ||
| httpem.xml | ||
| index.php | ||
| mathem.xml | ||
| modules.dtd | ||
| modules.xml | ||
| npcem.xml | ||
| objref.dot | ||
| objref.dtd | ||
| objref.php | ||
| objref.svg | ||
| objref.xml | ||
| objref.xslt | ||
| osem.xml | ||
| partyem.xml | ||
| picture_gump_finish_1.jpg | ||
| polsysem.xml | ||
| privileges.dtd | ||
| privileges.php | ||
| privileges.xml | ||
| privileges.xslt | ||
| scripttypes.dtd | ||
| scripttypes.php | ||
| scripttypes.xml | ||
| scripttypes.xslt | ||
| sqlem.xml | ||
| storageem.xml | ||
| style.css | ||
| unicodeem.xml | ||
| uoem.xml | ||
| utilem.xml | ||
| vitalsem.xml | ||