BlueGit

blue-star tribegen

Files

tribegen / web / src / Events / FarmingEvent.php

FarmingEvent.php

various fixes
timfa Tim · pushed by timfa · 9 months ago
49730f61 History
FarmingEvent.php 405 B Download Raw
1<?php
2
3require_once __DIR__ . '/../../src/Events/Event.php';
4
5class FarmingEvent extends Event
6{
7 public function execute()
8 {
9 $this->story = "The farmers tended to their crops...\n\n";
10
11 // TODO: Implement farming logic
12 // Can produce food, can fail, injure kobolds, etc.
13
14 $this->story .= "The fields yielded a modest harvest.";
15
16 return $this->story;
17 }
18}