Skip to content

Commit

Permalink
Reduce lichen growth rate.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjl committed Jul 13, 2012
1 parent 7f75147 commit 0fb12cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caves/entities/lichen.clj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
(->Lichen (get-id) "F" :green location 1)) (->Lichen (get-id) "F" :green location 1))


(defn should-grow [] (defn should-grow []
(< (rand) 0.01)) (< (rand) (/ 1 500)))


(defn grow [lichen world] (defn grow [lichen world]
(if-let [target (find-empty-neighbor world (:location lichen))] (if-let [target (find-empty-neighbor world (:location lichen))]
Expand Down

0 comments on commit 0fb12cc

Please sign in to comment.