mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
Merge remote-tracking branch 'tgstation/master' into upstream-2025-11-29
# Conflicts: # _maps/RandomRuins/SpaceRuins/derelict_sulaco.dmm # _maps/RandomRuins/SpaceRuins/garbagetruck2.dmm # _maps/map_files/CatwalkStation/CatwalkStation_2023.dmm # _maps/map_files/tramstation/tramstation.dmm # code/_onclick/hud/new_player.dm # code/datums/components/squashable.dm # code/datums/diseases/advance/symptoms/heal.dm # code/datums/diseases/chronic_illness.dm # code/datums/status_effects/buffs.dm # code/datums/status_effects/debuffs/drunk.dm # code/datums/status_effects/debuffs/stamcrit.dm # code/game/machinery/computer/crew.dm # code/game/objects/items/devices/scanners/health_analyzer.dm # code/game/objects/items/wall_mounted.dm # code/game/turfs/closed/indestructible.dm # code/modules/admin/view_variables/filterrific.dm # code/modules/antagonists/heretic/influences.dm # code/modules/cargo/orderconsole.dm # code/modules/client/preferences.dm # code/modules/events/space_vines/vine_mutations.dm # code/modules/mob/dead/new_player/new_player.dm # code/modules/mob/living/carbon/human/death.dm # code/modules/mob/living/carbon/human/species_types/jellypeople.dm # code/modules/mob/living/damage_procs.dm # code/modules/mob/living/living.dm # code/modules/mob_spawn/ghost_roles/mining_roles.dm # code/modules/mob_spawn/mob_spawn.dm # code/modules/projectiles/ammunition/energy/laser.dm # code/modules/projectiles/guns/ballistic/launchers.dm # code/modules/projectiles/guns/energy/laser.dm # code/modules/reagents/chemistry/machinery/chem_dispenser.dm # code/modules/reagents/chemistry/reagents/cat2_medicine_reagents.dm # code/modules/reagents/chemistry/reagents/drinks/alcohol_reagents.dm # code/modules/reagents/chemistry/reagents/medicine_reagents.dm # code/modules/surgery/healing.dm # code/modules/unit_tests/designs.dm # icons/mob/inhands/items_lefthand.dmi # icons/mob/inhands/items_righthand.dmi # tgui/packages/tgui/interfaces/ChemDispenser.tsx
This commit is contained in:
@@ -1167,8 +1167,8 @@ GLOBAL_LIST_INIT(unrecommended_builds, list(
|
||||
|
||||
/client/proc/open_filter_editor(atom/in_atom)
|
||||
if(holder)
|
||||
holder.filteriffic = new /datum/filter_editor(in_atom)
|
||||
holder.filteriffic.ui_interact(mob)
|
||||
holder.filterrific = new /datum/filter_editor(in_atom)
|
||||
holder.filterrific.ui_interact(mob)
|
||||
|
||||
///opens the particle editor UI for the in_atom object for this client
|
||||
/client/proc/open_particle_editor(atom/movable/in_atom)
|
||||
|
||||
@@ -653,13 +653,24 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
apply_character_randomization_prefs(is_antag)
|
||||
apply_prefs_to(character, icon_updates, visuals_only = visuals_only) // BUBBER EDIT - Customization - ORIGINAL: apply_prefs_to(character, icon_updates)
|
||||
|
||||
/**
|
||||
* Applies the given preferences to a human mob.
|
||||
*
|
||||
* Arguments:
|
||||
* * character - The human mob to apply the preferences to
|
||||
* * icon_updates - Whether to update the mob's icons after applying preferences.
|
||||
* Is often skipped to save processing when an update will happen later anyway.
|
||||
* * do_not_apply - A list of preference types to skip when applying preferences.
|
||||
*/
|
||||
/// Applies the given preferences to a human mob.
|
||||
/datum/preferences/proc/apply_prefs_to(mob/living/carbon/human/character, icon_updates = TRUE, visuals_only = FALSE) // SKYRAT EDIT - Customization - ORIGINAL: /datum/preferences/proc/apply_prefs_to(mob/living/carbon/human/character, icon_updates = TRUE)
|
||||
/datum/preferences/proc/apply_prefs_to(mob/living/carbon/human/character, icon_updates = TRUE, list/do_not_apply, visuals_only = FALSE) // SKYRAT EDIT - Customization - ORIGINAL: /datum/preferences/proc/apply_prefs_to(mob/living/carbon/human/character, icon_updates = TRUE)
|
||||
character.dna.features = MANDATORY_FEATURE_LIST //SKYRAT EDIT CHANGE - We need to instansiate the list with the basic features.
|
||||
|
||||
for (var/datum/preference/preference as anything in get_preferences_in_priority_order())
|
||||
if (preference.savefile_identifier != PREFERENCE_CHARACTER)
|
||||
continue
|
||||
if (preference.type in do_not_apply)
|
||||
continue
|
||||
|
||||
preference.apply_to_human(character, read_preference(preference.type), src) // SKYRAT EDIT - src
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
/// The actual proc that will apply the damage to the suiciding mob. damage_type is the actual type of damage we want to deal, if that matters.
|
||||
/// Return TRUE if we actually apply any real damage, FALSE otherwise.
|
||||
/mob/living/proc/apply_suicide_damage(obj/item/suicide_tool, damage_type = NONE)
|
||||
adjustOxyLoss(max(maxHealth * 2 - getToxLoss() - getFireLoss() - getBruteLoss() - getOxyLoss(), 0))
|
||||
adjust_oxy_loss(max(maxHealth * 2 - get_tox_loss() - get_fire_loss() - get_brute_loss() - get_oxy_loss(), 0))
|
||||
return TRUE
|
||||
|
||||
/// If we want to apply multiple types of damage to a carbon mob based on the way they suicide, this is the proc that handles that.
|
||||
@@ -132,10 +132,10 @@
|
||||
for(var/filtered_type in filtered_damage_types)
|
||||
switch(filtered_type)
|
||||
if(BRUTELOSS)
|
||||
adjustBruteLoss(damage_to_apply)
|
||||
adjust_brute_loss(damage_to_apply)
|
||||
if(FIRELOSS)
|
||||
adjustFireLoss(damage_to_apply)
|
||||
adjust_fire_loss(damage_to_apply)
|
||||
if(OXYLOSS)
|
||||
adjustOxyLoss(damage_to_apply)
|
||||
adjust_oxy_loss(damage_to_apply)
|
||||
if(TOXLOSS)
|
||||
adjustToxLoss(damage_to_apply)
|
||||
adjust_tox_loss(damage_to_apply)
|
||||
|
||||
Reference in New Issue
Block a user