-TODO: A list of "active blocks" in which stuff happens. (+=done)\r
- + Add a never-resetted game timer to the server\r
- + Add a timestamp value to blocks\r
- + The simple rule: All blocks near some player are "active"\r
- - Do stuff in real time in active blocks\r
- + Handle objects\r
- TODO: Make proper hooks in here\r
- - Grow grass, delete leaves without a tree\r
- - Spawn some mobs based on some rules\r
- - Transform cobble to mossy cobble near water\r
- - Run a custom script\r
- - ...And all kinds of other dynamic stuff\r
- + Keep track of when a block becomes active and becomes inactive\r
- + When a block goes inactive:\r
- + Store objects statically to block\r
- + Store timer value as the timestamp\r
- + When a block goes active:\r
- + Create active objects out of static objects\r
- TODO: Make proper hooks in here\r
- - Simulate the results of what would have happened if it would have\r
- been active for all the time\r
- - Grow a lot of grass and so on\r
- + Initially it is fine to send information about every active object\r
- to every player. Eventually it should be modified to only send info\r
- about the nearest ones.\r
- + This was left to be done by the old system and it sends only the\r
- nearest ones.\r