Grep for space indentation (#54850)

#54604 atomizing
Since a lot of the space indents are in lists ill atomize those later
This commit is contained in:
TiviPlus
2020-11-30 18:48:40 +01:00
committed by GitHub
parent 84796e5372
commit 0eaab0bc54
468 changed files with 7623 additions and 7548 deletions
+9 -9
View File
@@ -590,15 +590,15 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
send2otherserver(source,final)
/**
* Sends a message to a set of cross-communications-enabled servers using world topic calls
*
* Arguments:
* * source - Who sent this message
* * msg - The message body
* * type - The type of message, becomes the topic command under the hood
* * target_servers - A collection of servers to send the message to, defined in config
* * additional_data - An (optional) associated list of extra parameters and data to send with this world topic call
*/
* Sends a message to a set of cross-communications-enabled servers using world topic calls
*
* Arguments:
* * source - Who sent this message
* * msg - The message body
* * type - The type of message, becomes the topic command under the hood
* * target_servers - A collection of servers to send the message to, defined in config
* * additional_data - An (optional) associated list of extra parameters and data to send with this world topic call
*/
/proc/send2otherserver(source, msg, type = "Ahelp", target_servers, list/additional_data = list())
if(!CONFIG_GET(string/comms_key))
debug_world_log("Server cross-comms message not sent for lack of configured key")
+14 -14
View File
@@ -25,13 +25,13 @@
message_admins("<span class='adminnotice'>[key_name_admin(usr)] has enabled anonymous names. THEME: [SSticker.anonymousnames].</span>")
/**
* anonymous_name: generates a corporate random name. used in admin event tool anonymous names
*
* first letter is always a letter
* Example name = "Employee Q5460Z"
* Arguments:
* * M - mob for preferences and gender
*/
* anonymous_name: generates a corporate random name. used in admin event tool anonymous names
*
* first letter is always a letter
* Example name = "Employee Q5460Z"
* Arguments:
* * M - mob for preferences and gender
*/
/proc/anonymous_name(mob/M)
switch(SSticker.anonymousnames)
if(ANON_RANDOMNAMES)
@@ -47,13 +47,13 @@
return name
/**
* anonymous_ai_name: generates a corporate random name (but for sillycones). used in admin event tool anonymous names
*
* first letter is always a letter
* Example name = "Employee Assistant Assuming Delta"
* Arguments:
* * is_ai - boolean to decide whether the name has "Core" (AI) or "Assistant" (Cyborg)
*/
* anonymous_ai_name: generates a corporate random name (but for sillycones). used in admin event tool anonymous names
*
* first letter is always a letter
* Example name = "Employee Assistant Assuming Delta"
* Arguments:
* * is_ai - boolean to decide whether the name has "Core" (AI) or "Assistant" (Cyborg)
*/
/proc/anonymous_ai_name(is_ai = FALSE)
switch(SSticker.anonymousnames)
if(ANON_RANDOMNAMES)
+23 -23
View File
@@ -91,9 +91,9 @@
}
ul li {
margin-top: -1px; /* Prevent double borders */
padding: 12px; /* Add some padding */
color: #ffffff;
margin-top: -1px; /* Prevent double borders */
padding: 12px; /* Add some padding */
color: #ffffff;
text-decoration: none;
background: #40628a;
border: 1px solid #161616;
@@ -102,7 +102,7 @@
}
.remove-reagent {
background-color: #d03000;
background-color: #d03000;
}
.container-control {
@@ -261,15 +261,15 @@
<div class='uiContent'>
<div class="width: 100%">
<button id="spawn-grenade">
<button id="spawn-grenade">
<i class="fas fa-bomb"></i>&nbsp;Spawn grenade
</button>
</button>
<label for="grenade-type">Grenade type: </label>
<select id="grenade-type">
<option value="normal">Normal</option>
</select>
<div class="grenade-data normal">
</div>
<select id="grenade-type">
<option value="normal">Normal</option>
</select>
<div class="grenade-data normal">
</div>
<br />
<small>note: beakers recommended, other containers may have issues</small>
</div>
@@ -289,25 +289,25 @@
<div>
<button class="spawn-container">
<i class="fas fa-cog"></i>&nbsp;Spawn
</button>
&nbsp;&nbsp;&nbsp;
</button>
&nbsp;&nbsp;&nbsp;
<button class="import-reagents">
<i class="fas fa-file-import"></i>&nbsp;Import
</button>
&nbsp;&nbsp;&nbsp;
<button class="export-reagents">
</button>
&nbsp;&nbsp;&nbsp;
<button class="export-reagents">
<i class="fas fa-file-export"></i>&nbsp;Export
</button>
</button>
</div>
<ul>
<li>
<ul>
<li>
<select class="select-new-reagent"></select><div class="reagent-div"><input style="width: 50%" type="text" name="newreagent" value="40" />&nbsp;&nbsp;<button class="add-reagent">
<i class="fas fa-plus"></i>&nbsp;Add
</button>
<select class="select-new-reagent"></select><div class="reagent-div"><input style="width: 50%" type="text" name="newreagent" value="40" />&nbsp;&nbsp;<button class="add-reagent">
<i class="fas fa-plus"></i>&nbsp;Add
</button>
</div>
</div>
</li>
</ul>
</div>
+1 -1
View File
@@ -168,7 +168,7 @@ GLOBAL_LIST_EMPTY(dirty_vars)
set desc = "Displays a list of active turfs coordinates at roundstart"
var/dat = {"<b>Coordinate list of Active Turfs at Roundstart</b>
<br>Real-time Active Turfs list you can see in Air Subsystem at active_turfs var<br>"}
<br>Real-time Active Turfs list you can see in Air Subsystem at active_turfs var<br>"}
for(var/t in GLOB.active_turfs_startlist)
var/turf/T = t
+11 -11
View File
@@ -1348,17 +1348,17 @@ Traitors and the like can also be revived with the previous role mostly intact.
target.forceMove(bread)
/**
* firing_squad is a proc for the :B:erforate smite to shoot each individual bullet at them, so that we can add actual delays without sleep() nonsense
*
* Hilariously, if you drag someone away mid smite, the bullets will still chase after them from the original spot, possibly hitting other people. Too funny to fix imo
*
* Arguments:
* * target- guy we're shooting obviously
* * source_turf- where the bullet begins, preferably on a turf next to the target
* * body_zone- which bodypart we're aiming for, if there is one there
* * wound_bonus- the wounding power we're assigning to the bullet, since we don't care about the base one
* * damage- the damage we're assigning to the bullet, since we don't care about the base one
*/
* firing_squad is a proc for the :B:erforate smite to shoot each individual bullet at them, so that we can add actual delays without sleep() nonsense
*
* Hilariously, if you drag someone away mid smite, the bullets will still chase after them from the original spot, possibly hitting other people. Too funny to fix imo
*
* Arguments:
* * target- guy we're shooting obviously
* * source_turf- where the bullet begins, preferably on a turf next to the target
* * body_zone- which bodypart we're aiming for, if there is one there
* * wound_bonus- the wounding power we're assigning to the bullet, since we don't care about the base one
* * damage- the damage we're assigning to the bullet, since we don't care about the base one
*/
/proc/firing_squad(mob/living/carbon/target, turf/source_turf, body_zone, wound_bonus, damage)
if(!target.get_bodypart(body_zone))
return
+4 -5
View File
@@ -16,10 +16,10 @@
var/obj/chosen_obj = text2path(chosen)
var/list/settings = list(
"mainsettings" = list(
"name" = list("desc" = "Name", "type" = "string", "value" = "Bob"),
"mainsettings" = list(
"name" = list("desc" = "Name", "type" = "string", "value" = "Bob"),
"maxhealth" = list("desc" = "Max. health", "type" = "number", "value" = 100),
"access" = list("desc" = "Access ID", "type" = "datum", "path" = "/obj/item/card/id", "value" = "Default"),
"access" = list("desc" = "Access ID", "type" = "datum", "path" = "/obj/item/card/id", "value" = "Default"),
"objtype" = list("desc" = "Base obj type", "type" = "datum", "path" = "/obj", "value" = "[chosen]"),
"googlyeyes" = list("desc" = "Googly eyes", "type" = "boolean", "value" = "No"),
"disableai" = list("desc" = "Disable AI", "type" = "boolean", "value" = "Yes"),
@@ -27,8 +27,7 @@
"dropitem" = list("desc" = "Drop obj on death", "type" = "boolean", "value" = "Yes"),
"mobtype" = list("desc" = "Base mob type", "type" = "datum", "path" = "/mob/living/simple_animal/hostile/mimic/copy", "value" = "/mob/living/simple_animal/hostile/mimic/copy"),
"ckey" = list("desc" = "ckey", "type" = "ckey", "value" = "none"),
)
)
))
var/list/prefreturn = presentpreflikepicker(usr,"Customize mob", "Customize mob", Button1="Ok", width = 450, StealFocus = 1,Timeout = 0, settings=settings)
if (prefreturn["button"] == 1)