Advertisement
spgui200

Untitled

Jun 12th, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.89 KB | None | 0 0
  1. SMB_get_dreadnoughts_from_country = {
  2. IF = {
  3. limit = {
  4. FROM = {
  5. tag = USA
  6. }
  7. }
  8. IF = {
  9. limit = {
  10. has_dlc = "Man the Guns"
  11. }
  12. create_equipment_variant = {
  13. name = "New York Class" # represents Wyoming (Arkansas) and New York classes
  14. type = ship_hull_heavy_1
  15. name_group = USA_BB_HISTORICAL
  16. parent_version = 0
  17. modules = {
  18. fixed_ship_battery_slot = ship_heavy_battery_1
  19. fixed_ship_anti_air_slot = ship_anti_air_1
  20. fixed_ship_fire_control_system_slot = ship_fire_control_system_0
  21. fixed_ship_radar_slot = empty
  22. fixed_ship_engine_slot = heavy_ship_engine_1
  23. fixed_ship_secondaries_slot = ship_secondaries_1
  24. fixed_ship_armor_slot = ship_armor_bb_1
  25. front_1_custom_slot = empty
  26. mid_1_custom_slot = ship_airplane_launcher_1
  27. mid_2_custom_slot = ship_secondaries_1
  28. rear_1_custom_slot = ship_heavy_battery_1
  29. }
  30. obsolete = yes
  31. }
  32. create_ship = {
  33. type = ship_hull_heavy_1
  34. equipment_variant = "New York Class"
  35. creator = USA
  36. name = "New York Class I"
  37. }
  38.  
  39. create_equipment_variant = {
  40. name = "Pensacola Class" # Pensacola and Northampton classes
  41. type = ship_hull_cruiser_1
  42. name_group = USA_CA_HISTORICAL
  43. parent_version = 0
  44. modules = {
  45. fixed_ship_battery_slot = ship_medium_battery_1
  46. fixed_ship_anti_air_slot = ship_anti_air_1
  47. fixed_ship_fire_control_system_slot = ship_fire_control_system_0
  48. fixed_ship_radar_slot = empty
  49. fixed_ship_engine_slot = cruiser_ship_engine_2
  50. fixed_ship_secondaries_slot = ship_secondaries_1
  51. fixed_ship_armor_slot = ship_armor_cruiser_1
  52. mid_1_custom_slot = ship_medium_battery_1
  53. mid_2_custom_slot = empty
  54. rear_1_custom_slot = ship_airplane_launcher_1
  55. }
  56. obsolete = yes
  57. }
  58. create_ship = {
  59. type = ship_hull_cruiser_1
  60. equipment_variant = "Pensacola Class"
  61. creator = USA
  62. name = "Pensacola Class I"
  63. }
  64. }
  65. ELSE = {
  66. create_equipment_variant = {
  67. name = "Portland Class"
  68. type = heavy_cruiser_1
  69. upgrades = {
  70. ship_reliability_upgrade = 2
  71. ship_engine_upgrade = 2
  72. ship_armor_upgrade = 2
  73. ship_gun_upgrade = 2
  74. }
  75. }
  76. create_ship = {
  77. type = heavy_cruiser_1
  78. equipment_variant = "Portland Class"
  79. creator = USA
  80. name = "Portland Class I"
  81. }
  82. create_ship = {
  83. type = heavy_cruiser_1
  84. equipment_variant = "Portland Class"
  85. creator = USA
  86. name = "Portland Class II"
  87. }
  88. }
  89. USA = {
  90. set_country_flag = sold_dreadnoughts_to_us@ROOT
  91. add_timed_idea = {
  92. idea = SMB_dreadnought_payments
  93. days = 365
  94. }
  95. }
  96. ROOT = {
  97. add_timed_idea = {
  98. idea = SMB_dreadnought_debt_usa
  99. days = 365
  100. }
  101. }
  102. }
  103. ELSE_IF = {
  104. limit = {
  105. FROM = {
  106. tag = ENG
  107. }
  108. }
  109. IF = {
  110. limit = {
  111. has_dlc = "Man the Guns"
  112. }
  113. create_equipment_variant = {
  114. name = "Renown Class"
  115. type = ship_hull_heavy_1
  116. name_group = ENG_BC_HISTORICAL
  117. parent_version = 0
  118. modules = {
  119. fixed_ship_battery_slot = ship_heavy_battery_1
  120. fixed_ship_anti_air_slot = ship_anti_air_1
  121. fixed_ship_fire_control_system_slot = ship_fire_control_system_1
  122. fixed_ship_radar_slot = empty
  123. fixed_ship_engine_slot = heavy_ship_engine_2
  124. fixed_ship_secondaries_slot = dp_ship_secondaries_2
  125. fixed_ship_armor_slot = ship_armor_bc_1
  126. front_1_custom_slot = ship_anti_air_1
  127. mid_1_custom_slot = ship_airplane_launcher_1
  128. mid_2_custom_slot = ship_secondaries_1
  129. rear_1_custom_slot = empty
  130. }
  131. obsolete = yes
  132. }
  133. create_ship = {
  134. type = ship_hull_heavy_1
  135. equipment_variant = "Renown Class"
  136. creator = ENG
  137. name = "Renown Class I"
  138. }
  139. create_equipment_variant = {
  140. name = "Nelson Class"
  141. type = ship_hull_heavy_1
  142. name_group = ENG_BB_HISTORICAL
  143. parent_version = 0
  144. modules = {
  145. fixed_ship_battery_slot = ship_heavy_battery_2
  146. fixed_ship_anti_air_slot = ship_anti_air_1
  147. fixed_ship_fire_control_system_slot = ship_fire_control_system_1
  148. fixed_ship_radar_slot = empty
  149. fixed_ship_engine_slot = heavy_ship_engine_1
  150. fixed_ship_secondaries_slot = ship_secondaries_2
  151. fixed_ship_armor_slot = ship_armor_bb_2
  152. front_1_custom_slot = ship_heavy_battery_2
  153. mid_1_custom_slot = dp_ship_secondaries_1
  154. mid_2_custom_slot = empty
  155. rear_1_custom_slot = empty
  156. }
  157. obsolete = yes
  158. }
  159. create_ship = {
  160. type = ship_hull_heavy_1
  161. equipment_variant = "Nelson Class"
  162. creator = ENG
  163. name = "Nelson Class I"
  164. }
  165. }
  166. ELSE = {
  167. create_equipment_variant = {
  168. name = "Nelson Class"
  169. type = battleship_1
  170. parent_version = 0
  171. upgrades = {
  172. ship_reliability_upgrade = 3
  173. ship_engine_upgrade = 2
  174. ship_armor_upgrade = 3
  175. ship_gun_upgrade = 3
  176. }
  177. }
  178. create_ship = {
  179. type = battleship_1
  180. equipment_variant = "Nelson Class"
  181. creator = ENG
  182. name = "Nelson Class I"
  183. }
  184. create_ship = {
  185. type = battleship_1
  186. equipment_variant = "Nelson Class"
  187. creator = ENG
  188. name = "Nelson Class II"
  189. }
  190. }
  191. ENG = {
  192. set_country_flag = sold_dreadnoughts_to_us@ROOT
  193. add_timed_idea = {
  194. idea = SMB_dreadnought_payments
  195. days = 365
  196. }
  197. }
  198. ROOT = {
  199. add_timed_idea = {
  200. idea = SMB_dreadnought_debt_eng
  201. days = 365
  202. }
  203. }
  204. }
  205. ELSE_IF = {
  206. limit = {
  207. FROM = {
  208. tag = FRA
  209. }
  210. }
  211. IF = {
  212. limit = {
  213. has_dlc = "Man the Guns"
  214. }
  215. create_equipment_variant = {
  216. name = "Courbet Class"
  217. type = ship_hull_heavy_1
  218. name_group = FRA_BB_HISTORICAL
  219. parent_version = 0
  220. modules = {
  221. fixed_ship_battery_slot = ship_heavy_battery_1
  222. fixed_ship_anti_air_slot = ship_anti_air_1
  223. fixed_ship_fire_control_system_slot = ship_fire_control_system_0
  224. fixed_ship_radar_slot = empty
  225. fixed_ship_engine_slot = heavy_ship_engine_1
  226. fixed_ship_secondaries_slot = ship_secondaries_1
  227. fixed_ship_armor_slot = ship_armor_bb_1
  228. front_1_custom_slot = ship_heavy_battery_1
  229. mid_1_custom_slot = ship_secondaries_1
  230. mid_2_custom_slot = ship_secondaries_1
  231. rear_1_custom_slot = empty
  232. }
  233. obsolete = yes
  234. }
  235. create_ship = {
  236. type = ship_hull_heavy_1
  237. equipment_variant = "Courbet Class"
  238. creator = FRA
  239. name = "Courbet Class I"
  240. }
  241. create_ship = {
  242. type = ship_hull_heavy_1
  243. equipment_variant = "Courbet Class"
  244. creator = FRA
  245. name = "Courbet Class II"
  246. }
  247. }
  248. ELSE = {
  249. create_equipment_variant = {
  250. name = "Bretagne Class"
  251. type = battleship_1
  252. upgrades = {
  253. ship_reliability_upgrade = 1
  254. ship_armor_upgrade = 1
  255. ship_gun_upgrade = 1
  256. }
  257. }
  258. create_ship = {
  259. type = battleship_1
  260. equipment_variant = "Bretagne Class"
  261. creator = FRA
  262. name = "Bretagne Class I"
  263. }
  264. create_ship = {
  265. type = battleship_1
  266. equipment_variant = "Bretagne Class"
  267. creator = FRA
  268. name = "Bretagne Class II"
  269. }
  270. }
  271. FRA = {
  272. set_country_flag = sold_dreadnoughts_to_us@ROOT
  273. add_timed_idea = {
  274. idea = SMB_dreadnought_payments
  275. days = 365
  276. }
  277. }
  278. ROOT = {
  279. add_timed_idea = {
  280. idea = SMB_dreadnought_debt_fra
  281. days = 365
  282. }
  283. }
  284. }
  285. ELSE_IF = {
  286. limit = {
  287. FROM = {
  288. tag = ITA
  289. }
  290. }
  291. IF = {
  292. limit = {
  293. has_dlc = "Man the Guns"
  294. }
  295. create_equipment_variant = {
  296. name = "Giussano Class"
  297. type = ship_hull_cruiser_1
  298. name_group = ITA_CL_HISTORICAL
  299. parent_version = 0
  300. modules = {
  301. fixed_ship_battery_slot = ship_light_medium_battery_2
  302. fixed_ship_anti_air_slot = ship_anti_air_2
  303. fixed_ship_fire_control_system_slot = ship_fire_control_system_0
  304. fixed_ship_radar_slot = empty
  305. fixed_ship_engine_slot = cruiser_ship_engine_2
  306. fixed_ship_armor_slot = empty
  307. mid_1_custom_slot = ship_torpedo_1
  308. mid_2_custom_slot = ship_airplane_launcher_1
  309. rear_1_custom_slot = ship_light_medium_battery_2
  310. }
  311. obsolete = yes
  312. }
  313. create_ship = {
  314. type = ship_hull_cruiser_1
  315. equipment_variant = "Giussano Class"
  316. creator = ITA
  317. name = "Giussano Class I"
  318. }
  319. create_ship = {
  320. type = ship_hull_cruiser_1
  321. equipment_variant = "Giussano Class"
  322. creator = ITA
  323. name = "Giussano Class II"
  324. }
  325. }
  326. ELSE = {
  327. create_equipment_variant = {
  328. name = "Giussano Class"
  329. type = light_cruiser_1
  330. upgrades = {
  331. ship_reliability_upgrade = 1
  332. ship_engine_upgrade = 1
  333. ship_gun_upgrade = 1
  334. ship_anti_air_upgrade = 1
  335. }
  336. obsolete = yes
  337. }
  338. create_ship = {
  339. type = light_cruiser_1
  340. equipment_variant = "Giussano Class"
  341. creator = ITA
  342. name = "Giussano Class I"
  343. }
  344. create_ship = {
  345. type = light_cruiser_1
  346. equipment_variant = "Giussano Class"
  347. creator = ITA
  348. name = "Giussano Class II"
  349. }
  350. }
  351. ITA = {
  352. set_country_flag = sold_dreadnoughts_to_us@ROOT
  353. add_timed_idea = {
  354. idea = SMB_dreadnought_payments
  355. days = 365
  356. }
  357. }
  358. ROOT = {
  359. add_timed_idea = {
  360. idea = SMB_dreadnought_debt_ita
  361. days = 365
  362. }
  363. }
  364. }
  365. ELSE_IF = {
  366. limit = {
  367. FROM = {
  368. tag = JAP
  369. }
  370. }
  371. IF = {
  372. limit = {
  373. has_dlc = "Man the Guns"
  374. }
  375. create_equipment_variant = {
  376. name = "Fuso/Ise Class"
  377. type = ship_hull_heavy_1
  378. name_group = JAP_BB_HISTORICAL
  379. parent_version = 0
  380. modules = {
  381. fixed_ship_battery_slot = ship_heavy_battery_1
  382. fixed_ship_anti_air_slot = ship_anti_air_1
  383. fixed_ship_fire_control_system_slot = ship_fire_control_system_0
  384. fixed_ship_radar_slot = empty
  385. fixed_ship_engine_slot = heavy_ship_engine_1
  386. fixed_ship_secondaries_slot = ship_secondaries_1
  387. fixed_ship_armor_slot = ship_armor_bb_1
  388. front_1_custom_slot = empty
  389. mid_1_custom_slot = dp_ship_secondaries_1
  390. mid_2_custom_slot = ship_airplane_launcher_1
  391. rear_1_custom_slot = ship_heavy_battery_1
  392. }
  393. obsolete = yes
  394. }
  395. create_ship = {
  396. type = ship_hull_heavy_1
  397. equipment_variant = "Fuso/Ise Class"
  398. creator = JAP
  399. name = "Fuso/Ise Class I"
  400. }
  401. create_ship = {
  402. type = ship_hull_heavy_1
  403. equipment_variant = "Fuso/Ise Class"
  404. creator = JAP
  405. name = "Fuso/Ise Class II"
  406. }
  407. }
  408. ELSE = {
  409. create_equipment_variant = {
  410. name = "Ise Class"
  411. type = battleship_1
  412. parent_version = 0
  413. upgrades = {
  414. ship_reliability_upgrade = 2
  415. ship_engine_upgrade = 3
  416. ship_armor_upgrade = 1
  417. ship_gun_upgrade = 1
  418. }
  419. obsolete = yes
  420. }
  421. create_ship = {
  422. type = battleship_1
  423. equipment_variant = "Ise Class"
  424. creator = JAP
  425. name = "Ise Class I"
  426. }
  427. create_ship = {
  428. type = battleship_1
  429. equipment_variant = "Ise Class"
  430. creator = JAP
  431. name = "Ise Class II"
  432. }
  433. }
  434. JAP = {
  435. set_country_flag = sold_dreadnoughts_to_us@ROOT
  436. add_timed_idea = {
  437. idea = SMB_dreadnought_payments
  438. days = 365
  439. }
  440. }
  441. ROOT = {
  442. add_timed_idea = {
  443. idea = SMB_dreadnought_debt_jap
  444. days = 365
  445. }
  446. }
  447. }
  448. ELSE_IF = {
  449. limit = {
  450. FROM = {
  451. tag = GER
  452. }
  453. }
  454. IF = {
  455. limit = {
  456. has_dlc = "Man the Guns"
  457. }
  458. hidden_effect = {
  459. if = {
  460. limit = {
  461. NOT = { has_tech = panzerschiffe }
  462. }
  463. set_technology = {
  464. panzerschiffe = 1
  465. popup = no
  466. }
  467. }
  468. }
  469. GER = {
  470. create_equipment_variant = {
  471. name = "Deutschland Class"
  472. type = ship_hull_cruiser_panzerschiff
  473. name_group = GER_CA_HISTORICAL
  474. parent_version = 0
  475. modules = {
  476. fixed_ship_anti_air_slot = ship_anti_air_1
  477. fixed_ship_battery_slot = ship_heavy_battery_2
  478. fixed_ship_secondaries_slot = ship_secondaries_1
  479. fixed_ship_armor_slot = ship_armor_cruiser_1
  480. fixed_ship_fire_control_system_slot = ship_fire_control_system_0
  481. fixed_ship_engine_slot = cruiser_ship_engine_2
  482. rear_1_custom_slot = ship_torpedo_1
  483. mid_1_custom_slot = ship_airplane_launcher_1
  484. }
  485. obsolete = yes
  486. }
  487. }
  488.  
  489. create_equipment_variant = {
  490. name = "Deutschland Class"
  491. type = ship_hull_cruiser_panzerschiff
  492. name_group = GER_CA_HISTORICAL
  493. parent_version = 0
  494. modules = {
  495. fixed_ship_anti_air_slot = ship_anti_air_1
  496. fixed_ship_battery_slot = ship_heavy_battery_2
  497. fixed_ship_secondaries_slot = ship_secondaries_1
  498. fixed_ship_armor_slot = ship_armor_cruiser_1
  499. fixed_ship_fire_control_system_slot = ship_fire_control_system_0
  500. fixed_ship_engine_slot = cruiser_ship_engine_2
  501. rear_1_custom_slot = ship_torpedo_1
  502. mid_1_custom_slot = ship_airplane_launcher_1
  503. }
  504. obsolete = yes
  505. }
  506. create_ship = {
  507. type = ship_hull_cruiser_panzerschiff
  508. equipment_variant = "Deutschland Class"
  509. creator = GER
  510. name = "Deutschland Class I"
  511. }
  512. create_ship = {
  513. type = ship_hull_cruiser_panzerschiff
  514. equipment_variant = "Deutschland Class"
  515. creator = GER
  516. name = "Deutschland Class II"
  517. }
  518. }
  519. ELSE = {
  520. create_equipment_variant = {
  521. name = "Deutschland Class"
  522. type = heavy_cruiser_1
  523. parent_version = 0
  524. upgrades = {
  525. ship_reliability_upgrade = 1
  526. ship_engine_upgrade = 1
  527. ship_armor_upgrade = 1
  528. ship_gun_upgrade = 2
  529. }
  530. }
  531. create_ship = {
  532. type = heavy_cruiser_1
  533. equipment_variant = "Deutschland Class"
  534. creator = GER
  535. name = "Deutschland Class I"
  536. }
  537. create_ship = {
  538. type = heavy_cruiser_1
  539. equipment_variant = "Deutschland Class"
  540. creator = GER
  541. name = "Deutschland Class II"
  542. }
  543. }
  544. GER = {
  545. set_country_flag = sold_dreadnoughts_to_us@ROOT
  546. add_timed_idea = {
  547. idea = SMB_dreadnought_payments
  548. days = 365
  549. }
  550. }
  551. ROOT = {
  552. add_timed_idea = {
  553. idea = SMB_dreadnought_debt_ger
  554. days = 365
  555. }
  556. }
  557. }
  558. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement