Blockland Forums > Modification Help
PacCity Beta
<< < (10/13) > >>
otto-san:
I don't suppose you mind if I work on the scripts on a whim instead of when assigned to do something.  :cookieMonster:
PNetwork2011:
I don't
PNetwork2011:

--- Quote from: BlockStar on June 05, 2011, 12:13:40 PM ---What? It has a due date?

--- End quote ---
No wait actuallly your jobs have been updated so check out the typewith.me!
If you could not finish your job that is your assignment.
They do have due dates but Pacnet's nice enough to let you continue
otto-san:
Lalalalala... working on a dynamic job system.

Basically, it allows any sort of data to be stored about the job for script use.
It also auto-executes jobMain.cs in the job's folder, so you can have your own little scripts for the job.

Default ones that are pre-coded into the system:

name -Name of job
items -Items they start with besides defaults.
datablock -Datablock of the player. Horse job, anyone?
callonreceive -Any line to be called when someone receives the job.
itemspawnthing -can they spawn items?
adminlevel - admin level required to get the job
requiredmoney -prerequisite money
requirededucation -prerequisite education
business -if true, the job automatically owns a business.

An example:

--- Quote ---Name: Citizen
Items:
Datablock: PlayerNoJet
CallonReceive:
ItemSpawnThing: false
AdminLevel: 0
RequiredMoney: 0
RequiredEducation: 0
Business: false
Pedestrian: true
--- End quote ---
PNetwork2011:
ok
Navigation
Message Index
Next page
Previous page

Go to full version