Created
May 1, 2011 17:42
-
-
Save hikari-no-yume/950672 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zope.interface import implements | |
from bravo.blocks import blocks | |
from bravo.ibravo import IAutomaton | |
class GrowSaplings(object): | |
implements(IAutomaton) | |
blocks = [blocks["sapling"].slot] | |
def feed(self, factory, coords): | |
print "Go Go Gadget sapling! %s" % (coords,) | |
name = "grow_saplings" | |
before = tuple() | |
after = tuple() | |
grow_saplings = GrowSaplings() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment