Skip to content

Commit

Permalink
TGS Test Merge (#6302)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinz authored and Kevinz committed Jan 31, 2024
2 parents c7b3356 + 3d70246 commit 02da64d
Show file tree
Hide file tree
Showing 5 changed files with 945 additions and 672 deletions.
7 changes: 5 additions & 2 deletions code/game/mecha/combat/fighter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@
icon_state = "baron"
initial_icon = "baron"

integrity = 600
integrity_max = 600

catalogue_data = list(/datum/category_item/catalogue/technology/baron)
wreckage = /obj/effect/decal/mecha_wreckage/baron

Expand Down Expand Up @@ -387,8 +390,8 @@

step_in = 3 //slightly slower than a baron (this shit doesnt actually work atm, likely due to the whole equipment weight nonsense)

integrity = 800
integrity_max = 800 //double baron HP, only room for one defensive upgrade. No specials(cloaking, speed, ect) or universals.
integrity = 1200
integrity_max = 1200 //double baron HP, only room for one defensive upgrade. No specials(cloaking, speed, ect) or universals.

max_hull_equip = 1
max_weapon_equip = 4
Expand Down
5 changes: 5 additions & 0 deletions code/game/turfs/simulated/wall_types/wall_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,11 @@
/turf/simulated/shuttle/wall/voidcraft/red
stripe_color = "#FF0000"

/turf/simulated/shuttle/wall/voidcraft/red/hard_corner
name = "hardcorner wall"
icon_state = "void-hc"
hard_corner = 1

/turf/simulated/shuttle/wall/voidcraft/blue
stripe_color = "#0000FF"

Expand Down
7 changes: 7 additions & 0 deletions code/modules/power/apc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ CREATE_WALL_MOUNTING_TYPES_SHIFTED(/obj/machinery/power/apc, 22)
/// tracks how behind we arre in charging TODO: literally rewrite apcs entirely to use a proper accumulator-cell system with an internal buffer, ffs
var/lazy_draw_accumulator = 0

//Used for shuttles, workaround for broken mounting
//TODO: Remove when legacy walls are nuked
var/old_wall = FALSE

/obj/machinery/power/apc/updateDialog()
if (machine_stat & (BROKEN|MAINT))
return
Expand Down Expand Up @@ -259,6 +263,9 @@ CREATE_WALL_MOUNTING_TYPES_SHIFTED(/obj/machinery/power/apc, 22)
/obj/machinery/power/apc/setDir(new_dir)
. = ..()

if(old_wall)
return

base_pixel_x = 0
base_pixel_y = 0
var/turf/T = get_step(src, turn(dir, 180))
Expand Down
8 changes: 8 additions & 0 deletions code/modules/power/lighting/lighting.dm
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,10 @@ var/global/list/light_type_cache = list()
var/brightness_power_ns
var/brightness_color_ns

//Used for shuttles, workaround for broken mounting
//TODO: Remove when legacy walls are nuked
var/old_wall = FALSE

#ifdef IN_MAP_EDITOR // So its actually visible in the mapping editor
icon_state = "tube_map"
#endif
Expand Down Expand Up @@ -502,6 +506,10 @@ var/global/list/light_type_cache = list()

/obj/machinery/light/setDir(ndir)
. = ..()

if(old_wall)
return

base_pixel_y = 0
base_pixel_x = 0
var/turf/T = get_step(get_turf(src), src.dir)
Expand Down
Loading

0 comments on commit 02da64d

Please sign in to comment.