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
+7 -7
View File
@@ -35,8 +35,8 @@ GLOBAL_LIST_EMPTY(bounties_list)
return
/** When randomly generating the bounty list, duplicate bounties must be avoided.
* This proc is used to determine if two bounties are duplicates, or incompatible in general.
*/
* This proc is used to determine if two bounties are duplicates, or incompatible in general.
*/
/datum/bounty/proc/compatible_with(other_bounty)
return TRUE
@@ -47,8 +47,8 @@ GLOBAL_LIST_EMPTY(bounties_list)
reward = round(reward * scale_reward)
/** This proc is called when the shuttle docks at CentCom.
* It handles items shipped for bounties.
*/
* It handles items shipped for bounties.
*/
/proc/bounty_ship_item_and_contents(atom/movable/AM, dry_run=FALSE)
if(!GLOB.bounties_list.len)
setup_bounties()
@@ -78,9 +78,9 @@ GLOBAL_LIST_EMPTY(bounties_list)
return TRUE
/** Returns a new bounty of random type, but does not add it to GLOB.bounties_list.
*
* *Guided determines what specific catagory of bounty should be chosen.
*/
*
* *Guided determines what specific catagory of bounty should be chosen.
*/
/proc/random_bounty(guided = 0)
var/bounty_num
if(guided && (guided != CIV_JOB_RANDOM))
+17 -17
View File
@@ -1,22 +1,22 @@
/* How it works:
The shuttle arrives at CentCom dock and calls sell(), which recursively loops through all the shuttle contents that are unanchored.
The shuttle arrives at CentCom dock and calls sell(), which recursively loops through all the shuttle contents that are unanchored.
Each object in the loop is checked for applies_to() of various export datums, except the invalid ones.
Each object in the loop is checked for applies_to() of various export datums, except the invalid ones.
*/
/* The rule in figuring out item export cost:
Export cost of goods in the shipping crate must be always equal or lower than:
packcage cost - crate cost - manifest cost
Crate cost is 500cr for a regular plasteel crate and 100cr for a large wooden one. Manifest cost is always 200cr.
This is to avoid easy cargo points dupes.
Export cost of goods in the shipping crate must be always equal or lower than:
packcage cost - crate cost - manifest cost
Crate cost is 500cr for a regular plasteel crate and 100cr for a large wooden one. Manifest cost is always 200cr.
This is to avoid easy cargo points dupes.
Credit dupes that require a lot of manual work shouldn't be removed, unless they yield too much profit for too little work.
For example, if some player buys metal and glass sheets and uses them to make and sell reinforced glass:
For example, if some player buys metal and glass sheets and uses them to make and sell reinforced glass:
100 glass + 50 metal -> 100 reinforced glass
(1500cr -> 1600cr)
100 glass + 50 metal -> 100 reinforced glass
1500cr -> 1600cr)
then the player gets the profit from selling his own wasted time.
Then the player gets the profit from selling his own wasted time.
*/
// Simple holder datum to pass export results around
@@ -126,13 +126,13 @@ Credit dupes that require a lot of manual work shouldn't be removed, unless they
return TRUE
/**
* Calculates the exact export value of the object, while factoring in all the relivant variables.
*
* Called only once, when the object is actually sold by the datum.
* Adds item's cost and amount to the current export cycle.
* get_cost, get_amount and applies_to do not neccesary mean a successful sale.
*
*/
* Calculates the exact export value of the object, while factoring in all the relivant variables.
*
* Called only once, when the object is actually sold by the datum.
* Adds item's cost and amount to the current export cycle.
* get_cost, get_amount and applies_to do not neccesary mean a successful sale.
*
*/
/datum/export/proc/sell_object(obj/O, datum/export_report/report, dry_run = TRUE, allowed_categories = EXPORT_CARGO , apply_elastic = TRUE)
///This is the value of the object, as derived from export datums.
var/the_cost = get_cost(O, allowed_categories , apply_elastic)