Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timer value to config #4

Open
Justice-Molton opened this issue Dec 19, 2024 · 1 comment
Open

Add timer value to config #4

Justice-Molton opened this issue Dec 19, 2024 · 1 comment

Comments

@Justice-Molton
Copy link

can chaange the timer so that the repairs take much longer time? or can you tell me what to do to change it to every 60 minutes instead of a few seconds?

@Achimobil
Copy link
Owner

The time is fixed in the lua. But in the XML you can set how much is repaired per 5 seconds.

<automaticCarWash triggerNode="vehicleTrigger" dirtAmount="-0.1"  damageAmount="-0.05"  wearAmount="-0.02" />

the damageAmount in the XML is currently "-0.05" which means 5%.
You could lower this to e.g. "-0.00005" to have a much slower repair.

But I will take this request for later to also make the timer configurable in the XML.

@Achimobil Achimobil moved this from New to Later in Achimobil's LS Projekte Dec 19, 2024
@Achimobil Achimobil changed the title not an issue, more like a question Add timer value to config Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants