Skip to content

Commit

Permalink
Merge branch 'master220' into fixes-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimach authored Dec 5, 2023
2 parents e5b7b95 + bfa6e0b commit 0715953
Show file tree
Hide file tree
Showing 413 changed files with 7,181 additions and 5,185 deletions.
2 changes: 1 addition & 1 deletion _maps/map_files/RandomZLevels/terrorspiders.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -11288,7 +11288,7 @@
/obj/item/paper/terrorspiders3,
/obj/item/pen/edagger,
/obj/item/stack/telecrystal{
amount = 10
amount = 50
},
/obj/item/chameleon,
/obj/item/reagent_containers/glass/bottle/traitor,
Expand Down
12 changes: 6 additions & 6 deletions _maps/map_files/generic/CentComm.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2436,11 +2436,11 @@
desc = "Баксоны максона. Возможно кто-то приобретет пропуск.";
name = "100.000 �������� �������"
},
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
amount = 115;
desc = null
},
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
amount = 115;
desc = null
},
Expand Down Expand Up @@ -11465,18 +11465,18 @@
/area/centcom/zone1)
"fQg" = (
/obj/structure/table/wood,
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
pixel_x = 3
},
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
pixel_x = -3;
pixel_y = 4
},
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
pixel_x = -4;
pixel_y = -2
},
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
pixel_x = 3;
pixel_y = 9
},
Expand Down
2 changes: 1 addition & 1 deletion _maps/map_files/generic/syndicatebase.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
/obj/item/stack/sheet/mineral/gold{
amount = 50
},
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
amount = 20;
desc = null
},
Expand Down
4 changes: 2 additions & 2 deletions _maps/map_files/generic/z2_old.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -13202,11 +13202,11 @@
desc = "Баксоны максона. Возможно кто-то приобретет пропуск.";
name = "100.000 �������� �������"
},
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
amount = 115;
desc = null
},
/obj/item/stack/telecrystal/fifty{
/obj/item/stack/telecrystal/twohundread_fifty{
amount = 115;
desc = null
},
Expand Down
2 changes: 1 addition & 1 deletion code/ATMOSPHERICS/pipes/simple/pipe_simple_he.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
if(pipe_air.temperature > heat_limit + 1)
for(var/m in buckled_mobs)
var/mob/living/buckled_mob = m
buckled_mob.apply_damage(4 * log(pipe_air.temperature - heat_limit), BURN, "chest")
buckled_mob.apply_damage(4 * log(pipe_air.temperature - heat_limit), BURN, BODY_ZONE_CHEST)


/obj/machinery/atmospherics/pipe/simple/heat_exchanging/New()
Expand Down
3 changes: 2 additions & 1 deletion code/__DEFINES/combat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
#define EMBEDDED_UNSAFE_REMOVAL_PAIN_MULTIPLIER 8 //Coefficient of multiplication for the damage the item does when removed without a surgery (this*item.w_class)
#define EMBEDDED_UNSAFE_REMOVAL_TIME 30 //A Time in ticks, total removal time = (this*item.w_class)

// Body Parts
// Body Part Zones
#define BODY_ZONE_HEAD "head"
#define BODY_ZONE_CHEST "chest"
#define BODY_ZONE_L_ARM "l_arm"
Expand All @@ -114,6 +114,7 @@
#define BODY_ZONE_PRECISE_L_FOOT "l_foot"
#define BODY_ZONE_PRECISE_R_FOOT "r_foot"


//We will round to this value in damage calculations.
#define DAMAGE_PRECISION 0.1

Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/dcs/signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@

///from base of mob/key_down(): (_key, client/user)
#define COMSIG_MOB_KEY_DROP_ITEM_DOWN "mob_key_drop_item_down"
#define COMPONENT_CANCEL_DROP (1<<0)

///from base of obj/allowed(mob/M): (/obj) returns bool, if TRUE the mob has id access to the obj
#define COMSIG_MOB_ALLOWED "mob_allowed"
Expand Down
14 changes: 8 additions & 6 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
///////////////////ORGAN DEFINES///////////////////

// Organ defines.
#define ORGAN_BROKEN 1
#define ORGAN_ROBOT 2
#define ORGAN_SPLINTED 4
#define ORGAN_DEAD 8
#define ORGAN_MUTATED 16
#define ORGAN_BROKEN 1
#define ORGAN_ROBOT 2
#define ORGAN_SPLINTED 4
#define ORGAN_DEAD 8
#define ORGAN_MUTATED 16
#define ORGAN_INT_BLEED 32

#define PROCESS_ACCURACY 10

Expand Down Expand Up @@ -271,7 +272,8 @@

#define isnewplayer(A) (istype((A), /mob/new_player))

#define isorgan(A) (istype((A), /obj/item/organ/external))
#define isexternalorgan(A) (istype((A), /obj/item/organ/external))

#define hasorgans(A) (ishuman(A))

#define is_admin(user) (check_rights(R_ADMIN, 0, (user)) != 0)
Expand Down
56 changes: 56 additions & 0 deletions code/__DEFINES/organ_defines.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// Internal organs

#define INTERNAL_ORGAN_HEART "heart"
#define INTERNAL_ORGAN_LUNGS "lungs"
#define INTERNAL_ORGAN_LIVER "liver"
#define INTERNAL_ORGAN_KIDNEYS "kidneys"
#define INTERNAL_ORGAN_APPENDIX "appendix"
#define INTERNAL_ORGAN_EYES "eyes"
#define INTERNAL_ORGAN_EARS "ears"
#define INTERNAL_ORGAN_BRAIN "brain"

#define INTERNAL_ORGAN_RESONANT_CRYSTAL "resonant_crystal"
#define INTERNAL_ORGAN_STRANGE_CRYSTAL "strange_crystal"
#define INTERNAL_ORGAN_WAX_GLANDS "wax_glands"
#define INTERNAL_ORGAN_HEADPOCKET "headpocket"
#define INTERNAL_ORGAN_LANTERN "lantern"
#define INTERNAL_ORGAN_RESONATOR "adamantine_resonator"

#define INTERNAL_ORGAN_PLASMAVESSEL "plasmavessel"
#define INTERNAL_ORGAN_ACIDGLAND "acidgland"
#define INTERNAL_ORGAN_HIVENODE "hivenode"
#define INTERNAL_ORGAN_NEUROTOXIN_GLAND "neurotoxin_gland"
#define INTERNAL_ORGAN_RESIN_SPINNER "resin_spinner"
#define INTERNAL_ORGAN_EGGSAC "eggsac"

#define INTERNAL_ORGAN_L_ARM_DEVICE "l_arm_device"
#define INTERNAL_ORGAN_R_ARM_DEVICE "r_arm_device"
#define INTERNAL_ORGAN_L_LEG_DEVICE "l_leg_device"
#define INTERNAL_ORGAN_R_LEG_DEVICE "r_leg_device"
#define INTERNAL_ORGAN_EYE_SIGHT_DEVICE "eye_sight"
#define INTERNAL_ORGAN_EYE_HUD_DEVICE "eye_hud"
#define INTERNAL_ORGAN_EYE_SHIELD_DEVICE "eye_shield"
#define INTERNAL_ORGAN_EYE_LING "eye_ling"
#define INTERNAL_ORGAN_BREATHING_TUBE "breathing_tube"
#define INTERNAL_ORGAN_STOMACH "stomach"
#define INTERNAL_ORGAN_HEART_DRIVE "heartdrive"
#define INTERNAL_ORGAN_BRAIN_ANTIDROP "brain_antidrop"
#define INTERNAL_ORGAN_BRAIN_ANTISTUN "brain_antistun"
#define INTERNAL_ORGAN_BRAIN_ANTISLEEP "brain_antisleep"
#define INTERNAL_ORGAN_BRAIN_CLOWNVOICE "brain_clownvoice"
#define INTERNAL_ORGAN_BRAIN_SPEECHTRANSLATOR "brain_speechtranslator"

#define INTERNAL_ORGAN_VOCALCORDS "vocal_cords"
#define INTERNAL_ORGAN_HIVECORE "hivecore"
#define INTERNAL_ORGAN_PARASITE_EGG "parasite_egg"

#define INTERNAL_ORGAN_HAIR "hair_organ" // yeah thats a thing
#define INTERNAL_ORGAN_HONK_BLADDER "honk_bladder"
#define INTERNAL_ORGAN_BRAIN_TUMOR "brain_tumor"


// insert/remove organ special defines
#define ORGAN_MANIPULATION_DEFAULT 0
#define ORGAN_MANIPULATION_NOEFFECT 1
#define ORGAN_MANIPULATION_ABDUCTOR 2

2 changes: 1 addition & 1 deletion code/__HELPERS/global_lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
var/datum/robolimb/R = new limb_type()
GLOB.all_robolimbs[R.company] = R
if(!R.unavailable_at_chargen)
if(R != "head" && R != "chest" && R != "groin" ) //Part of the method that ensures only IPCs can access head, chest and groin prosthetics.
if(R != BODY_ZONE_HEAD && R != BODY_ZONE_CHEST && R != BODY_ZONE_PRECISE_GROIN ) //Part of the method that ensures only IPCs can access head, chest and groin prosthetics.
if(R.has_subtypes) //Ensures solos get added to the list as well be incorporating has_subtypes == 1 and has_subtypes == 2.
GLOB.chargen_robolimbs[R.company] = R //List only main brands and solo parts.
if(R.selectable)
Expand Down
2 changes: 1 addition & 1 deletion code/__HELPERS/pronouns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* Replaces the `%(SINGLE,PLURAL)%` or `%(MALE,FEMALE,NEUTER,PLURAL)%` message piece accordingly to user gender.
* Use `*` to deliberatly skip one genderize word.
* Use `*` to deliberatly skip one genderize word: `%(*,FEMALE,*,PLURAL)%`.
*
* Arguments:
* * user - Person which pronouns will be used.
Expand Down
Loading

0 comments on commit 0715953

Please sign in to comment.