[MIRROR] Fix broken dmdoc crosslinks (#933)

* Fix broken dmdoc crosslinks

* Update species.dm

Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
SkyratBot
2020-09-23 15:14:45 +02:00
committed by GitHub
co-authored by Tad Hardesty Azarak
parent 780475d5e6
commit ec28f27bf8
38 changed files with 136 additions and 105 deletions
@@ -56,9 +56,15 @@ GLOBAL_LIST_EMPTY(roundstart_races)
var/species_language_holder = /datum/language_holder
/// Default mutant bodyparts for this species, like horns. Don't forget to set one for every mutant bodypart you allow this species to have.
var/list/default_features = list()
/// Visible CURRENT bodyparts that are unique to a species. DO NOT USE THIS AS A LIST OF ALL POSSIBLE BODYPARTS AS IT WILL FUCK SHIT UP! Changes to this list for non-species specific bodyparts (ie cat ears and tails) should be assigned at organ level if possible. Layer hiding is handled by [datum/species/handle_mutant_bodyparts()] below.
/// Visible CURRENT bodyparts that are unique to a species.
///
/// DO NOT USE THIS AS A LIST OF ALL POSSIBLE BODYPARTS AS IT WILL FUCK
/// SHIT UP! Changes to this list for non-species specific bodyparts (ie
/// cat ears and tails) should be assigned at organ level if possible.
/// Layer hiding is handled by [/datum/species/proc/handle_mutant_bodyparts]
/// below.
//var/list/mutant_bodyparts = list() - ORIGINAL
var/list/list/mutant_bodyparts = list() //SKYRAT EDIT CHANGE - CUSTOMIZATIOn
var/list/list/mutant_bodyparts = list() //SKYRAT EDIT CHANGE - CUSTOMIZATION
///Internal organs that are unique to this race, like a tail.
var/list/mutant_organs = list()
///Multiplier for the race's speed. Positive numbers make it move slower, negative numbers make it move faster.
@@ -198,7 +204,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
* Checks if a species is eligible to be picked at roundstart.
*
* Checks the config to see if this species is allowed to be picked in the character setup menu.
* Used by [proc/generate_selectable_species].
* Used by [/proc/generate_selectable_species].
*/
/datum/species/proc/check_roundstart_eligible()
if(id in (CONFIG_GET(keyed_list/roundstart_races)))
@@ -241,11 +247,12 @@ GLOBAL_LIST_EMPTY(roundstart_races)
/datum/species/proc/copy_properties_from(datum/species/old_species)
return
/** regenerate_organs
* Corrects organs in a carbon, removing ones it doesn't need and adding ones it does
/**
* Corrects organs in a carbon, removing ones it doesn't need and adding ones it does.
*
* takes all organ slots, removes organs a species should not have, adds organs a species should have.
* Takes all organ slots, removes organs a species should not have, adds organs a species should have.
* can use replace_current to refresh all organs, creating an entirely new set.
*
* Arguments:
* * C - carbon, the owner of the species datum AKA whoever we're regenerating organs in
* * old_species - datum, used when regenerate organs is called in a switching species to remove old mutant organs.
+1 -1
View File
@@ -726,7 +726,7 @@
return
..()
///Returns how much blood we're losing from being dragged a tile, from [mob/living/proc/makeTrail]
///Returns how much blood we're losing from being dragged a tile, from [/mob/living/proc/makeTrail]
/mob/living/proc/bleedDragAmount()
var/brute_ratio = round(getBruteLoss() / maxHealth, 0.1)
return max(1, brute_ratio * 2)
+1 -1
View File
@@ -50,7 +50,7 @@
var/list/surgeries = list() ///a list of surgery datums. generally empty, they're added when the player wants them.
var/now_pushing = null ///used by [living/Bump()][/mob/living/Bump] and [living/PushAM()][/mob/living/PushAM] to prevent potential infinite loop.
var/now_pushing = null //! Used by [living/Bump()][/mob/living/proc/Bump] and [living/PushAM()][/mob/living/proc/PushAM] to prevent potential infinite loop.
var/cameraFollow = null
@@ -16,7 +16,7 @@
var/flip_on_death = FALSE
var/list/speak = list()
///Emotes while speaking IE: Ian [emote], [text] -- Ian barks, "WOOF!". Spoken text is generated from the speak variable.
///Emotes while speaking IE: `Ian [emote], [text]` -- `Ian barks, "WOOF!".` Spoken text is generated from the speak variable.
var/list/speak_emote = list()
var/speak_chance = 0
///Hearable emotes
+1 -1
View File
@@ -174,7 +174,7 @@
*
* Use for atoms performing visible actions
*
* message is output to anyone who can see, e.g. "The [src] does something!"
* message is output to anyone who can see, e.g. `"The [src] does something!"`
*
* Vars:
* * self_message (optional) is what the src mob sees e.g. "You do something!"
+5 -2
View File
@@ -130,7 +130,7 @@
*
* NB: contains nulls!
*
* held_items[active_hand_index] is the actively held item, but please use
* `held_items[active_hand_index]` is the actively held item, but please use
* [get_active_held_item()][/mob/proc/get_active_held_item] instead, because OOP
*/
var/list/held_items = list()
@@ -207,7 +207,10 @@
var/memory_throttle_time = 0
var/list/alerts = list() /// contains [/obj/screen/alert only] // On /mob so clientless mobs will throw alerts properly
/// Contains [/obj/screen/alert] only.
///
/// On [/mob] so clientless mobs will throw alerts properly.
var/list/alerts = list()
var/list/screens = list()
var/list/client_colours = list()
var/hud_type = /datum/hud