User Bingo2000 just reminded me that there is no conversion of oil to rares in DH, as in AOD. This had been a noticeable problem as rare materials to IC ratio dwindled in the later stages of the game, and even early on for nations who have a lot of oil and don't want to trade for rares ( Interbellic Romania comes to mind
).
So I whipped up a decision with 9 satellite events to deal with this matter in case anyone wants it, at least until the devs whip up something better, if they do.
Anyone interested can feel free to abuse it. Just name me in the credits if you'll include it in a published mod (and "admire" my "great" humility if you won't).
Instructions: Copy-paste it anywhere in your used events files, preferably at the end of Generic Decisions. Change ID's if necessary. Backup your file, or be prepared to pay the price.
Version 1.0 - initial draft, no effects/syntax check.
Version 1.1 - Corrected everything, works to my satisfaction.
So I whipped up a decision with 9 satellite events to deal with this matter in case anyone wants it, at least until the devs whip up something better, if they do.
Anyone interested can feel free to abuse it. Just name me in the credits if you'll include it in a published mod (and "admire" my "great" humility if you won't).
Code:
#### Oil to Rare Materials conversion
event = {
id = 9000100
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
decision = {
or = {
NOT = { rare_materials = 100 }
AND = {
ic = 15
NOT = { rare_materials = 300 }
}
AND = {
ic = 30
NOT = { rare_materials = 900 }
}
AND = {
ic = 50
NOT = { rare_materials = 1500 }
}
AND = {
ic = 80
NOT = { rare_materials = 2400 }
}
AND = {
ic = 100
NOT = { rare_materials = 3000 }
}
AND = {
ic = 200
NOT = { rare_materials = 6000 }
}
AND = {
ic = 500
NOT = { rare_materials = 15000 }
}
AND = {
ic = 1000
NOT = { rare_materials = 30000 }
}
}
}
decision_trigger = {
money = 10
oil = 1000
or = {
NOT = { rare_materials = 100 }
AND = {
ic = 15
NOT = { rare_materials = 300 }
}
AND = {
ic = 30
NOT = { rare_materials = 900 }
}
AND = {
ic = 50
NOT = { rare_materials = 1500 }
}
AND = {
ic = 80
NOT = { rare_materials = 2400 }
}
AND = {
ic = 100
NOT = { rare_materials = 3000 }
}
AND = {
ic = 200
NOT = { rare_materials = 6000 }
}
AND = {
ic = 500
NOT = { rare_materials = 15000 }
}
AND = {
ic = 1000
NOT = { rare_materials = 30000 }
}
}
}
trigger = { #Same trigger for the AI as rares are more important
money = 10
oil = 1000
or = {
NOT = { rare_materials = 100 }
AND = {
ic = 15
NOT = { rare_materials = 300 }
}
AND = {
ic = 30
NOT = { rare_materials = 900 }
}
AND = {
ic = 50
NOT = { rare_materials = 1500 }
}
AND = {
ic = 80
NOT = { rare_materials = 2400 }
}
AND = {
ic = 100
NOT = { rare_materials = 3000 }
}
AND = {
ic = 200
NOT = { rare_materials = 6000 }
}
AND = {
ic = 500
NOT = { rare_materials = 15000 }
}
AND = {
ic = 1000
NOT = { rare_materials = 30000 }
}
}
}
name = "Strategic materials shortage"
desc = "Our stocks of strategic materials are dwindling fast. We must initiate a rapid program to convert some of our oil into lubricants, specialized fuels, plastics and artificial rubbers or our industrial production will be brought to a standstill!"
style = 2
picture = "ersatz_conversion"
decision_picture = "decision_ersatz_conversion"
date = { day = 1 month = january year = 1914 }
offset = 120
deathdate = { day = 30 month = december year = 1963 }
action = {
name = "Convert 100,000 barrels" # 1 oil = 100 barrels?
trigger = {
not = { and = {
ic = 20
money = 100
oil = 10000
}
}
}
ai_chance = 11
command = { type = free_ic value = -1 }
command = { type = money value = -10 }
command = { type = oilpool value = -1000 }
command = { type = event which = 9000101 where = -1 when = 30 }
}
action = {
name = "Convert 200,000 barrels"
trigger = {
ic = 4
money = 20
oil = 2000
not = { and = {
ic = 40
money = 200
oil = 20000
}
}
}
ai_chance = 11
command = { type = free_ic value = -2 }
command = { type = money value = -20 }
command = { type = oilpool value = -2000 }
command = { type = event which = 9000102 where = -1 when = 30 }
}
action = {
name = "Convert 400,000 barrels"
trigger = {
ic = 8
money = 40
oil = 4000
not = { and = {
ic = 80
money = 400
oil = 40000
}
}
}
ai_chance = 11
command = { type = free_ic value = -4 }
command = { type = money value = -40 }
command = { type = oilpool value = -4000 }
command = { type = event which = 9000103 where = -1 when = 30 }
}
action = {
name = "Convert 700,000 barrels"
trigger = {
ic = 14
money = 70
oil = 7000
not = { and = {
ic = 140
money = 700
oil = 70000
}
}
}
ai_chance = 11
command = { type = free_ic value = -7 }
command = { type = money value = -70 }
command = { type = oilpool value = -7000 }
command = { type = event which = 9000104 where = -1 when = 30 }
}
action = {
name = "Convert 1,000,000 barrels"
trigger = {
ic = 20
money = 100
oil = 10000
not = { and = {
ic = 200
money = 1000
oil = 100000
}
}
}
ai_chance = 11
command = { type = free_ic value = -10 }
command = { type = money value = -100 }
command = { type = oilpool value = -10000 }
command = { type = event which = 9000105 where = -1 when = 30 }
}
action = {
name = "Convert 2,000,000 barrels"
trigger = {
ic = 40
money = 200
oil = 20000
}
ai_chance = 11
command = { type = free_ic value = -20 }
command = { type = money value = -200 }
command = { type = oilpool value = -20000 }
command = { type = event which = 9000106 where = -1 when = 30 }
}
action = {
name = "Convert 4,000,000 barrels"
trigger = {
ic = 80
money = 400
oil = 40000
}
ai_chance = 11
command = { type = free_ic value = -40 }
command = { type = money value = -400 }
command = { type = oilpool value = -40000 }
command = { type = event which = 9000107 where = -1 when = 30 }
}
action = {
name = "Convert 7,000,000 barrels"
trigger = {
ic = 140
money = 700
oil = 70000
}
ai_chance = 11
command = { type = free_ic value = -70 }
command = { type = money value = -700 }
command = { type = oilpool value = -70000 }
command = { type = event which = 9000108 where = -1 when = 30 }
}
action = {
name = "Convert 10,000,000 barrels"
trigger = {
ic = 200
money = 1000
oil = 100000
}
ai_chance = 12
command = { type = free_ic value = -100 }
command = { type = money value = -1000 }
command = { type = oilpool value = -100000 }
command = { type = event which = 9000109 where = -1 when = 30 }
}
}
event = {
id = 9000101
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 1 }
command = { type = rarematerialspool value = 100 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 100 } #Modern materials techs
command = { trigger = { technology = 53050 } type = rarematerialspool value = 100 }
}
}
event = {
id = 9000102
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 2 }
command = { type = rarematerialspool value = 200 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 200 }
command = { trigger = { technology = 53050 } type = rarematerialspool value = 200 }
}
}
event = {
id = 9000103
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 4 }
command = { type = rarematerialspool value = 400 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 400 }
command = { trigger = { technology = 53050 } type = rarematerialspool value = 400 }
}
}
event = {
id = 9000104
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 7 }
command = { type = rarematerialspool value = 700 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 700 }
command = { trigger = { technology = 53050 } type = rarematerialspool value = 700 }
}
}
event = {
id = 9000105
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 10 }
command = { type = rarematerialspool value = 1000 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 1000 }
command = { trigger = { technology = 53050 } type = rarematerialspool value = 1000 }
}
}
event = {
id = 9000106
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 20 }
command = { type = rarematerialspool value = 2000 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 2000 }
command = { trigger = { technology = 53050 } type = rarematerialspool value = 2000 }
}
}
event = {
id = 9000107
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 40 }
command = { type = rarematerialspool value = 4000 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 4000 }
command = { trigger = { technology = 53050 } type = rarematerialspool value = 4000 }
}
}
event = {
id = 9000108
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 70 }
command = { type = rarematerialspool value = 7000 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 7000 }
command = { trigger = { technology = 53050 } type = rarematerialspool value = 7000 }
}
}
event = {
id = 9000109
random = no
persistent = yes
TAG = { AFG ALB ALG ANG ARA ARG ARM AST AUS AZB BEL BEN BLR BOL BOS BRA BRU BUL BUR CAL CAM CAN CGX CHC CHI CHL CMB COL CON COS CRO CSA CSX CUB CXB CYN CYP CZE DDR DEN DFR EAF ECU EGY ENG EQA EST ETH EUS FIN FLA FRA GAB GEO GER GLD GRE GUA GUI GUY HOL HON HUN ICL IDC IND INO IRE IRQ ISR ITA JAP JOR KAZ KOR KUR KYG LAO LAT LBY LEB LIT LUX MAD MAL MAN MEN MEX MLY MON MOR MOZ MTN NAM NIC NIG NOR NZL OMN OTT PAK PAL PAN PAR PER PHI POL POR PRI PRK PRU QUE RHO ROM RSI RUS SAF SAL SAR SAU SCA SCH SCO SER SIA SIB SIE SIK SLO SLV SOM SOV SPA SPR SUD SWE SYR TAJ TAN TEX TRA TRK TUN TUR UKR URU USA UZB VEN VIE WLL YEM YUG U01 U02 U03 U04 U08 U09 U10 U11 U12 U13 U14 U15 U16 U17 U18 U19 U20 U21 U22 U26 U27 U28 U29 U30 U31 U32 U33 U34 U35 U40 U41 U42 U43 U44 U45 U46 U47 U48 U49 U50 U51 U52 U53 U54 U55 U56 U67 U69 UTC UER UPE U70 U71 U72 U73 U74 U75 U76 U77 U78 U79 U80 U81 U82 U83 U84 U85 U86 U87 U88 U89 U90 U91 U92 U93 U94 U95 U96 U97 U98 U99 }
name = "Conversion complete!"
desc = "We have completed production on the latest batch of oil-based strategic materials."
style = 2
picture = "ersatz_conversion"
action = {
ai_chance = 100
name = "Very well."
command = { type = free_ic value = 100 }
command = { type = rarematerialspool value = 10000 }
command = { trigger = { technology = 53040 } type = rarematerialspool value = 10000 }
command = { trigger = { technology = 53050 } type = rarematerialspool value = 10000 }
}
}
Instructions: Copy-paste it anywhere in your used events files, preferably at the end of Generic Decisions. Change ID's if necessary. Backup your file, or be prepared to pay the price.
Version 1.0 - initial draft, no effects/syntax check.
Version 1.1 - Corrected everything, works to my satisfaction.
Last edited: