(set: $hp to 10) (set: $day to 0) (set: $coins to 10) (set: $stamina to 0) (display: "Welcome!") (set: $wood to 0) (set: $stone to 0) (set: $sheep to 0) (set: $brick to 0) (set: $meat to 0)Hello! You current stats are $hp health, $coins coins, and $stamina stamina! It is currently day $day What would you like to do? [[Adventure]] [[Rest]] [[Forage]] Or you can check your inventory [[Inventory]]Welcome to the Adventures of Libay! A magical fantasy RPG game! Press start to begin [[Start|Main]](set: $monster_hp to (random: 1,10)) You come across a monster! It has $monster_hp hp [[Fight]] [[Flee|Main]] (if: $stamina < 10)[ (set: $stamina to $stamina + (random: 1,5)) You have rested well and gained stamina! You're now at $stamina stamina. Rest further? [[No|Main]] [[Yes|Rest]] (set: $day to $day + 1) ] (else:)[ You do not need rest, go on. Get! [[Main]] ](if: (random: 1,10) > 3)[ You found wood and stone (set: $wood to $wood + (either: 1,2,3)) (set: $stone to $stone + (either: 1,2,3)) [[Check your inventory|Inventory]] [[Return|Main]] ] (else:)[ You found a wolf! [[Try to tame]] [[Try to kill]] ]This is your inventory! It shows all of the resources you have and can get. Your current items are $wood wood $stone stone $sheep sheep $brick brick $meat meat [[Main]](if: (either: 0,1) is 0)[ You walk slowly up to the wolf. It goes and bites you! You have no choice but to [[Fight back|Try to kill]] ] (else:)[ You walk slowly up to the wolf. It seems timid, but doesn't seem to hurt you. (if: $meat < 1)[ You do not have any meat to tame the wolf, it runs away. [[Continue to forage|Forage]] [[Go home|Main]] ] (else:)[ You hold out meat you have. The wolf slowly walks over and takes a bite. You smile and pat the wolf's head. You tamed a wolf! (set: $meat to $meat - 1) [[Continue to forage|Forage]] [[Go home|Main]] ] ](if: (random: 0,1) is 0)[ You kill the wolf, you gain meat. (set: $meat to $meat + (either: 1,2)) [[Check Inventory|Inventory]] ] (else:)[ The wolf bites you (set: $hp to $hp - (either: 1,2,3)) (if: $hp < 1) [ You have died! [[Game over!]] ] (else:)[ You have $hp hp left [[Continue fight|Try to kill]] [[Flee|Main]] ] ](if: (either: 0, 1) is 0)[ The monster bites you! (set: $hp to $hp - (either: 1,2,3)) (if: $hp < 1)[ You are dead, [[Game over!]] ] (else:)[ Your health is $hp. [[Fight]] [[Flee|Main]] ] ] (else:)[ You hit the monster! (set:$monster_hp = $monster_hp - (random: 1,3)) (if: $monster_hp < 1)[ The [[monster is dead!]] ] (else:)[ Its health is $monster_hp. [[Fight]] [[Flee|Main]] ] ] Game over, you are dead! Start over? [[Yes|Init1]] (set: $drop to (random: 1,5)) (set: $coins to $coins + $drop) You collect $drop coins! [[Go home|Main]] [[Continue adventuring|Adventure]]