Total War: THREE KINGDOMS

Total War: THREE KINGDOMS

Not enough ratings
Shi Xie's AI gets chest
   
Award
Favorite
Favorited
Unfavorite
Tags: mod, campaign
File Size
Posted
Updated
12.974 KB
15 Mar, 2022 @ 6:12pm
22 May, 2022 @ 7:01pm
5 Change Notes ( view )

Subscribe to download
Shi Xie's AI gets chest

Description
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 Comments
Guvenoren 23 May, 2022 @ 3:58am 
It works! A bunch of Lords are getting lunch boxes now! I think it fixed the issue
Guvenoren 23 May, 2022 @ 2:44am 
does it require a new save, or can I check this save?
Ironic  [author] 22 May, 2022 @ 7:02pm 
@Guvenoren Just updated to prevent that error from coming around, you can test it via playing Mulu and looking at Shi Xie.
Ironic  [author] 22 May, 2022 @ 6:12pm 
@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 22 May, 2022 @ 4:59pm 
This?
Guvenoren 22 May, 2022 @ 4:59pm 
"
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  [author] 22 May, 2022 @ 4:51pm 
@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 22 May, 2022 @ 4:26pm 
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 17 May, 2022 @ 1:26pm 
hmm, yeah I need to be more investigative. 4x spies on him should be enough. I will report back on my findings
Ironic  [author] 17 May, 2022 @ 9:00am 
@Guvenoren I do run Gathering so it shouldn’t conflict, it may be that Shi Xie auto equips it.