• 👋 好久不见,老朋友,序序新:964014008
资源图标

原创插件 [其他]ShimmerItemReplace —— 修改微光转换的物品 1.1

没有下载许可

wtufta

Lv3
LV
0
 
IP属地
广东省
2022/01/23
28
11
  • · 发布于未知
wtufta 提交新资源:

[其他]ShimmerItemReplace —— 修改微光转换的物品 - 通过配置文件修改微光变换会产生的物品

通过配置文件 ShimmerItemReplace.json 配置微光转换的物品,还可以进行进度限制。

原版的混沌传送仗、环境改造枪和无底水桶及其进度限制被从代码并中删除,作为默认配置文件内容加入到ShimmerItemReplace.json,如果删除配置文件相关内容,这三个物品将无法进行微光变换。

变换的优先级高于分解,有对应变换物品的物品将无法分解。

以下是默认配置文件内容
默认配置除了上面三个,还有环境钥匙转武器
JSON:
{
  "AddToReload": false, //是否添加到OnReload
  "CommandNames": [
    "sirc"
  ], //命令名称 可改
  "CommandPermission": "sirc", //命令权限 可改
  "Replace": [
    {
      "src": 1326, //变换源物品ID
      "dest": 5335, //变换目标物品ID。当为-1时,不会修改变换物品ID,但是进度限制依然生效
      "pg": 22 //进度限制值
    }...

阅读关于此资源更多信息...
 

dark22

Lv3
LV
0
 
IP属地
英国
2020/03/15
7
1
  • · 发布于英国
有机会发布源代码吗? 我想翻译成其他语言。 感谢您的工作!
 

wtufta

Lv3
LV
0
 
IP属地
广东省
2022/01/23
28
11
  • · 发布于广东省
有机会发布源代码吗? 我想翻译成其他语言。 感谢您的工作!
你要不自己反编译下?
 

TheLastPrism

Lv6
管理成员
版主
创意家
LV
0
 
IP属地
湖北省
2019/10/25
1,028
341
勋章
5
  • · 发布于日本
有机会发布源代码吗? 我想翻译成其他语言。 感谢您的工作!
Hey dude, feel free to use English directly!
 

TheLastPrism

Lv6
管理成员
版主
创意家
LV
0
 
IP属地
湖北省
2019/10/25
1,028
341
勋章
5
  • · 发布于日本
有机会发布源代码吗? 我想翻译成其他语言。 感谢您的工作!
Try DnSpy. It can decompile the plugin and allow you to edit the text for localization purposes..
 

dark22

Lv3
LV
0
 
IP属地
英国
2020/03/15
7
1
  • · 发布于英国
Hey dude, feel free to use English directly!
Hi, I did not know that I could participate using english, I am grateful for your kind message.

Try DnSpy. It can decompile the plugin and allow you to edit the text for localization purposes..
I'll try your suggestion, although when a plugin is decompiled there is almost always some additional work required, so I asked about the source code. Thanks!
 

TheLastPrism

Lv6
管理成员
版主
创意家
LV
0
 
IP属地
湖北省
2019/10/25
1,028
341
勋章
5
  • · 发布于湖北省
Hi, I did not know that I could participate using english, I am grateful for your kind message.


I'll try your suggestion, although when a plugin is decompiled there is almost always some additional work required, so I asked about the source code. Thanks!
In fact DnSpy can modify plugins directly. Maybe this can save you from additional work?
1686840397624.png
"Edit Method" -> Replace the text with localized -> Save module
 

cmgypang

Lv2
LV
0
 
IP属地
福建省
2023/06/02
11
0
  • · 发布于福建省
能做到一个物品拆出多个物品及多个数量吗
 

wtufta

Lv3
LV
0
 
IP属地
广东省
2022/01/23
28
11
  • · 发布于广东省
能做到一个物品拆出多个物品及多个数量吗
分解?其实是有这个想法的,不过我还没写
 

wtufta

Lv3
LV
0
 
IP属地
广东省
2022/01/23
28
11
  • · 发布于广东省
Hi, I did not know that I could participate using english, I am grateful for your kind message.


I'll try your suggestion, although when a plugin is decompiled there is almost always some additional work required, so I asked about the source code. Thanks!
 

wtufta

Lv3
LV
0
 
IP属地
广东省
2022/01/23
28
11
  • · 发布于未知
wtufta 升级了 [其他]ShimmerItemReplace —— 修改微光转换的物品 的新版本:

添加对微光分解的支持

添加 Recipe 配置项
配置文件示例

浏览附件6194
原理是改游戏内的配方来修改微光分解产生的物品,注意,微光变化的优先级是高于分解的
pg同之前,是进度
createItem 是从游戏代码内取的名字,意为配方合成后生成的物品,在这里表示为要分解的物品
requiredItems 也是从游戏代码内取的名字,意为配方合成需要的物品,在这里表示分解后的物品

createItem 是单个物品
requiredItems 是物品数组,不能超过15个(你超了应该也没事,不过超过的会无效),
物品的属性
type 物品ID
stack 物品数量,不写为1

阅读此次升级的详细信息...
 

cmgypang

Lv2
LV
0
 
IP属地
福建省
2023/06/02
11
0
  • · 发布于福建省
1.1版本在服务器里显示还是1.0版本
只放了.dll在severplugins,文件日期是6.25的那个
屏幕截图 2023-06-28 103502.png
 

cmgypang

Lv2
LV
0
 
IP属地
福建省
2023/06/02
11
0
  • · 发布于福建省
更新后的配置文件是全部改新格式还是可以在后面补上
我自己写上后就报错了()
 

附件

  • 屏幕截图 2023-06-28 104229.png
    屏幕截图 2023-06-28 104229.png
    50.8 KB · 查看: 0

wtufta

Lv3
LV
0
 
IP属地
广东省
2022/01/23
28
11
  • · 发布于广东省
更新后的配置文件是全部改新格式还是可以在后面补上
我自己写上后就报错了()
建议发个报错
 

wtufta

Lv3
LV
0
 
IP属地
广东省
2022/01/23
28
11
  • · 发布于广东省
我记得我是26号编译的,复制错了么,挺奇怪的,抱歉
 

wtufta

Lv3
LV
0
 
IP属地
广东省
2022/01/23
28
11
  • · 发布于广东省
又得去历史下新的,我才把之前那个图删掉,又要加上
 
顶部