Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > Condition Types > collectcoins

collectcoins

Fail the player if they collect coins.

Examples

AddCondition("collectcoins");
	// Optional: Specify the amount of coins they're allowed to collect. Defaults to 1.
	SetCondTotal(3);
CloseCondition();

Game.AddCondition("collectcoins")
	-- Optional: Specify the amount of coins they're allowed to collect. Defaults to 1.
	Game.SetCondTotal(3)
Game.CloseCondition()

Notes

No additional notes.

Version History

1.18

Added this condition type.

Donut Team © 2020 · v4.0