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
class ThermInfraCostPlugin < Plugin | |
# return a help string when the bot is asked for help on this plugin | |
def help(plugin, topic="") | |
return "infracost <infra> <amount> <resources> => returns cost to purchase <amount> infra starting at <infra> with resources <resources>. Assumes you have factories and construction." | |
end | |
# tells you cost of <amount> infra starting at <infra> | |
def privmsg(m) |