From 3808fb0f1a2ed1e5edff43a08cbc23b8c538d7a8 Mon Sep 17 00:00:00 2001 From: aqys Date: Thu, 26 Mar 2026 12:13:00 +0100 Subject: [PATCH] Move Location case added --- PeopleVille/Person/AdultCitizen.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PeopleVille/Person/AdultCitizen.cs b/PeopleVille/Person/AdultCitizen.cs index 74e1dc0..2ded3c0 100644 --- a/PeopleVille/Person/AdultCitizen.cs +++ b/PeopleVille/Person/AdultCitizen.cs @@ -55,7 +55,10 @@ namespace PeopleVille.Persons break; case 2: //Move location - break; + var otherLocations = World.Locations.Where(x => x != CurrentLocation).ToList(); + if (otherLocations.Count > 0) + Walk(otherLocations[RNG.ThrowDice(new Die(otherLocations.Count)) - 1]); + break; case 3: //Do nothing break;