mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
CI now bans the use of weird spacing in conditionals (#22777)
* no more spaces * Matthew 10:22 * fixes * dgamerl review * Update code/modules/hydroponics/plant_genes.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/modules/mob/living/simple_animal/bot/ed209bot.dm * Update code/modules/mob/mob.dm * Update code/modules/mob/mob.dm * Update code/modules/mob/mob.dm * Update code/modules/mob/mob.dm * Update code/modules/mob/mob.dm * Update code/modules/pda/PDA.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * fuck * bah * Update tools/ci/check_grep2.py Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * oops * guh --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
loaded++
|
||||
add_seed(G, user)
|
||||
|
||||
if (loaded)
|
||||
if(loaded)
|
||||
to_chat(user, "<span class='notice'>You transfer [loaded] seeds from [O] into [src].</span>")
|
||||
else
|
||||
to_chat(user, "<span class='notice'>There are no seeds in [O].</span>")
|
||||
@@ -103,7 +103,7 @@
|
||||
else if(seedify(O,-1, src, user))
|
||||
to_chat(user, "<span class='notice'>You extract some seeds.</span>")
|
||||
return
|
||||
else if (istype(O,/obj/item/seeds))
|
||||
else if(istype(O,/obj/item/seeds))
|
||||
if(add_seed(O, user))
|
||||
to_chat(user, "<span class='notice'>You add [O] to [name].</span>")
|
||||
updateUsrDialog()
|
||||
@@ -209,7 +209,7 @@
|
||||
S.remove_from_storage(O, src)
|
||||
|
||||
for(var/datum/seed_pile/N in piles) //this for loop physically hurts me
|
||||
if (O.plantname == N.name && O.variant == N.variant && O.lifespan == N.lifespan && O.endurance == N.endurance && O.maturation == N.maturation && O.production == N.production && O.yield == N.yield && O.potency == N.potency)
|
||||
if(O.plantname == N.name && O.variant == N.variant && O.lifespan == N.lifespan && O.endurance == N.endurance && O.maturation == N.maturation && O.production == N.production && O.yield == N.yield && O.potency == N.potency)
|
||||
N.amount++
|
||||
O.forceMove(src)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user