library("DiagrammeR")
One of my silly side-projects is to organize the dependency chart in the Settlement Survival video game into a mermaid
diagram (or a similar flow chart). Today, I will start with the beginning of the game—that is, what tends to be built in the first “year”.
I am going to take some liberties and actually add more prerequisites in the beginning (otherwise, the graph simply starts with about 12 unlinked nodes).
<- DiagrammeR::mermaid("
my_plot graph TD
start[Select Location]
house1[1 House]
farms[2 Standard Fields]
water[Big Well]
forest_hut[Forester's Hut]
gather_hut[Gatherer's Hut]
hunter_hut[Hunter's Hut]
chopping_house[Chopping House]
house7[7 Houses]
repair_shop[Repair Shop]
church[Church]
clinic[Clinic]
distillery[Distillery]
start --> house1
start --> farms
start --> water
start --> gather_hut
house1 --> house7
farms --> clinic
gather_hut --> forest_hut
gather_hut --> hunter_hut
water --> repair_shop
forest_hut --> chopping_house
house7 --> church
repair_shop --> distillery
")
# print
my_plot