Skip to content

Commit

Permalink
Merge remote-tracking branch 'CMSS13/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Nov 1, 2023
2 parents 1358b8d + 52514e2 commit 1b77e16
Show file tree
Hide file tree
Showing 30 changed files with 3,471 additions and 3,375 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -418,3 +418,4 @@ var/list/default_xeno_onmob_icons = list(
#define HANDLING_LIMBS list("l_arm","l_hand", "r_arm", "r_hand")
#define EXTREMITY_LIMBS list("l_leg","l_foot","r_leg","r_foot","l_arm","l_hand","r_arm","r_hand")
#define CORE_LIMBS list("chest","head","groin")

10 changes: 6 additions & 4 deletions code/__DEFINES/shuttles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@
#define MOBILE_SHUTTLE_ID_ERT_BIG "ert_boarding_shuttle"

#define MOBILE_TRIJENT_ELEVATOR "trijentshuttle2"
#define STAT_TRIJENT_LZ1 "trigent_lz1"
#define STAT_TRIJENT_LZ2 "trigent_lz2"
#define STAT_TRIJENT_ENGI "trigent_engineering"
#define STAT_TRIJENT_OMEGA "trigent_omega"
#define STAT_TRIJENT_EMPTY "trijent_empty"
#define STAT_TRIJENT_OCCUPIED "trijent_occupied"
#define STAT_TRIJENT_LZ1 "trijent_lz1"
#define STAT_TRIJENT_LZ2 "trijent_lz2"
#define STAT_TRIJENT_ENGI "trijent_engineering"
#define STAT_TRIJENT_OMEGA "trijent_omega"

#define MOBILE_SHUTTLE_LIFEBOAT_PORT "lifeboat-port"
#define MOBILE_SHUTTLE_LIFEBOAT_STARBOARD "lifeboat-starboard"
Expand Down
2 changes: 2 additions & 0 deletions code/controllers/subsystem/mapping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SUBSYSTEM_DEF(mapping)
var/list/map_templates = list()

var/list/shuttle_templates = list()
var/list/all_shuttle_templates = list()

var/list/areas_in_z = list()

Expand Down Expand Up @@ -238,6 +239,7 @@ SUBSYSTEM_DEF(mapping)
var/datum/map_template/shuttle/S = new shuttle_type()

shuttle_templates[S.shuttle_id] = S
all_shuttle_templates[item] = S
map_templates[S.shuttle_id] = S

/datum/controller/subsystem/mapping/proc/RequestBlockReservation(width, height, z, type = /datum/turf_reservation, turf_type_override)
Expand Down
6 changes: 3 additions & 3 deletions code/datums/quadtree.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
var/z_level

/// Don't divide further when truthy
var/final
var/final_divide = FALSE

/datum/quadtree/New(datum/shape/rectangle/rect, z)
. = ..()
boundary = rect
z_level = z
if(boundary.width <= QUADTREE_BOUNDARY_MINIMUM_WIDTH || boundary.height <= QUADTREE_BOUNDARY_MINIMUM_HEIGHT)
final = TRUE
final_divide = TRUE

// By design i guess, discarding branch discards rest with BYOND soft-GCing
// There should never be anything else but SSquadtree referencing quadtrees,
Expand Down Expand Up @@ -103,7 +103,7 @@
player_coords = list(p_coords)
return TRUE

else if(!final && player_coords.len >= QUADTREE_CAPACITY)
else if(!final_divide && player_coords.len >= QUADTREE_CAPACITY)
if(!is_divided)
subdivide()
if(nw_branch.insert_player(p_coords))
Expand Down
12 changes: 12 additions & 0 deletions code/datums/shuttles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@
if(movement_force)
M.movement_force = movement_force.Copy()


/datum/map_template/shuttle/vehicle
shuttle_id = MOBILE_SHUTTLE_VEHICLE_ELEVATOR
name = "Vehicle Elevator"

/datum/map_template/shuttle/trijent_elevator
name = "Trijent Elevator"
shuttle_id = MOBILE_TRIJENT_ELEVATOR
var/elevator_network

/datum/map_template/shuttle/trijent_elevator/A
elevator_network = "A"

/datum/map_template/shuttle/trijent_elevator/B
elevator_network = "B"
48 changes: 24 additions & 24 deletions code/modules/clothing/suits/marine_armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1635,47 +1635,47 @@
//=======================================================================\\
/obj/item/clothing/suit/storage/marine/MP/provost
name = "\improper M3 pattern Provost armor"
desc = "A lighter Provost M3 Pattern Chestplate. Protects the chest from ballistic rounds, bladed objects and accidents. It has a small leather pouch strapped to it for limited storage."
icon_state = "pvlight"
item_state_slots = list(WEAR_JACKET = "pvlight")
slowdown = SLOWDOWN_ARMOR_VERY_LIGHT
flags_atom = NO_SNOW_TYPE|NO_NAME_OVERRIDE
w_class = SIZE_MEDIUM

/obj/item/clothing/suit/storage/marine/MP/provost/enforcer
name = "\improper M3 pattern Provost armor"
desc = "A standard Provost M3 Pattern Chestplate. Protects the chest from ballistic rounds, bladed objects and accidents. It has a small leather pouch strapped to it for limited storage."
icon_state = "pvmedium"
item_state_slots = list(WEAR_JACKET = "pvmedium")
slowdown = SLOWDOWN_ARMOR_MEDIUM
armor_melee = CLOTHING_ARMOR_MEDIUM
slowdown = SLOWDOWN_ARMOR_LIGHT
armor_bullet = CLOTHING_ARMOR_MEDIUM
armor_laser = CLOTHING_ARMOR_MEDIUMLOW
armor_bomb = CLOTHING_ARMOR_MEDIUMLOW
armor_bio = CLOTHING_ARMOR_MEDIUM
armor_bomb = CLOTHING_ARMOR_MEDIUMHIGH
armor_bio = CLOTHING_ARMOR_MEDIUMHIGH
armor_internaldamage = CLOTHING_ARMOR_MEDIUM
flags_atom = NO_SNOW_TYPE|NO_NAME_OVERRIDE
storage_slots = 3

/obj/item/clothing/suit/storage/marine/MP/provost/tml
name = "\improper M3 pattern Senior Provost armor"
desc = "A more refined Provost M3 Pattern Chestplate for senior officers. Protects the chest from ballistic rounds, bladed objects and accidents. It has a small leather pouch strapped to it for limited storage."
icon_state = "pvleader"
item_state_slots = list(WEAR_JACKET = "pvleader")
desc = "A more refined Provost M3 Pattern Chestplate for senior officers. Protects the chest from ballistic rounds, bladed objects and accidents. It has a small leather pouch strapped to it for limited storage."

slowdown = SLOWDOWN_ARMOR_MEDIUM
armor_bullet = CLOTHING_ARMOR_MEDIUM
armor_laser = CLOTHING_ARMOR_MEDIUMLOW
armor_bio = CLOTHING_ARMOR_MEDIUMHIGH
armor_internaldamage = CLOTHING_ARMOR_MEDIUMHIGH

/obj/item/clothing/suit/storage/marine/MP/provost/marshal
name = "\improper M5 pattern Provost Marshal armor"
desc = "A custom fit luxury armor suit for Provost Marshals. Useful for letting your men know who is in charge when taking to the field."
icon_state = "pvmarshal"
item_state_slots = list(WEAR_JACKET = "pvmarshal")
name = "\improper M3 pattern Provost Marshal armor"
desc = "A custom fit luxury armor suit for Provost Marshals. Useful for letting your men know who is in charge when taking to the field."
w_class = SIZE_MEDIUM
storage_slots = 4

/obj/item/clothing/suit/storage/marine/MP/provost/light
name = "\improper M3 pattern Provost light armor"
desc = "A lighter Provost M3 Pattern Chestplate. Protects the chest from ballistic rounds, bladed objects and accidents. It has a small leather pouch strapped to it for limited storage."
icon_state = "pvlight"
item_state_slots = list(WEAR_JACKET = "pvlight")
slowdown = SLOWDOWN_ARMOR_VERY_LIGHT

/obj/item/clothing/suit/storage/marine/MP/provost/marshal/chief
name = "\improper M3 pattern Provost Chief Marshal armor"
/obj/item/clothing/suit/storage/marine/MP/provost/light/flexi
name = "\improper M3 pattern Provost flexi-armor"
desc = "A flexible and easy to store M3 Pattern Chestplate. Protects the chest from ballistic rounds, bladed objects and accidents. It has a small leather pouch strapped to it for limited storage."
w_class = SIZE_MEDIUM
icon_state = "pvlight_2"
item_state_slots = list(WEAR_JACKET = "pvlight_2")
storage_slots = 2

//================//UNITED AMERICAS ALLIED COMMAND\\=====================\\
//=======================================================================\\
Expand Down
30 changes: 11 additions & 19 deletions code/modules/clothing/suits/marine_coat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -235,31 +235,23 @@

//=========================//PROVOST\\================================\\
//=======================================================================\\
/obj/item/clothing/suit/storage/jacket/marine/provost
name = "\improper Provost Coat"
desc = "The crisp coat of a Provost Officer."
name = "\improper Provost Jacket"
desc = "A crisp jacket with the Provost sigil."
icon_state = "provost_jacket"
flags_atom = NO_SNOW_TYPE|NO_NAME_OVERRIDE
icon_state = "provost_coat"
valid_accessory_slots = list(ACCESSORY_SLOT_ARMBAND, ACCESSORY_SLOT_RANK, ACCESSORY_SLOT_DECOR)

/obj/item/clothing/suit/storage/jacket/marine/provost/advisor
name = "\improper Provost Advisor Jacket"
desc = "The crisp jacket of a Provost Advisor."
icon_state = "provost_jacket"

/obj/item/clothing/suit/storage/jacket/marine/provost/inspector
name = "\improper Provost Inspector Jacket"
desc = "The crisp jacket of a Provost Inspector."
icon_state = "provost_jacket"
/obj/item/clothing/suit/storage/jacket/marine/provost/coat
name = "\improper Provost Coat"
desc = "The crisp coat of a Provost Officer."
icon_state = "provost_coat"

/obj/item/clothing/suit/storage/jacket/marine/provost/marshal
name = "\improper Provost Marshal Jacket"
desc = "The crisp jacket of a Provost Marshal."
icon_state = "provost_jacket"
/obj/item/clothing/suit/storage/jacket/marine/provost/coat/marshal
name = "\improper Provost Marshal Coat"
icon_state = "provost_coat_marshal"

/obj/item/clothing/suit/storage/jacket/marine/provost/marshal/chief
name = "\improper Provost Chief Marshal Jacket"
desc = "The crisp jacket of the Provost Chief Marshal."

//=========================//DRESS BLUES\\================================\\
//=======================================================================\\
Expand Down
38 changes: 7 additions & 31 deletions code/modules/clothing/under/marine_uniform.dm
Original file line number Diff line number Diff line change
Expand Up @@ -374,41 +374,17 @@

min_cold_protection_temperature = ICE_PLANET_MIN_COLD_PROT

/obj/item/clothing/under/marine/mp/provost/enforcer
name = "\improper Provost Enforcer Uniform"
desc = "The crisp uniform of a Provost Enforcer."

/obj/item/clothing/under/marine/mp/provost/tml
name = "\improper Provost Team Leader Uniform"
desc = "The crisp uniform of a Provost Team Leader."
icon_state = "warden_jumpsuit"
worn_state = "warden_jumpsuit"

/obj/item/clothing/under/marine/mp/provost/advisor
name = "\improper Provost Advisor Uniform"
desc = "The crisp uniform of a Provost Advisor."
icon_state = "warden_jumpsuit"
worn_state = "warden_jumpsuit"

/obj/item/clothing/under/marine/mp/provost/inspector
name = "\improper Provost Inspector Uniform"
desc = "The crisp uniform of a Provost Inspector."
icon_state = "warden_jumpsuit"
worn_state = "warden_jumpsuit"
/obj/item/clothing/under/marine/mp/provost/senior
name = "\improper Provost Senior Uniform"
desc = "The crisp uniform of a senior member of the Provost Office."
icon_state = "provost_tml"
worn_state = "provost_tml"

/obj/item/clothing/under/marine/mp/provost/marshal
name = "\improper Provost Marshal Uniform"
desc = "The crisp uniform of a Provost Marshal."
icon_state = "WO_jumpsuit"
worn_state = "WO_jumpsuit"

/obj/item/clothing/under/marine/mp/provost/marshal/sector
name = "\improper Provost Sector Marshal Uniform"
desc = "The crisp uniform of a Provost Sector Marshal."

/obj/item/clothing/under/marine/mp/provost/marshal/chief
name = "\improper Provost Chief Marshal Uniform"
desc = "The crisp uniform of the Provost Chief Marshal."
icon_state = "provost_marshal"
worn_state = "provost_marshal"

//==================//UNITED AMERICAS ALLIED COMMAND\\===================\\
//=======================================================================\\
Expand Down
3 changes: 2 additions & 1 deletion code/modules/cm_marines/Donator_Items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,8 @@
name = "tactical radiopack"
desc = "A Radio backpack for use with the Juggernaut armor. DONOR ITEM"
icon_state = "skinnerpack"
item_state = "skinnerpack"
item_state = "securitypack"
has_gamemode_skin = FALSE //same sprite for all gamemodes.

/obj/item/clothing/glasses/fluff/alexwarhammer
name = "Black Jack's Dank Shades"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/desert_dam/filtration/filtration.dm
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var/global/east_riverstart = 0
else
return

if(ismob(A))
if(isliving(A))
var/mob/living/M = A

// Inside a xeno for example
Expand Down
Loading

0 comments on commit 1b77e16

Please sign in to comment.