Code:
//staff.cs
//audio
datablock AudioProfile(fireballFireSound)
{
filename = "./sound/Lazer.wav";
description = AudioClosest3d;
preload = true;
};
datablock projectileData(staffProjectile : wandProjectile)
{
projectileShapeName = "";
};
datablock itemData(staffItem : wandItem)
{
shapeFile = "./shapes/staff.dts";
uiName = "Staff";
iconName = "";
image = staffImage;
canDrop = true;
colorShiftColor = (100/255) SPC (50/255) SPC (0/255) SPC (255/255);
};
datablock shapeBaseImageData(staffImage : wandImage)
{
shapeFile = "./shapes/staff.dts";
projectile = staffProjectile;
stateEmitter[1] = playerjetgroundemitter;
stateEmitter[3] = playerjetgroundemitter;
colorShiftColor = staffItem.colorshiftColor;