Commit Graph

60 Commits

Author SHA1 Message Date
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
f7ad69440c
Add a loot table.
添加战利品表。
2024-06-09 22:05:49 +08:00
05763c25b1
Created the ability to drop items on the ground after the player dies.
制作玩家死亡后,背包物品掉在地上的功能。
2024-06-08 23:59:24 +08:00
5ca995d689
Supports throwing items out of a specific item slot.
支持扔出特定物品槽内的物品了。
2024-06-06 22:43:07 +08:00
95515ddab2
When the selected item slot A is selected, pressing the shortcut key of item slot A again will no longer invoke the press event of A.
当选中物品槽A时,再次按下物品槽A的快捷键,就不能再调用A的按下事件了。
2024-06-06 21:05:51 +08:00
4c61f3b50e
Remove unused source files. Fixed an issue where the health tank was empty after resurrection.
移除未使用的源文件。修复复活后生命槽为空的问题。
2024-06-05 22:15:23 +08:00
39ca716e3d
Conduct code reviews.
进行代码审查。
2024-06-05 21:38:45 +08:00