rom24-quickmud-python 2.9.4__py3-none-any.whl → 2.9.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mud/models/character.py +8 -0
- {rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/METADATA +1 -1
- {rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/RECORD +7 -7
- {rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/WHEEL +0 -0
- {rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/entry_points.txt +0 -0
- {rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/licenses/LICENSE +0 -0
- {rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/top_level.txt +0 -0
mud/models/character.py
CHANGED
|
@@ -556,6 +556,10 @@ class Character:
|
|
|
556
556
|
else:
|
|
557
557
|
self.carry_number += carry_delta
|
|
558
558
|
self.equipment[slot] = obj
|
|
559
|
+
# mirroring ROM src/handler.c equip_char — equipped objs stay
|
|
560
|
+
# owned by the carrier (only wear_loc changes); INV-013 makes
|
|
561
|
+
# carried_by the canonical carrier field.
|
|
562
|
+
obj.carried_by = self
|
|
559
563
|
self._recalculate_carry_weight()
|
|
560
564
|
|
|
561
565
|
def remove_object(self, obj: Object) -> None:
|
|
@@ -568,6 +572,10 @@ class Character:
|
|
|
568
572
|
del self.equipment[slot]
|
|
569
573
|
break
|
|
570
574
|
self.carry_number = max(0, self.carry_number - carry_delta)
|
|
575
|
+
# mirroring ROM src/handler.c:1642 obj_from_char — extraction
|
|
576
|
+
# clears the carrier back-pointer atomically. INV-013.
|
|
577
|
+
if getattr(obj, "carried_by", None) is self:
|
|
578
|
+
obj.carried_by = None
|
|
571
579
|
self._recalculate_carry_weight()
|
|
572
580
|
|
|
573
581
|
# START affects_saves
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rom24-quickmud-python
|
|
3
|
-
Version: 2.9.
|
|
3
|
+
Version: 2.9.5
|
|
4
4
|
Summary: A modern Python port of the ROM 2.4b6 MUD engine with full telnet server and JSON world loading
|
|
5
5
|
Author-email: Mark Jedrzejczyk <mark.jedrzejczyk@gmail.com>
|
|
6
6
|
Maintainer-email: Mark Jedrzejczyk <mark.jedrzejczyk@gmail.com>
|
|
@@ -134,7 +134,7 @@ mud/models/area.py,sha256=RDn6e2N9AhoMW4d68-o8i1p1tNhuszaWjbOIkGTlW9I,835
|
|
|
134
134
|
mud/models/area_json.py,sha256=GUCWUgFf2s6DUWzcLLYhoxTP38P5cu1vrSD1W3i7D2c,731
|
|
135
135
|
mud/models/board.py,sha256=LDcNFHB7X3_BNJ9efTW_VJ-vOAQG1pPIByh1EsXseVA,6283
|
|
136
136
|
mud/models/board_json.py,sha256=XG8t7lLW7b_V3IjzbGF-o6Ym36CTgKiOiBVZb-M0BpA,472
|
|
137
|
-
mud/models/character.py,sha256=
|
|
137
|
+
mud/models/character.py,sha256=CpeRH0VIlaZanz_VnAEWH9bRMKEvatJgJ8Yk_tF3j4I,52652
|
|
138
138
|
mud/models/character_json.py,sha256=7rdI92S-JT38xb2iUyXTAJpLmFOIRy2pb6v1Yen8VQY,1046
|
|
139
139
|
mud/models/clans.py,sha256=vMeVpK4VbYBtGYxRFdg2lUmkrjkCvqEM_jCOTNiuG3g,2227
|
|
140
140
|
mud/models/classes.py,sha256=Fv0KjS339EBWqz5OBZu5TYSIDSRYpoalLTBJOf-6ThI,2602
|
|
@@ -216,9 +216,9 @@ mud/world/obj_find.py,sha256=tgnUkbFjnCl586Lzl6yRzCmllZSNEfQpQlrxCMVcUGU,5295
|
|
|
216
216
|
mud/world/time_persistence.py,sha256=K4uhRpu08IDHY5uReBYTvw4BHuqsSxWvbv-h1VsPvf8,1663
|
|
217
217
|
mud/world/vision.py,sha256=NRk3cvrGyyldU4W98qAVlYZp9wL-IUE1dTgk6DpM-NA,11609
|
|
218
218
|
mud/world/world_state.py,sha256=3KpiDP6v24sZDn9-g44UypXpegzgRShHo1XvektJzdU,8810
|
|
219
|
-
rom24_quickmud_python-2.9.
|
|
220
|
-
rom24_quickmud_python-2.9.
|
|
221
|
-
rom24_quickmud_python-2.9.
|
|
222
|
-
rom24_quickmud_python-2.9.
|
|
223
|
-
rom24_quickmud_python-2.9.
|
|
224
|
-
rom24_quickmud_python-2.9.
|
|
219
|
+
rom24_quickmud_python-2.9.5.dist-info/licenses/LICENSE,sha256=anQ2j9As6sIC8tZgQCXbo0-09JDH9vPiqhA9djnOvkY,1078
|
|
220
|
+
rom24_quickmud_python-2.9.5.dist-info/METADATA,sha256=LQqN5baUzzl00XWgEpzsZPXOLiBSynP78kGmcnzFlOw,15670
|
|
221
|
+
rom24_quickmud_python-2.9.5.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
222
|
+
rom24_quickmud_python-2.9.5.dist-info/entry_points.txt,sha256=VFru08UQTXZA_CkK-NBjJmWHyEX5a3864fQHjhaojbw,41
|
|
223
|
+
rom24_quickmud_python-2.9.5.dist-info/top_level.txt,sha256=Fk1WPmabIIjp7_iZXLYpbAVqiq7lG7TeAHt30AsOKtQ,4
|
|
224
|
+
rom24_quickmud_python-2.9.5.dist-info/RECORD,,
|
|
File without changes
|
{rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{rom24_quickmud_python-2.9.4.dist-info → rom24_quickmud_python-2.9.5.dist-info}/top_level.txt
RENAMED
|
File without changes
|