Commit Graph

45 Commits

Author SHA1 Message Date
2d7985010d
Add item types. Item containers now support limiting added item types. Added spell classes for projectile weapons.
加入物品类型,物品容器支持限制添加的物品类型了。加入适用于抛射体武器的法术类。
2024-10-04 10:21:09 +08:00
bb0f582fed
Fixed an issue where the spell Editor could not remove items placed in the second time.
修复法术编辑器二次放入物品无法取出的问题。
2024-10-01 20:53:56 +08:00
c1c3fce58a
Allows players to drag items onto the item container for quick storage.
允许玩家将物品拖到物品容器上以便快速入库。
2024-09-29 23:30:42 +08:00
2d92a92faf
Backpacks are no longer allowed in backpacks.
不允许背包内放置背包了。
2024-09-29 22:12:54 +08:00
31a1d292d8
Fixed an issue where players could pick up items in the backpack after throwing it.Supports placing items across item containers
修复玩家扔出背包后,再捡起背包内的物品消失的问题。支持跨容器替换物品了。
2024-09-28 22:59:25 +08:00
4f2208bd60
Improving the ability to drag items, there are still some issues.
改进拖动物品的功能,仍然存在一些问题。
2024-09-27 23:24:22 +08:00
617164a4bc
Fixed an issue where the inventory icon was not updated after the player threw an item.
修复玩家扔出物品后,物品栏没有更新图标的问题。
2024-09-27 21:16:00 +08:00
b53f5bc2df
Remove the drag and drop item code.
移除拖拽物品的代码。
2024-09-25 23:01:52 +08:00
63680a9410
Add an event where item data changes.
加入物品数据改变的事件。
2024-09-23 21:03:39 +08:00
234241b74a
Bind the item container to the item container display.
将物品容器和物品容器显示器绑定。
2024-09-22 23:13:59 +08:00
32299877c6
Item containers maintain item collections, not item slots.
物品容器将维护物品集合,而不是物品槽。
2024-09-22 16:51:42 +08:00
4f16214885
Modified the knockback algorithm.
修改击退算法。
2024-08-22 22:03:44 +08:00
d3f2076b11
Fix the issue of picking up lost attributes after losing weapons.
修复失去武器后再捡起丢失属性的问题。
2024-08-20 22:17:07 +08:00
4aff26d7bc
Added drag and drop to backpack for quick storage.
添加拖拽到背包快速存储的功能。
2024-07-03 23:31:31 +08:00
2dd5525adf
Fixed an issue where Hotbar did not select item A by default, from slot 1 to slot 2, and then from slot 2.
解决Hotbar没有默认选中,将物品A从槽1放到槽2,再从槽2取出时报错的问题。
2024-06-26 23:18:50 +08:00
1b440b828f
Fixed an issue where the number of weapons to be picked up after being thrown is 0, making it impossible to throw them again.
解决武器扔出后再捡起数量为0,导致无法再次扔出的问题。
2024-06-25 23:54:37 +08:00
dea683dbc5
No backpack nesting backpack.
禁止背包嵌套背包。
2024-06-25 22:11:19 +08:00
b7f72c0456
Add item generator.
加入物品生成器。
2024-06-22 23:29:24 +08:00
18d9ccb8ab
Adjust the namespace.
调整命名空间。
2024-06-22 19:21:06 +08:00
53f830d5a6
Fixed an issue where items could not be thrown.
修复无法扔出物品的问题。
2024-06-21 22:55:31 +08:00
309a7b73d2
Remove item slots.
移除物品槽位。
2024-06-21 19:16:40 +08:00
1e5b466c6f
Add whether the item is selected.Adjust the display logic of the backpack UI.
加入物品是否被选择。调整背包UI的显示逻辑。
2024-06-19 22:33:00 +08:00
a58ddeb039
Optimized drag and drop of items.
优化物品的拖拽。
2024-06-18 23:37:18 +08:00
c1f0e30671
Backpack Ui will not prevent clicking the button below anymore.
背包Ui不会阻止点击下面的按钮了。
2024-06-17 22:12:51 +08:00
db0a2fa1ee
Add PickAbleItem.Change item icon and backgrounds.
加入可拾捡物,更换物品图标和背景。
2024-06-16 15:28:16 +08:00
30a0a6539f
Merge branch 'master' of github.com:Cold-Mint/Traveller 2024-06-14 19:33:21 +08:00
b018165e3c
Remove ambiguous comments.
移除有歧义的注释。
2024-06-14 19:25:48 +08:00
霧雨烨
e5664f1553 Add PacksackStack for item Packsack
为Packsack物品添加PacksackStack
2024-06-14 12:22:44 +08:00
b8b8e81d8f
Review the merged code to resolve an issue where the game is unresponsive after a player dies.
审查合并后的代码,解决玩家死亡后游戏无响应的问题。
2024-06-13 22:29:18 +08:00
霧雨烨
229098b261 Added all basic item stacks;
Move item stacks to new namespace
2024-06-13 14:05:59 +08:00
霧雨烨
23877e82cc Remove old item interfaces,rename new
移除旧的物品接口,重命名新的
2024-06-13 03:07:55 +08:00
霧雨烨
94a2e78efc Fixed all the bugs that prevented the game from working, added static item registration on startup
阻碍游戏运行的bug已尽数修复,添加启动时的静态物品注册
2024-06-13 03:04:12 +08:00
霧雨烨
16a2d40501 It's done. 2024-06-13 01:51:51 +08:00
霧雨烨
16b3a5a106 UniversalItemContainer refactored done
UniversalItemContainer调教完成
2024-06-13 01:18:55 +08:00
霧雨烨
9b3701b49c (temp):ItemSlot has already changed into new interfaces 2024-06-12 17:57:38 +08:00
霧雨烨
e9656d6992 (temp):
Just a small refactoring in the huge interaction code (regarding ItemSlot and ItemStack), but I think it's necessary to leave a save point, after all, I have to go to sleep first
2024-06-12 02:22:04 +08:00
05763c25b1
Created the ability to drop items on the ground after the player dies.
制作玩家死亡后,背包物品掉在地上的功能。
2024-06-08 23:59:24 +08:00
5ec6b3065b
Distinguish log levels to solve the problem of overlapping room splicing borders.
区分日志等级,解决房间拼接边框重叠的问题。
2024-05-24 22:58:52 +08:00
222d26441e
Improve empty references and improve code robustness.
改善空引用,提升代码健壮性。
2024-05-08 18:22:04 +08:00
9435f76fc0
Adjust the logic of how the player picks up items.
调整玩家捡起物品的逻辑。
2024-05-06 18:59:39 +08:00
801b3dd93b
Supports the use of mouse wheel to switch currently held items.
支持使用鼠标滚轮切换当前持有的物品了。
2024-05-04 22:59:46 +08:00
b7939af5d0
Supports the use of mouse wheel and keyboard number keys to adjust HotBar selected items.
支持使用鼠标滚轮和键盘数字键调整HotBar选中的项目了。
2024-05-03 22:35:54 +08:00
a1d40d09b1
Support for displaying item details now.
支持显示物品详情了。
2024-05-02 16:28:22 +08:00
e204aae56a
Add hover hints to items.
为物品添加悬浮提示。
2024-04-29 23:25:03 +08:00
35aa4ce85b
Initial commit
初始提交
2024-04-28 21:55:19 +08:00