I'm trying to do gardener prisoners.
I want to use base game function to do it but I can't find name of gardening job.
Can someone help?
Moderator: NBJeff
Phraxas wrote:If you're trying to make a new job, you need to make the job in jobs.txt.
If you're overwriting an existing one, you need to look it up in your main.dat file under jobs.txt and copy that.
In your script, you refer to what to do when the job is complete as JobComplete_Gardening().
Code: Select all
BEGIN Job
Name Gardening
JobTime 30
Tool Trowel
Worker Prisoner
Qualification Gardening
END
Phraxas wrote:Oops, yeah.. no jobs in main. But you can create a jobs.txt in your mod data folder and do something like this:Code: Select all
BEGIN Job
Name Gardening
JobTime 30
Tool Trowel
Worker Prisoner
Qualification Gardening
END
Don't forget the spaces.
Phraxas wrote:You'll also need to have a script on whatever item it is that the job is going to be performed upon. The script should use the CreateJob("Gardening") function and then use JobComplete_Gardening() to signify what happens when it's completed.
Users browsing this forum: No registered users and 6 guests