Commit Graph

78 Commits

Author SHA1 Message Date
KansaiGaijin
dee742b1e4 Fix pick-up merging: name-based add_item and backpack-count display 2026-07-07 12:31:08 +12:00
KansaiGaijin
2706f7b25b Add disambiguate() helper for examine/loot container ambiguity resolution 2026-07-07 12:24:58 +12:00
KansaiGaijin
7935983707 Add .gitignore for .idea/ and __pycache__/ 2026-07-07 12:13:58 +12:00
KansaiGaijin
221cb71410 Add Container class with lock/trap detection, corpse drops, and numbered duplicate corpses 2026-07-07 12:13:43 +12:00
KansaiGaijin
db4b5cb543 Rewrite README to focus on game usage, remove personal content and license 2026-07-07 11:43:23 +12:00
kansaigaijin
f431ae8c53 Added pregen characters to select from 2025-07-13 23:28:56 +12:00
kansaigaijin
de7fa298b9 Added pregen characters to select from 2025-07-13 23:28:47 +12:00
kansaigaijin
509fb35a20 Fixed bug where selecting take all of leave when looting a chest would register as an invalid command. 2025-07-13 22:52:38 +12:00
kansaigaijin
56806178f3 Added exit to tutorial to start the game 2025-07-13 20:55:39 +12:00
kansaigaijin
56fba22217 Updated text parsing and commands 2025-07-13 20:49:41 +12:00
kansaigaijin
54db0c8e6f Removed errant linebreak 2025-07-13 20:49:26 +12:00
kansaigaijin
731f2651a5 Developed the possible text inputs to be parsed. Also Added a truly pregenerated character for easier testing. Will add option for genuine pre-gen characters. Corrected the function call for equipment calls to be instance based not a static method 2025-07-13 20:39:06 +12:00
kansaigaijin
d7d69fa3d1 Developed the possible text inputs to be parsed 2025-07-13 20:37:55 +12:00
kansaigaijin
356957bd0f Changed armor to go on armor slot instead of chest slot. 2025-07-13 20:37:28 +12:00
kansaigaijin
511b497580 Changed armor to go on armor slot instead of chest slot. 2025-07-13 20:37:21 +12:00
kansaigaijin
9d4017100f Added a tutorial scene to begin 2025-07-13 20:36:44 +12:00
kansaigaijin
55030323ad Corrected last bugs in character creation. Now fully complete. 2025-07-13 19:16:02 +12:00
kansaigaijin
92a3d526c5 Updated the __repr__ to remove self.name 2025-07-13 19:15:11 +12:00
kansaigaijin
d14e9e8e8b Moved functions around. Moved Inventory and thus equipped items into its own class 2025-07-13 16:10:31 +12:00
kansaigaijin
54fef56615 Updated startGame(), fixed bugs, reworded/formatted areas to be consistent. 2025-07-13 16:09:24 +12:00
kansaigaijin
906dde0607 Rebuilt scenes. More additions to come. Once the game framework has been completed, will largely only need to edit this script to expand game. 2025-07-13 16:08:29 +12:00
kansaigaijin
3c34c2c6f5 Corrected the name_adjective for each of the races 2025-07-13 16:07:43 +12:00
kansaigaijin
bd53e94ea2 Rebuilt the engine and player initialisation. Added functions for interaction with scenes such as items 2025-07-13 16:06:34 +12:00
kansaigaijin
56764ad857 Updated damage types to align with SRD 2025-07-13 16:05:29 +12:00
kansaigaijin
095de06d17 Updated Inventory and Player classes with better handling 2025-06-26 21:52:52 +12:00
kansaigaijin
ce1c76626d Updated Inventory and Player functions with better handling 2025-06-26 21:52:25 +12:00
kansaigaijin
f896cc9184 Moved inventory details to its own class 2025-06-26 21:42:55 +12:00
kansaigaijin
b2f5e4eaf1 Removed unused code Text method and replaced with standard print commands 2025-06-26 20:23:42 +12:00
KansaiGaijin
060e5bd0d6 Delete Kanjin-Engine 2025-06-26 19:27:18 +12:00
KansaiGaijin
87e8f20396 Delete Kanjin-PygameGUI 2025-06-26 19:27:02 +12:00
KansaiGaijin
e88c9b6da9 Update Kanjin-Engine 2024-10-29 20:34:00 +13:00
KansaiGaijin
d0ab3f44d4 Update functions.py
Added PyWebIO inpout text and floats
2024-08-11 01:31:34 +12:00
KansaiGaijin
14732cf007 Update Kanjin-Engine
Adjusting how to initialise the script and start the server
2024-08-11 01:30:22 +12:00
KansaiGaijin
ae6e1d8952 Update player.py
Updated how item type is portrayed at class level
2022-12-20 22:57:01 +13:00
KansaiGaijin
02ea2e4512 Update functions.py
Removed moot "view_Equip" functions and corrected the change equipment function (still has a small error displaying 'None' after changing a weapon.
2022-12-20 22:55:03 +13:00
KansaiGaijin
b8064e3e6f Update Kanjin-Engine
Updated how item type is portrayed at class level
2022-12-20 22:51:11 +13:00
KansaiGaijin
6a8f1f01c7 Update Kanjin-Engine
Moved where the player intialises to right at the top and  created a very basic pregen option to skip over the character creation during testing
2022-10-30 15:08:54 +13:00
KansaiGaijin
b53d0d4f44 Update player.py
Updated small error in allocation code not counting words correctly
2022-10-30 15:07:46 +13:00
KansaiGaijin
2d65d3f2af Update README.md 2022-10-30 14:47:44 +13:00
KansaiGaijin
0eba3e823e Update player.py
Updated Enum names for better usage.
Beginning to consider attunement ramifications.
Allocation for character creation is better formatted.
2022-10-30 14:43:47 +13:00
KansaiGaijin
b9a7705f42 Update functions.py
Updated equipment change. Links its together an stays in menu until you exit. Lets you return on each menu. Doesn't list anything if there's nothing to list and is clear about it. - Requires further testing with test items.
Updated Character Generation by keeping things in their own loops.
2022-10-30 14:39:21 +13:00
KansaiGaijin
6ea09f7ee6 Update Kanjin-Engine
Updated Enum titles so not all capslock.
Updated allocation method
2022-10-30 12:08:39 +13:00
KansaiGaijin
009c977268 Update functions.py
Character Creation: Fixed being able to enter no name and limited to a minimum of two letters. Numbers still accepted.
Change equipped: Fixed incorrect input errors. Tidied up the code a little bit. Updated item types to be better searchable via Enum.
2022-10-30 12:07:04 +13:00
KansaiGaijin
7d9b89a399 Update README.md
Added instructions on how to run (don't forget to hash in or out the pregen character)
2022-10-29 09:47:49 +13:00
KansaiGaijin
02e1159db0 Update Kanjin-Engine 2022-10-29 09:45:39 +13:00
KansaiGaijin
e226802e26 Update README.md 2022-10-29 09:40:54 +13:00
KansaiGaijin
fcde5cc56d Create race_list.py
Race list holding SRD information.

Currently dumps the info on player - consider making less in your face version/showing brief stats?
Pretty print/fancy text?
2022-10-29 09:39:31 +13:00
KansaiGaijin
a33294d577 Create job_list.py
Creates and initialises classes.

Still needs customisation coded correctly and to add more classes.
2022-10-29 09:38:05 +13:00
KansaiGaijin
7b974226c6 Create player.py
Player class has it's own location now to maintain.

Includes inventory and equipment as well as initialising items.
2022-10-29 09:36:47 +13:00
KansaiGaijin
73209ff296 Update functions.py
Moved methods of Player class and added to functions.
Improved inventory and equipment checking/updating
2022-10-29 09:35:35 +13:00