From: adrianna Date: Tue, 13 Sep 2016 19:42:06 +0000 (+0200) Subject: denser turnips X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=e76b110c548f7b051684cd5e2f2fcf7cd206b7ca;p=tabakrolletjie.git denser turnips --- diff --git a/TODO.txt b/TODO.txt index ae4f7a4..5009e53 100644 --- a/TODO.txt +++ b/TODO.txt @@ -7,7 +7,6 @@ Bugs Features -------- -* Allow denser turnip spacing * Allow going down to zero seeds by buying lights if a turnip is planted * Maybe make the mould weaker at the start * Different prices for different lights @@ -48,3 +47,4 @@ Done * Bug: have to click lights multiple times to turn them back on after the power has died * Bug: Crash when removing a rotating light * Turnip / light spacing bug: a light can be placed right below a turnip, but must be much further away if above the turnip. This happens whether the turnip or the light is placed first. I assume it has to do with how the turnip image is positioned relative to its body. +* Allow denser turnip spacing diff --git a/tabakrolletjie/turnip.py b/tabakrolletjie/turnip.py index 1e29658..2157ec0 100644 --- a/tabakrolletjie/turnip.py +++ b/tabakrolletjie/turnip.py @@ -19,7 +19,7 @@ class TurnipInvalidPosition(Exception): class Turnip(object): - TURNIP_RADIUS = 24 + TURNIP_RADIUS = 12 def __init__(self, **kwargs): self._age = kwargs.get('age', 0)