Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- Game1.currentLocation.createQuestionDialogue
- ("Donate 500g to enter the Festival of Trees?", new Response[]
- {
- new Response("yes", "Yes"),
- new Response("no", "No")
- },
- (Farmer who, string answer) =>
- {
- if (answer == "yes")
- {
- if (Game1.player.Money < 500)
- {
- Game1.drawObjectDialogue(Game1.content.LoadString("Strings\\Locations:BusStop_NotEnoughMoneyForTicket"));
- }
- else
- {
- Game1.player.Money -= 500;
- Game1.warpFarmer("TreeFestival", 1, 5, 0, true);
- }
- return true;
- }
- }
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement