全面战争:三国

全面战争:三国

评价数不足
Shi Xie's AI gets chest
   
奖励
收藏
已收藏
取消收藏
标签: mod, campaign
文件大小
发表于
更新日期
12.974 KB
2022 年 3 月 15 日 下午 6:12
2022 年 5 月 22 日 下午 7:01
5 项改动说明 ( 查看 )

订阅以下载
Shi Xie's AI gets chest

描述
Well as the title says, Shi Xie's AI gets chest.

Shi Xie resource is enabled as AI and now when he reaches 45 splendour he will have a 40% chance to purchase a chest, and if he purchases a chest, he will lose 45 splendour. Every 20 resource of Splendour will increase the chance by 5%, and he gains a flat 10 splendour each turn to help out the AI.

Note any bugs in the comments.

Compatible with all, uses scripts.
25 条留言
Guvenoren 2022 年 5 月 23 日 上午 3:58 
It works! A bunch of Lords are getting lunch boxes now! I think it fixed the issue
Guvenoren 2022 年 5 月 23 日 上午 2:44 
does it require a new save, or can I check this save?
Ironic  [作者] 2022 年 5 月 22 日 下午 7:02 
@Guvenoren Just updated to prevent that error from coming around, you can test it via playing Mulu and looking at Shi Xie.
Ironic  [作者] 2022 年 5 月 22 日 下午 6:12 
@Guvenoren Ah okay I see, yea seems to be an issue which is weird let me double check some stuff, it may be an old file or something.
Guvenoren 2022 年 5 月 22 日 下午 4:59 
This?
Guvenoren 2022 年 5 月 22 日 下午 4:59 
"
Shi Listener
260
0

core:event_callback_error:<WorldStartOfRoundEvent> [ AIChestShiXie ]
error: [string "script\campaign\mod\shixieai.lua"]:122: attempt to perform arithmetic on field 'price' (a nil value)
stack traceback:
[string "script\_lib\lib_mod_loader.lua"]:245: in function <[string "script\_lib\lib_mod_loader.lua"]:245>
[C]: in function 'xpcall'
[string "script\_lib\lib_mod_loader.lua"]:245: in function 'event_callback'
[string "script\_lib\lib_core.lua"]:1138: in function <[string "script\_lib\lib_core.lua"]:1138>
"
Ironic  [作者] 2022 年 5 月 22 日 下午 4:51 
@Guvenoren in the 3k folder there is a folder called Lua_mod_log check there I’ve setup some outs for it to say.
Guvenoren 2022 年 5 月 22 日 下午 4:26 
I still don't see him get any chests :/ I am having 3 spies in his faction, none wear a chest. And I cannot find chests in his inventory to trade. Are you sure this actually works? Found any solid way to find proof that it actually delivers?
Guvenoren 2022 年 5 月 17 日 下午 1:26 
hmm, yeah I need to be more investigative. 4x spies on him should be enough. I will report back on my findings
Ironic  [作者] 2022 年 5 月 17 日 上午 9:00 
@Guvenoren I do run Gathering so it shouldn’t conflict, it may be that Shi Xie auto equips it.