Hello everybody,
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?
Garden works for prisoners.
Moderator: NBJeff
Re: Garden works for prisoners.
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().
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().
Re: Garden works for prisoners.
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().
I don't have "jobs.txt" under main.dat folder.
I want change job already exist. -Garden outdoor are job-
Re: Garden works for prisoners.
Oops, yeah.. no jobs in main. But you can create a jobs.txt in your mod data folder and do something like this:
Don't forget the spaces.
Code: Select all
BEGIN Job
Name Gardening
JobTime 30
Tool Trowel
Worker Prisoner
Qualification Gardening
END
Don't forget the spaces.
Re: Garden works for prisoners.
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.
I have already create job and room but prisoners don't going to work. So I want use vanilla gardening job for it. Otherwise I don't know how can make it.
Re: Garden works for prisoners.
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.
Re: Garden works for prisoners.
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.
Where can I learn about this stuff?
Who is online
Users browsing this forum: No registered users and 9 guests