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 12:48:40 -05:00
committed by GitHub
parent 84796e5372
commit 0eaab0bc54
468 changed files with 7623 additions and 7548 deletions
+17 -17
View File
@@ -15,9 +15,9 @@ GLOBAL_LIST_EMPTY(cached_cards)
icon = DEFAULT_TCG_DMI_ICON
icon_state = "runtime"
w_class = WEIGHT_CLASS_TINY
//Unique ID, for use in lookups and storage, used to index the global datum list where the rest of the card's info is stored
///Unique ID, for use in lookups and storage, used to index the global datum list where the rest of the card's info is stored
var/id = "code"
//Used along with the id for lookup
///Used along with the id for lookup
var/series = "coderbus"
///Is the card flipped?
var/flipped = FALSE
@@ -137,14 +137,14 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices)
animate(src, transform = ntransform, time = 2, easing = (EASE_IN|EASE_OUT))
/**
* Transforms the card's sprite to look like a small, paper card. Use when outside of inventory
*/
* Transforms the card's sprite to look like a small, paper card. Use when outside of inventory
*/
/obj/item/tcgcard/proc/zoom_in()
transform = matrix()
/**
* Transforms the card's sprite to look like a large, detailed, illustrated paper card. Use when inside of inventory/storage.
*/
* Transforms the card's sprite to look like a large, detailed, illustrated paper card. Use when inside of inventory/storage.
*/
/obj/item/tcgcard/proc/zoom_out()
transform = matrix(0.3,0,0,0,0.3,0)
@@ -161,9 +161,9 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices)
icon_state = template.icon_state
flipped = !flipped
/**
* A stack item that's not actually a stack because ORDER MATTERS with a deck of cards!
* The "top" card of the deck will always be the bottom card in the stack for our purposes.
*/
* A stack item that's not actually a stack because ORDER MATTERS with a deck of cards!
* The "top" card of the deck will always be the bottom card in the stack for our purposes.
*/
/obj/item/tcgcard_deck
name = "Trading Card Pile"
desc = "A stack of TCG cards."
@@ -249,8 +249,8 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices)
return ..()
/**
* The user draws a single card. The deck is then handled based on how many cards are left.
*/
* The user draws a single card. The deck is then handled based on how many cards are left.
*/
/obj/item/tcgcard_deck/proc/draw_card(mob/user)
if(!contents.len)
CRASH("A TCG deck was created with no cards inside of it.")
@@ -267,10 +267,10 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices)
qdel(src)
/**
* The user shuffles the order of the deck, then closes any visability into the deck's storage to prevent cheesing.
* *User: The person doing the shuffling, used in visable message and closing UI.
* *Visible: Will anyone need to hear the visable message about the shuffling?
*/
* The user shuffles the order of the deck, then closes any visability into the deck's storage to prevent cheesing.
* *User: The person doing the shuffling, used in visable message and closing UI.
* *Visible: Will anyone need to hear the visable message about the shuffling?
*/
/obj/item/tcgcard_deck/proc/shuffle_deck(mob/user, visable = TRUE)
if(!contents)
return
@@ -282,8 +282,8 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices)
"<span class='notice'>You shuffle \the [src]!</span>")
/**
* The user flips the deck, turning it into a face up/down pile, and reverses the order of the cards from top to bottom.
*/
* The user flips the deck, turning it into a face up/down pile, and reverses the order of the cards from top to bottom.
*/
/obj/item/tcgcard_deck/proc/flip_deck()
flipped = !flipped
var/list/temp_deck = contents.Copy()