Commit Graph

66 Commits

Author SHA1 Message Date
bfec07a0de
Fixed When switching items, players would have multiple items stacked on their hands.
修复切换物品时,玩家手上会叠加多个物品。
2024-09-30 08:56:00 +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
32299877c6
Item containers maintain item collections, not item slots.
物品容器将维护物品集合,而不是物品槽。
2024-09-22 16:51:42 +08:00
c25d985f87
Improve the efficiency of backpack UI toggle visibility. Prepare for the upcoming workbench UI.
提升背包UI切换可见度时的效率。为即将到来的工作台UI做准备。
2024-09-14 23:38:57 +08:00
ba11bf06da
Make spell separation table.
制作法术分离工作台。
2024-09-13 23:04:39 +08:00
1429b879e8
Can generate a preview and place it in the mini-map.
能够生成预览图并将其放置到迷你地图内了。
2024-09-01 23:24:35 +08:00
d3f2076b11
Fix the issue of picking up lost attributes after losing weapons.
修复失去武器后再捡起丢失属性的问题。
2024-08-20 22:17:07 +08:00
cff0507d25
Bullet tracking will no longer penetrate the wall.
子弹跟踪不再会穿透墙壁了。
2024-08-20 00:15:12 +08:00
2a5629fc86
Projectiles can now track enemies.
抛射体可以跟踪敌人了。
2024-08-18 16:09:31 +08:00
3b2ba7440c
Improved the collision logic of bullets.
改进子弹的碰撞逻辑。
2024-08-12 22:30:13 +08:00
ef58f3885b
The projectile weapon allows the projectile queue to be fired sequentially.
抛射体武器,允许循序发射抛射体队列了。
2024-08-11 23:29:23 +08:00
05ac2dec60
Join Mr. Raven.
加入乌鸦先生。
2024-08-11 00:25:00 +08:00
cceda0bd1f
Remove the GetMeta method.
移除GetMeta方法。
2024-08-05 22:52:20 +08:00
bac2ae1992
Modifies the return value of the damage Api to whether fatal damage has been inflicted. Add the projectile decorator.
修改伤害Api的返回值为是否造成了致命伤害。加入抛射体装饰器。
2024-08-02 23:57:11 +08:00
d143cf8dbf
Fixed bullet through wall issue.
修复子弹穿墙的问题。
2024-07-28 11:12:53 +08:00
9401913779
Join the status processor of the AI escape.
加入AI逃跑的状态处理器。
2024-07-18 22:45:39 +08:00
e454d4cedc
Log upload to the server is supported.
支持将日志上传到服务器。
2024-07-15 22:36:48 +08:00
7365434f2b
Fixed an issue where players could pick up items that had already been picked up by other creatures. Reuse floating label instances.
修复玩家能够捡起已被其他生物捡起的物品的问题。复用悬浮标签实例。
2024-07-11 23:06:47 +08:00
61618c13a9
AI characters can set default weapons. The AI will try to attack and kill the enemy now. Fixed an issue where bubbles would not display properly.
AI角色支持设置默认武器。AI会尝试攻击并杀死敌人了。修复气泡不能正常显示的问题。
2024-07-10 23:23:04 +08:00
adee87429e
Add bubbles and scout areas.
加入气泡和侦察区域。
2024-07-07 23:10:25 +08:00
04858534ba
Fixed an issue where the player did not select the first item slot, but the item in their hand would become the item they just picked up.
解决玩家选中的不是第一个物品槽,但是手中持有的物品会变成刚刚捡起的物品的问题。
2024-07-05 22:56:24 +08:00
4251035a3b
With the addition of LogLabel, character support is now patrolling between several points.
加入LogLabel,角色支持在几个点之间巡逻了。
2024-07-02 23:16:04 +08:00
bce36eeee9
Remove the behavior tree and add it to the state machine.
移除行为树,加入状态机。
2024-07-01 07:55:58 +08:00
2f4ecd9938
Fixed an issue where items can be thrown without collision damage.
解决物品扔出后没有碰撞伤害的问题。
2024-06-27 23:11:30 +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
d587c4fc01
Separation NodeUtils InstantiatePackedScene method.
分离NodeUtils.InstantiatePackedScene方法。
2024-06-24 22:19:12 +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
5d6d42aa54
Adds the selected slot change event to the item container.
加入物品容器选中的槽位改变事件。
2024-06-20 00:02:32 +08:00
a58ddeb039
Optimized drag and drop of items.
优化物品的拖拽。
2024-06-18 23:37:18 +08:00
8391396191
Level graphs migrated to yaml.
关卡图迁移到yaml。
2024-06-16 22:44:50 +08:00
霧雨烨
9c8d98da02 Merge branch 'refs/heads/master' into loot_rebuild
# Conflicts:
#	data/itemRegs/weapons.yaml
#	locals/Log.csv
#	prefab/weapons/staffOfTheUndead.tscn
#	scripts/character/CharacterTemplate.cs
#	scripts/item/ItemTypeManager.cs
#	scripts/item/weapon/WeaponTemplate.cs
#	scripts/loader/uiLoader/MainMenuLoader.cs
2024-06-16 17:32:29 +08:00
霧雨烨
2d3fa08d0d Replaced all hardcoded stringName call.
移除了所有硬编码的StringName调用。
2024-06-16 17:09:40 +08:00
霧雨烨
abf03c00a1 Preliminary rewrite of the loot system
初步重写掉落系统
2024-06-16 16:56:45 +08:00
db0a2fa1ee
Add PickAbleItem.Change item icon and backgrounds.
加入可拾捡物,更换物品图标和背景。
2024-06-16 15:28:16 +08:00
霧雨烨
d12ddc566b Merge remote-tracking branch 'refs/remotes/origin/master' into item_refactory
# Conflicts:
#	locals/Item.csv
#	locals/Weapon.en.translation
#	locals/Weapon.ja.translation
#	locals/Weapon.zh.translation
#	scripts/inventory/UniversalItemContainer.cs
#	scripts/utils/NodeUtils.cs
2024-06-13 10:15:15 +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
f219380a5f
Add a backpack for testing.
加入测试使用的背包。
2024-06-12 23:42:35 +08:00
霧雨烨
76daa88bac Merge branch 'refs/heads/master' into item_refactory_combined
# Conflicts:
#	locals/Slogan.ja.translation
#	scripts/character/CharacterTemplate.cs
#	scripts/character/Player.cs
#	scripts/inventory/HotBar.cs
#	scripts/inventory/IItemContainer.cs
#	scripts/item/weapon/ProjectileWeapon.cs
#	scripts/item/weapon/WeaponTemplate.cs
2024-06-12 22:13: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
霧雨烨
7f20a7233c Initial migration of existing item interactions to the new interface 2024-06-12 01:57:55 +08:00
霧雨烨
026c7ff32f Add single item stack type, move the weapon namespace into the item namespace, and I think it's ready to be merged into the new interface 2024-06-12 00:51:40 +08:00
7805a63174
Fixed an issue where items on the ground still carry collision damage.
解决物品在地面上,仍然带有碰撞伤害的问题。
2024-06-11 22:16:10 +08:00
63a56cbb2c
Unified management scenario instantiation, loot generation in the right place, and allow to specify the probability and quantity.
统一管理场景实例化,战利品生成在正确的位置,且允许指定概率和数量了。
2024-06-10 21:05:18 +08:00