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

collectwrench

Fail the player if they collect a wrench.

Examples

AddCondition("collectwrench");
	// Optional: Specify the amount of wrenches they're allowed to collect. Defaults to 1.
	SetCondTotal(2);
CloseCondition();

Game.AddCondition("collectwrench")
	-- Optional: Specify the amount of wrenches they're allowed to collect. Defaults to 1.
	Game.SetCondTotal(2)
Game.CloseCondition()

Notes

No additional notes.

Version History

1.18

Added this condition type.

Donut Team © 2024 · v4.0