Skip to content

Commit

Permalink
Removes integrity failure value from all overmap entities (#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaFire15 authored Jun 28, 2024
1 parent e1004ae commit 2b48323
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 71 deletions.
2 changes: 1 addition & 1 deletion nsv13/code/modules/overmap/overmap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

// Health, armor, and damage
max_integrity = 300 //Max internal integrity
integrity_failure = 0
integrity_failure = 0 //If you want to use this you will have to implement obj_break() for overmaps aswell as a method to restore functionality if repaired.
var/armour_plates = 0 //You lose max integrity when you lose armour plates.
var/sensor_profile = 0 //A penalty (or, possibly even bonus) to from how far away one can be detected. Affected by things like sending out a active ping, which will make you glow like a christmas tree.
var/cloak_factor = 255 // Min alpha of a ship during cloak. 0-255
Expand Down
1 change: 0 additions & 1 deletion nsv13/code/modules/overmap/overmap_ghosts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
forward_maxthrust *= 3.5
backward_maxthrust *= 3.5
side_maxthrust *= 2
integrity_failure *= 3.5
max_angular_acceleration *= 2
speed_limit *= 2.5
shots_left = 500 //Having 15 max cannon shots isn't fun
Expand Down
5 changes: 0 additions & 5 deletions nsv13/code/modules/overmap/types/miningships.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
sprite_size = 48
damage_states = TRUE
max_integrity = 800 //Max health
integrity_failure = 800
bound_height = 96
bound_width = 96
armor = list("overmap_light" = 90, "overmap_medium" = 40, "overmap_heavy" = 15)
Expand All @@ -22,7 +21,6 @@
role = MAIN_MINING_SHIP
area_type = /area/nostromo
max_integrity = 500 //Max health
integrity_failure = 500
use_armour_quadrants = FALSE //They can weld plates for now, mining ship will not have a reasonable way to power the pumps -K
starting_system = "Staging" //TEMP UNTIL DELETE

Expand All @@ -31,7 +29,6 @@
role = MAIN_MINING_SHIP
area_type = /area/nostromo
max_integrity = 500 //Max health
integrity_failure = 500
use_armour_quadrants = FALSE //They can weld plates for now, mining ship will not have a reasonable way to power the pumps -K
starting_system = "Staging" //TEMP UNTIL DELETE
/obj/structure/overmap/nanotrasen/mining_cruiser/nostromo/fob
Expand All @@ -40,7 +37,6 @@
area_type = /area/nsv/shuttle
armor = list("overmap_light" = 90, "overmap_medium" = 20, "overmap_heavy" = 0)
max_integrity = 400 //Max health
integrity_failure = 400
use_armour_quadrants = FALSE //They can weld plates for now, mining ship will not have a reasonable way to power the pumps -K

/obj/structure/overmap/nanotrasen/mining_cruiser/rig
Expand All @@ -49,5 +45,4 @@
area_type = /area/nostromo
starting_system = "Lalande 21185"
max_integrity = 500 //Max health
integrity_failure = 500
use_armour_quadrants = FALSE //They can weld plates for now, mining ship will not have a reasonable way to power the pumps -K
31 changes: 2 additions & 29 deletions nsv13/code/modules/overmap/types/nanotrasen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
bound_width = 32
obj_integrity = 300
max_integrity = 300
integrity_failure = 300
armor = list("overmap_light" = 30, "overmap_medium" = 20, "overmap_heavy" = 30)


Expand All @@ -41,7 +40,6 @@
sprite_size = 48
obj_integrity = 450
max_integrity = 450
integrity_failure = 450
bound_height = 96
bound_width = 96
armor = list("overmap_light" = 90, "overmap_medium" = 60, "overmap_heavy" = 20)
Expand All @@ -57,7 +55,6 @@
//pixel_w = -96
obj_integrity = 500
max_integrity = 500
integrity_failure = 500
//collision_positions = list(new /datum/vector2d(-13,71), new /datum/vector2d(-25,52), new /datum/vector2d(-24,-25), new /datum/vector2d(-11,-66), new /datum/vector2d(4,-69), new /datum/vector2d(15,-28), new /datum/vector2d(15,38), new /datum/vector2d(6,61))
armor = list("overmap_light" = 90, "overmap_medium" = 60, "overmap_heavy" = 20)

Expand All @@ -72,7 +69,6 @@
//pixel_w = -32
obj_integrity = 800
max_integrity = 800
integrity_failure = 800
bound_height = 96
bound_width = 96
armor = list("overmap_light" = 90, "overmap_medium" = 80, "overmap_heavy" = 30)
Expand All @@ -89,7 +85,6 @@
bound_height = 192
obj_integrity = 1000
max_integrity = 1000
integrity_failure = 1000
armor = list("overmap_light" = 95, "overmap_medium" = 75, "overmap_heavy" = 50)

/obj/structure/overmap/nanotrasen/carrier
Expand All @@ -104,7 +99,6 @@
damage_states = FALSE //TODO
obj_integrity = 700
max_integrity = 700
integrity_failure = 700
armor = list("overmap_light" = 90, "overmap_medium" = 60, "overmap_heavy" = 10)

/obj/structure/overmap/nanotrasen/battlecruiser
Expand All @@ -118,7 +112,6 @@
//pixel_w = -32
obj_integrity = 1000
max_integrity = 1000 //Max health
integrity_failure = 1000
bound_height = 96
bound_width = 96
armor = list("overmap_light" = 95, "overmap_medium" = 75, "overmap_heavy" = 50)
Expand All @@ -135,7 +128,6 @@
damage_states = FALSE //I'm lazy
obj_integrity = 1200
max_integrity = 1200 //Max health
integrity_failure = 1200
armor = list("overmap_light" = 95, "overmap_medium" = 60, "overmap_heavy" = 10)
bound_height = 320
bound_width = 320
Expand All @@ -152,18 +144,14 @@
icon = 'nsv13/icons/overmap/new/nanotrasen/serendipity.dmi'
icon_state = "serendipity"
mass = MASS_SMALL
obj_integrity = 500
max_integrity = 500
integrity_failure = 500
sprite_size = 48
damage_states = FALSE
bound_height = 32
bound_width = 32
obj_integrity = 1250
max_integrity = 1250
integrity_failure = 1250
armor = list("overmap_light" = 30, "overmap_medium" = 20, "overmap_heavy" = 30)
plasma_caster = TRUE
plasma_caster = TRUE //One day we'll assign these a smarter way..

//Player Versions
// deletion_behavior = DAMAGE_STARTS_COUNTDOWN
Expand All @@ -172,7 +160,6 @@
role = MAIN_OVERMAP
obj_integrity = 1400
max_integrity = 1400 //Max health
integrity_failure = 1400
starting_system = "Staging" //Required for all player ships
armor = list("overmap_light" = 95, "overmap_medium" = 50, "overmap_heavy" = 10)
overmap_deletion_traits = DAMAGE_STARTS_COUNTDOWN
Expand All @@ -188,8 +175,7 @@
/obj/structure/overmap/nanotrasen/frigate/starter //Currently assigned to Jeppison and Atlas
role = MAIN_OVERMAP
obj_integrity = 800
max_integrity = 800
integrity_failure = 800
max_integrity = 800
starting_system = "Staging" //Required for all player ships
armor = list("overmap_light" = 90, "overmap_medium" = 50, "overmap_heavy" = 10)
overmap_deletion_traits = DAMAGE_STARTS_COUNTDOWN
Expand All @@ -198,7 +184,6 @@
role = MAIN_OVERMAP
obj_integrity = 1000
max_integrity = 1000
integrity_failure = 1000
bound_width = 64
bound_height = 64
starting_system = "Staging" //Required for all player ships
Expand All @@ -212,7 +197,6 @@
role = MAIN_OVERMAP
obj_integrity = 1400
max_integrity = 1400
integrity_failure = 1400
starting_system = "Staging" //Required for all player ships
armor = list("overmap_light" = 95, "overmap_medium" = 60, "overmap_heavy" = 20)
overmap_deletion_traits = DAMAGE_STARTS_COUNTDOWN
Expand All @@ -228,7 +212,6 @@
role = MAIN_OVERMAP
obj_integrity = 2000
max_integrity = 2000
integrity_failure = 2000
starting_system = "Staging" //Required for all player ships
armor = list("overmap_light" = 95, "overmap_medium" = 65, "overmap_heavy" = 20)
overmap_deletion_traits = DAMAGE_STARTS_COUNTDOWN
Expand All @@ -237,7 +220,6 @@
role = MAIN_OVERMAP
obj_integrity = 1400
max_integrity = 1400
integrity_failure = 1400
starting_system = "Staging" //Required for all player ships
armor = list("overmap_light" = 95, "overmap_medium" = 60, "overmap_heavy" = 20)
overmap_deletion_traits = DAMAGE_STARTS_COUNTDOWN
Expand All @@ -246,7 +228,6 @@
role = MAIN_OVERMAP //Player controlled variant
obj_integrity = 2150
max_integrity = 2150
integrity_failure = 2150
starting_system = "Staging" //Required for all player ships
armor = list("overmap_light" = 95, "overmap_medium" = 75, "overmap_heavy" = 25)
overmap_deletion_traits = DAMAGE_STARTS_COUNTDOWN
Expand All @@ -255,7 +236,6 @@
role = MAIN_OVERMAP
obj_integrity = 1200
max_integrity = 1200
integrity_failure = 1200
starting_system = "Staging" //Required for all player ships
armor = list("overmap_light" = 95, "overmap_medium" = 50, "overmap_heavy" = 10)
overmap_deletion_traits = DAMAGE_STARTS_COUNTDOWN
Expand Down Expand Up @@ -287,7 +267,6 @@
ai_behaviour = AI_AGGRESSIVE
obj_integrity = 450
max_integrity = 450 //Max health
integrity_failure = 450
armor = list("overmap_light" = 90, "overmap_medium" = 60, "overmap_heavy" = 20)
ai_flags = AI_FLAG_BATTLESHIP | AI_FLAG_DESTROYER
combat_dice_type = /datum/combat_dice/destroyer
Expand All @@ -297,15 +276,13 @@
ai_behaviour = AI_AGGRESSIVE
obj_integrity = 800
max_integrity = 800 //Max health
integrity_failure = 800
armor = list("overmap_light" = 90, "overmap_medium" = 80, "overmap_heavy" = 30)
ai_flags = AI_FLAG_BATTLESHIP
combat_dice_type = /datum/combat_dice/cruiser

/obj/structure/overmap/nanotrasen/battleship/ai
obj_integrity = 1000
max_integrity = 1000
integrity_failure = 1000
armor = list("overmap_light" = 95, "overmap_medium" = 75, "overmap_heavy" = 50)
ai_controlled = TRUE
ai_flags = AI_FLAG_BATTLESHIP
Expand All @@ -318,7 +295,6 @@
missiles = 10
obj_integrity = 500
max_integrity = 500
integrity_failure = 500
armor = list("overmap_light" = 90, "overmap_medium" = 60, "overmap_heavy" = 20)
combat_dice_type = /datum/combat_dice/cruiser

Expand All @@ -327,7 +303,6 @@
ai_flags = AI_FLAG_BATTLESHIP
obj_integrity = 450
max_integrity = 450
integrity_failure = 450
armor = list("overmap_light" = 90, "overmap_medium" = 70, "overmap_heavy" = 30)
combat_dice_type = /datum/combat_dice/cruiser

Expand All @@ -340,7 +315,6 @@
ai_flags = AI_FLAG_SUPPLY
obj_integrity = 700
max_integrity = 700
integrity_failure = 700
armor = list("overmap_light" = 90, "overmap_medium" = 60, "overmap_heavy" = 10)
combat_dice_type = /datum/combat_dice/carrier

Expand Down Expand Up @@ -368,7 +342,6 @@
armor = list("overmap_light" = 5, "overmap_medium" = 0, "overmap_heavy" = 90)
obj_integrity = 75
max_integrity = 75 //Super squishy!
integrity_failure = 75
ai_flags = AI_FLAG_SWARMER
bound_width = 32 //Change this on a per ship basis
bound_height = 32
Expand Down
7 changes: 1 addition & 6 deletions nsv13/code/modules/overmap/types/solgov.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
bound_height = 96
obj_integrity = 500
max_integrity = 500
integrity_failure = 500
armor = list("overmap_light" = 90, "overmap_medium" = 50, "overmap_heavy" = 25)

/obj/structure/overmap/nanotrasen/solgov/carrier
Expand All @@ -28,7 +27,6 @@
//Tanky
obj_integrity = 1000
max_integrity = 1000
integrity_failure = 1000
armor = list("overmap_light" = 90, "overmap_medium" = 70, "overmap_heavy" = 20)

/obj/structure/overmap/nanotrasen/solgov/aetherwhisp
Expand All @@ -43,16 +41,15 @@
bound_width = 128
obj_integrity = 750
max_integrity = 750
integrity_failure = 750
armor = list("overmap_light" = 90, "overmap_medium" = 50, "overmap_heavy" = 25)

//Player Versions

/obj/structure/overmap/nanotrasen/solgov/aetherwhisp/starter
icon = 'nsv13/icons/overmap/nanotrasen/aetherwhisp.dmi'
role = MAIN_OVERMAP
obj_integrity = 750
max_integrity = 750 //She's fragile and relies heavily on shields.
integrity_failure = 750
starting_system = "Staging" //Required for all player ships
armor = list("overmap_light" = 99, "overmap_medium" = 50, "overmap_heavy" = 25)

Expand All @@ -72,7 +69,6 @@
desc = "A SolGov pursuit craft, meant for tracking and cornering high value targets."
obj_integrity = 1200
max_integrity = 1200
integrity_failure = 1200
ai_flags = AI_FLAG_BATTLESHIP | AI_FLAG_DESTROYER | AI_FLAG_ELITE
max_tracking_range = 70
flak_battery_amount = 2
Expand Down Expand Up @@ -106,7 +102,6 @@
brakes = FALSE
obj_integrity = 125
max_integrity = 125 //Super squishy!
integrity_failure = 125
sprite_size = 32
mass = MASS_TINY
bound_width = 32 //Change this on a per ship basis
Expand Down
5 changes: 0 additions & 5 deletions nsv13/code/modules/overmap/types/spacepirates.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
damage_states = FALSE
obj_integrity = 1200
max_integrity = 1200
integrity_failure = 1200
starting_system = "Staging"
armor = list("overmap_light" = 80, "overmap_medium" = 45, "overmap_heavy" = 10)
bound_height = 32
Expand All @@ -33,7 +32,6 @@
faction = "pirate"
mass = MASS_SMALL
max_integrity = 400
integrity_failure = 400
armor = list("overmap_light" = 80, "overmap_medium" = 45, "overmap_heavy" = 10)
bound_height = 64
bound_width = 64
Expand Down Expand Up @@ -109,7 +107,6 @@
bound_width = 96
obj_integrity = 525
max_integrity = 525
integrity_failure = 525
armor = list("overmap_light" = 80, "overmap_medium" = 45, "overmap_heavy" = 10)
ai_flags = AI_FLAG_DESTROYER
torpedoes = 30
Expand All @@ -130,7 +127,6 @@
bound_height = 128
bound_width = 128
max_integrity = 350
integrity_failure = 350
shots_left = 20
armor = list("overmap_light" = 80, "overmap_medium" = 45, "overmap_heavy" = 10)
ai_flags = AI_FLAG_BATTLESHIP | AI_FLAG_ELITE //Needs to be shooting all its guns
Expand Down Expand Up @@ -159,7 +155,6 @@
bound_height = 160
obj_integrity = 5000
max_integrity = 5000
integrity_failure = 5000
shots_left = 35
torpedoes = 35
armor = list("overmap_light" = 95, "overmap_medium" = 80, "overmap_heavy" = 45)
Expand Down
Loading

0 comments on commit 2b48323

Please sign in to comment.