Beispiel #1
0
        public void ApplyEffects(NWCreature user, NWItem item, NWObject target, Location targetLocation, CustomData customData)
        {
            bool isMovingStructure = _structure.IsPCMovingStructure((NWPlayer)user);

            if (isMovingStructure)
            {
                _structure.MoveStructure((NWPlayer)user, targetLocation);
            }
            else
            {
                user.SetLocalLocation("BUILD_TOOL_LOCATION_TARGET", targetLocation);
                _dialog.StartConversation(user, user, "BuildToolMenu");
            }
        }