Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##########################################################################
- # Event to quickly modify FTL speeds high, then drop them back down
- # Intended to "fix" the bug where super-slow FTL speeds will cause ships to get stuck.
- # Part of the "Slower than Light" mod by Andon
- # adjusted by Pode
- ##########################################################################
- namespace = exp
- #Called monthly
- event = {
- id = exp.1
- hide_window = yes
- is_triggered_only = yes
- immediate = {
- every_country = {
- limit = { is_ai = no }
- every_owned_ship = {
- limit = {
- is_disabled = no
- is_being_repaired = no
- is_in_combat = no
- # is_upgrading = no #Doesn't seem to work, dunno why, no errors
- has_component = "EXPERIMENTAL_DRIVE"
- fleet = { is_fleet_idle = no }
- }
- add_modifier = {
- modifier = stl_arrival
- days = 1
- }
- every_playable_country = {
- limit = { not = { has_technology = "tech_hyper_drive_15" } }
- add_physics_research = 1
- }
- }
- }
- }
- }
- ship_event = {
- id = exp.2
- hide_window = yes
- is_triggered_only = yes
- immediate = {
- every_country = {
- limit = { is_ai = no }
- every_owned_ship = {
- limit = {
- has_component = "EXPERIMENTAL_DRIVE"
- }
- random_list = {
- 10 = { reduce_hp = 75 }
- 5 = { reduce_hp = 150 }
- 1 = { reduce_hp = 1000 }
- 84 = { reduce_hp = 0 }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment