Blockland Forums > Modification Help
CityRPG job help
(1/3) > >>
hankyje:
I'm trying to make a Duck job and its Not using the player type I tell it to use here is the code.
--- Code: ---// ================================================================
// Project : Brickland City RPG
// Author : Iban + Bot
// Description : Duck Code file
// ================================================================

$CityRPG::jobs::name = "Duck";
$CityRPG::jobs::initialInvestment = 100;
$CityRPG::jobs::pay = 50;
$CityRPG::jobs::tools = "";
$CityRPG::jobs::datablock = Duck;
$CityRPG::jobs::education = 1;

$CityRPG::jobs::sellItems = false;
$CityRPG::jobs::sellFood = false;
$CityRPG::jobs::sellServices = true;

$CityRPG::jobs::law = true;
$CityRPG::jobs::canPardon = false;

$CityRPG::jobs::thief = true;
$CityRPG::jobs::hideJobName = true;

$CityRPG::jobs::offerer = false;
$CityRPG::jobs::claimer = false;

$CityRPG::jobs::labor = false;

$CityRPG::jobs::tmHexColor = "FFFFFF";
$CityRPG::jobs::helpline = "\c6Become a duck. Ducks can fly for a short amount of time, and are cute!";
--- End code ---
What is wrong with it? Please help me.
rkynick:
Have you made a duck playertype for it to use?
hankyje:
Yeah im using this:http://forum.blockland.us/index.php?topic=123770.0
otto-san:
The datablock isn't going to be Duck.

Look at the files for Player_Duck instead of assuming it's Duck.
Blaze0:
It's probably Player_Duck or DuckPlayer
Navigation
Message Index
Next page

Go to full version