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
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
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
霧雨烨
b35fb50073
Subdivision of Misc and Action from UI translation files.
2024-06-14 00:43:31 +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
霧雨烨
e307a58299
Make packsack new interface, too.
2024-06-13 11:04:51 +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
2a836e32e6
Support for restarting the game.
...
支持重新开始游戏了。
2024-06-04 22:23:06 +08:00
74c85cd5a7
Support for generating creatures on the map, adding the game end screen.
...
支持在地图上生成生物了,加入了游戏结束的画面。
2024-06-03 22:58:59 +08:00
64688252f0
Fixed an issue where players could not pick up items.
...
修复玩家不能拾起物品的问题。
2024-06-02 22:25:07 +08:00
5ec6b3065b
Distinguish log levels to solve the problem of overlapping room splicing borders.
...
区分日志等级,解决房间拼接边框重叠的问题。
2024-05-24 22:58:52 +08:00
5cdb720d37
Add Japanese translation to improve item picking logic.
...
增加日语翻译,改善物品的拾捡逻辑。
2024-05-09 21:07:14 +08:00
222d26441e
Improve empty references and improve code robustness.
...
改善空引用,提升代码健壮性。
2024-05-08 18:22:04 +08:00
1c116eb820
Add a null judgment.
...
添加空判断。
2024-05-07 19:36:06 +08:00
802eb599da
Fixed an issue where the health bar was drawn incorrectly.
...
修复健康条绘制不正确的问题。
2024-05-07 17:38:50 +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
e204aae56a
Add hover hints to items.
...
为物品添加悬浮提示。
2024-04-29 23:25:03 +08:00
159d3a7017
Remove packets and databases.
...
移除数据包和数据库。
2024-04-29 22:18:46 +08:00
5bdd68b61f
Failed to make the packet.
...
制作数据包失败。
2024-04-29 21:57:24 +08:00
35aa4ce85b
Initial commit
...
初始提交
2024-04-28 21:55:19 +08:00