任务单 #45930

Add "Trade_Revenue_Bonus_Pct" effect

开放日期: 2022-10-19 18:59 最后更新: 2024-08-17 09:48

报告人:
属主:
(无)
状态:
开启
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:
1

Details

An effect to reproduce Civ2 "transportation" bonuses, also, for better control over caravan one-time bonus. This feature uses ones from #45885 and #45907, and is intended to use future features from HRM879656.

The effect context would use actor's home city and target city tile. Possibly, we can use target city owner as "player" context for more flexibility (it is not needed for civ2 compatibility but allows some requirements on the receiver, but it looks pretty confusing to have a player different from both city and unit owner).

Maybe one would invent some shorter name (I just want to distinguish it from an annual trade route bonus).

任务单历史 (3/9 Histories)

2022-10-19 18:59 Updated by: ihnatus
  • New Ticket "Add "Trade_Revenue_Bonus_Pct" effect" created
2022-11-09 07:19 Updated by: ihnatus
评论

A patch is made. I decided to use it with the owner's player since it's natural to modify the bonus of a player according to techs the player knows.

2022-11-24 08:47 Updated by: cazfi
评论

Apparently depends on #46046; currently my build fails due to lack of default_tester_cb(), and #46046 seems to introduce it.

2022-12-16 10:44 Updated by: cazfi
评论

Reply To cazfi

Apparently depends on #46046; currently my build fails due to lack of default_tester_cb(), and #46046 seems to introduce it.

After the #46046 split it's now in #46266. However, this patch does not apply (at least on top of my stack)

2022-12-19 06:13 Updated by: ihnatus
评论

Reply To cazfi

Reply To cazfi

Apparently depends on #46046; currently my build fails due to lack of default_tester_cb(), and #46046 seems to introduce it.

After the #46046 split it's now in #46266. However, this patch does not apply (at least on top of my stack)

Even if you apply it, it also depends on #41781 that also needs split and some improvement.

2023-01-23 00:25 Updated by: cazfi
评论

Reply To ihnatus

After the #46046 split it's now in #46266. However, this patch does not apply (at least on top of my stack)

Even if you apply it, it also depends on #41781 that also needs split and some improvement.

I took this as indicator that none of your patches can be merged at the moment (all of them depend on this). Correct me if I'm wrong.

2023-01-23 05:02 Updated by: ihnatus
评论

Likely yes. I recently returned to development but it might move on not this week.

2024-08-17 09:48 Updated by: cazfi

Attachment File List

编辑

Please login to add comment to this ticket » 登录名