Skip to content

Commit

Permalink
Hydroponics tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDinamit committed Jul 8, 2023
1 parent f15ebc0 commit 8adab1f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions code/modules/hydroponics/trays/tray.dm
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@
if(seed)
var/needed_skill = seed.mysterious ? SKILL_TRAINED : SKILL_BASIC
if(!user.skill_check(SKILL_BOTANY, needed_skill))
health -= rand(40,60)
health -= rand(5, 10)
check_health(1)
else
to_chat(user, "<span class='notice'>This plot is completely devoid of weeds. It doesn't need uprooting.</span>")
Expand Down Expand Up @@ -546,11 +546,6 @@
health = (istype(S, /obj/item/seeds/cutting) ? round(seed.get_trait(TRAIT_ENDURANCE)/rand(2,5)) : seed.get_trait(TRAIT_ENDURANCE))
lastcycle = world.time

var/needed_skill = seed.mysterious ? SKILL_TRAINED : SKILL_BASIC
if(prob(user.skill_fail_chance(SKILL_BOTANY, 40, needed_skill)))
dead = 1
health = 0

qdel(S)
check_health()

Expand Down

0 comments on commit 8adab1f

Please sign in to comment.