I know you can set Unique ID to make something immovable but this might be a little better since you cant use the same Unique ID.
All this does is allow you to set 1 ActionID that is used to make object unable to be moved.
In game.cpp find
Add below
Change 65535 to the ID you want it to be set to.
*NOTE: 65535 = Max Action ID possible.
All this does is allow you to set 1 ActionID that is used to make object unable to be moved.
In game.cpp find
Code:
if (!item->isPushable() || item->hasAttribute(ITEM_ATTRIBUTE_UNIQUEID)) {
player->sendCancelMessage(RETURNVALUE_NOTMOVEABLE);
return;
}
Add below
Code:
if (item->getActionId() == 65535)
{
player->sendCancelMessage(RETURNVALUE_NOTPOSSIBLE);
return;
}
Change 65535 to the ID you want it to be set to.
*NOTE: 65535 = Max Action ID possible.